/* Only the requested document, quote, report and equipment surfaces. */
#identidadeView .identity-custom-brand{border:1px solid #424c58;border-radius:13px;padding:12px;display:grid;gap:12px;background:#171e27}
#identidadeView .identity-custom-brand h4{margin:0;font-size:14px;color:#fff}
#identidadeView #proposalWhiteLabelRow{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:0!important;padding:0!important;cursor:pointer}
#identidadeView #proposalWhiteLabel{appearance:auto!important;position:static!important;opacity:1!important;pointer-events:auto!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-height:20px!important;margin:1px 0 0!important;accent-color:#ffd400}
#identidadeView #proposalWhiteLabelRow span{min-width:0}
#identidadeView #proposalWhiteLabelRow strong,#identidadeView #proposalWhiteLabelRow small{display:block}
#identidadeView #customLogoControl{display:grid;gap:7px;min-width:0}
#identidadeView #quoteLogoFile{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important}
#identidadeView #quoteBrandingPanel .official-logo-preset-grid button{position:relative}
#identidadeView #quoteBrandingPanel .official-logo-preset-grid .logo-selection-check{display:none!important;position:absolute;right:5px;top:4px;width:17px;height:17px;border-radius:4px;background:#ffd400;color:#111!important;font:900 12px/17px sans-serif;text-align:center}
#identidadeView #quoteBrandingPanel .official-logo-preset-grid button[aria-pressed="true"] .logo-selection-check{display:block!important}
#identidadeView #identityRealPdfBtn{width:100%;margin:0 0 12px;min-height:42px;white-space:normal}
#identityPdfExampleDialog{width:min(980px,96vw)!important;max-width:96vw!important;height:min(94dvh,1000px)!important;max-height:94dvh!important;box-sizing:border-box!important;padding:0!important;border:1px solid #414b57!important;border-radius:15px!important;background:#141b24!important;color:#f5f5f5!important;overflow:hidden!important}
#identityPdfExampleDialog:not([open]){display:none!important}
#identityPdfExampleDialog::backdrop{background:#000b}
#identityPdfExampleDialog .sample-pdf-shell{display:flex;flex-direction:column;height:100%;min-height:0}
#identityPdfExampleDialog header{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #39424d;flex-wrap:wrap}
#identityPdfExampleDialog header h3{font-size:15px;margin:0;color:white}
#identityPdfExampleDialog header small{display:block;font-size:11px;color:#adb8c7}
#identityPdfExampleDialog .sample-pdf-actions{display:flex;gap:6px;align-items:center}
#identityPdfExampleDialog button{min-height:36px;min-width:36px;border:1px solid #4b5663;border-radius:8px;background:#222c38;color:#fff;padding:6px 10px;font-size:13px}
#identityPdfExampleDialog [data-sample-pdf-stage]{flex:1;min-height:0;overflow:auto;display:block;padding:14px;background:#323a44;overscroll-behavior:contain}
#identityPdfExampleDialog canvas{display:block;margin:0 auto;background:#fff;max-width:none!important}
#identityPdfExampleDialog [data-sample-pdf-status]{margin:0;padding:8px 14px;font-size:12px;color:#c6d0dc;min-height:18px}
/* The report form controls must fit inside their own cards, including Safari dates. */
#relatorioView *,#reportProfessionalArea *{box-sizing:border-box}
#relatorioView .pro-grid,#relatorioView .report-goals-surface .pro-grid{min-width:0;gap:12px!important;align-items:start}
#relatorioView .pro-grid>label,#relatorioView .report-goals-surface label{min-width:0!important;max-width:100%!important;overflow:hidden;display:grid;gap:8px}
#relatorioView .pro-grid input,#relatorioView .pro-grid select,#relatorioView .pro-grid textarea{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
#relatorioView .report-goals-surface input[name="investDate"]{width:100%!important;max-width:100%!important;min-width:0!important;appearance:none;-webkit-appearance:none;height:44px;line-height:22px;font-size:16px!important}
#relatorioView .report-goals-surface label:has(>input[name="investDate"]){width:100%!important;max-width:none!important;justify-self:stretch!important}
#relatorioView input[type="date"]::-webkit-date-and-time-value{min-width:0;text-align:left}
#relatorioView .report-kpis,#relatorioView .report-grid,#relatorioView .pro-card{min-width:0}
#relatorioView .report-kpi strong{overflow-wrap:anywhere}
/* Compact presets retain their composition disclosure and the existing action. */
#equipamentosView .equipment-presets-panel{padding:14px!important;margin:14px 0!important}
#equipamentosView .equipment-presets-panel .panel-head{margin-bottom:10px!important}
#equipamentosView .equipment-presets-panel .panel-head p{font-size:12px!important;line-height:1.45!important}
#equipamentosView .equipment-presets-grid{gap:10px!important}
#equipamentosView .equipment-preset-card{padding:12px!important;gap:6px!important;border-radius:13px!important}
#equipamentosView .equipment-preset-tier{font-size:10px!important}
#equipamentosView .equipment-preset-card h4{font-size:14px!important;line-height:1.3!important;margin:0!important}
#equipamentosView .equipment-preset-card p{font-size:12px!important;line-height:1.4!important}
#equipamentosView .equipment-preset-card small{font-size:11px!important}
#equipamentosView .equipment-preset-card details{margin:0!important;font-size:12px!important}
#equipamentosView .equipment-preset-card summary{padding:5px 0!important}
#equipamentosView .equipment-preset-card button{min-height:36px!important;height:auto!important;padding:8px 10px!important;font-size:13px!important}
#orcamentoView{--quote-panel:#151c25;--quote-input:#0d131b}
#orcamentoView *,#quoteItemDialog *{box-sizing:border-box}
#orcamentoView .quote-page-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}
#orcamentoView .quote-page-head h3{font-size:24px!important;margin:3px 0!important}
#orcamentoView .quote-page-head p{font-size:12px!important;line-height:1.5!important;margin:0!important}
#orcamentoView .quote-editor-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 290px!important;gap:14px!important;align-items:start!important}
#orcamentoView .quote-editor-card,#orcamentoView .quote-summary,#orcamentoView .saved-quotes{padding:16px!important;border:1px solid #384350!important;border-radius:16px!important;background:var(--quote-panel)!important;min-width:0!important}
#orcamentoView .quote-step-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding-bottom:14px;border-bottom:1px solid #333f4c}
#orcamentoView .quote-step-nav button{min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:1px solid #3d4957;border-radius:10px;background:#101721;color:#c1ccd9;padding:8px;text-align:left;cursor:pointer}
#orcamentoView .quote-step-nav button span{font-size:10px;font-weight:900;color:#ffd400}
#orcamentoView .quote-step-nav button strong{font-size:11px;line-height:1.2;color:inherit}
#orcamentoView .quote-step-nav button.active{background:#ffd400!important;border-color:#ffd400!important;color:#101114!important}
#orcamentoView .quote-step-nav button.active span{color:inherit}
#orcamentoView .quote-wizard-step{padding:16px 0 5px;min-width:0}
#orcamentoView [hidden],#orcamentoView .quote-wizard-step[hidden],#quoteItemDialog input[type="hidden"]{display:none!important}
#orcamentoView .quote-wizard-step>header{margin-bottom:14px}
#orcamentoView .quote-wizard-step>header p{font-size:10px;font-weight:800;letter-spacing:.1em;color:#ffd400;margin:0 0 4px}
#orcamentoView .quote-wizard-step h4{font-size:18px;color:#fff;margin:0 0 5px}
#orcamentoView .quote-wizard-step>header small{font-size:12px;color:#aebdcd}
#orcamentoView .quote-editor-grid,#orcamentoView .quote-primary .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0!important;min-width:0!important}
#orcamentoView .quote-wizard-step label{margin:0!important;padding:0!important;background:none!important;border:0!important;min-width:0!important;display:grid!important;gap:6px!important;font-size:12px!important;color:#c1ccda!important;line-height:1.4}
#orcamentoView .quote-primary,#orcamentoView .quote-client-card{background:none!important;border:0!important;padding:0!important;margin:0!important}
#orcamentoView .quote-primary>.eyebrow{display:none}
#orcamentoView input:not([type="hidden"]):not([type="checkbox"]),#orcamentoView select,#orcamentoView textarea,
#quoteItemDialog input:not([type="hidden"]):not([type="checkbox"]){min-width:0!important;max-width:100%!important;width:100%!important;height:44px!important;min-height:44px!important;border:1px solid #465263!important;background:var(--quote-input,#0d131b)!important;color:#fff!important;border-radius:9px!important;padding:9px 10px!important;font-size:16px!important;box-shadow:none!important}
#orcamentoView textarea{height:84px!important;min-height:84px!important;resize:vertical}
#orcamentoView input[type="checkbox"]{width:18px!important;min-width:18px!important;height:18px!important;accent-color:#ffd400}
#orcamentoView .quote-money-control,#quoteItemDialog .quote-money-control{position:relative!important;display:block!important;border:0!important;background:none!important;min-width:0!important;width:100%!important;padding:0!important}
#orcamentoView .quote-money-prefix,#quoteItemDialog .quote-money-prefix{position:absolute!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;font-size:12px!important;font-weight:800!important;color:#94a4b9!important;pointer-events:none!important;z-index:1}
#orcamentoView .quote-money-control input.quote-currency-input,#quoteItemDialog .quote-money-control input.quote-currency-input{padding-left:34px!important}
#orcamentoView .quote-project-autofill{padding:12px!important;margin:0 0 14px!important;background:#202b38!important;border:1px solid #3d4e62!important;border-radius:11px!important;display:grid!important;gap:8px!important}
#orcamentoView .quote-project-autofill strong{font-size:13px!important}
#orcamentoView .quote-project-autofill .project-autofill-label{font-size:9px!important}
#orcamentoView .project-autofill-controls{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;min-width:0}
#orcamentoView .quote-day-fields{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:215px;overflow:auto;padding:8px 0!important}
#orcamentoView .quote-day-fields label{padding:9px!important;border:1px solid #344052!important;border-radius:10px}
#orcamentoView .quote-day-fields input{height:38px!important;min-height:38px!important;font-size:14px!important}
#orcamentoView .quote-extras-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px!important}
#orcamentoView .quote-extras-head h3{font-size:15px!important;margin:0}
#orcamentoView .quote-extras-head .eyebrow{display:none}
#orcamentoView .quote-items{margin-bottom:14px}
#orcamentoView .quote-item{padding:10px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto 30px!important;gap:8px!important;font-size:12px!important}
#orcamentoView .quote-item strong{font-size:12px!important;overflow-wrap:anywhere}
#orcamentoView .quote-item small{display:block;font-size:11px!important}
#orcamentoView .quote-item .icon-btn{padding:0!important;min-width:28px!important;min-height:28px!important;width:28px!important;height:28px!important}
#orcamentoView .quote-adjustment-grid{margin-bottom:14px!important}
#orcamentoView .quote-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 14px}
#orcamentoView .quote-review-grid>div{padding:10px;border:1px solid #3b4757;border-radius:10px;min-width:0;background:#101721}
#orcamentoView .quote-review-grid dt{font-size:10px;color:#a3b4c8}
#orcamentoView .quote-review-grid dd{font-size:13px;color:#fff;margin:4px 0 0;overflow-wrap:anywhere}
#orcamentoView .quote-attachment-option{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:8px!important;margin:12px 0!important}
#orcamentoView .quote-review-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
#orcamentoView .quote-review-actions #saveQuoteBtn{grid-column:1/-1}
#orcamentoView .quote-approval-status{font-size:11px;margin-top:10px;overflow-wrap:anywhere}
#orcamentoView .quote-wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;margin-top:10px;border-top:1px solid #384553}
#orcamentoView .quote-wizard-footer>div{display:grid;gap:2px;text-align:center}
#orcamentoView .quote-wizard-footer span{font-size:10px;color:#aebdcd}
#orcamentoView .quote-wizard-footer strong{font-size:15px;color:#ffd400}
#orcamentoView .btn,#quoteItemDialog .btn{min-height:40px!important;height:auto!important;padding:9px 12px!important;border-radius:10px!important;font-size:13px!important;white-space:normal!important}
#orcamentoView .quote-summary{position:sticky!important;top:14px!important}
#orcamentoView .quote-summary-head{display:flex!important;justify-content:space-between;align-items:center;margin-bottom:12px!important}
#orcamentoView .quote-summary h3{font-size:16px!important;margin:3px 0!important}
#orcamentoView .quote-summary .eyebrow{font-size:10px!important}
#orcamentoView .quote-summary-mark{font-size:12px!important;padding:8px!important}
#orcamentoView .quote-summary-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
#orcamentoView .quote-summary-card{padding:10px!important;min-width:0!important;border-radius:10px!important;gap:5px!important}
#orcamentoView .quote-summary-card span,#orcamentoView .quote-note-result span{font-size:10px!important}
#orcamentoView .quote-summary-card strong,#orcamentoView .quote-note-result strong{font-size:14px!important}
#orcamentoView .quote-note-result{margin:8px 0!important;padding:10px!important;display:block!important}
#orcamentoView .summary-total{margin:10px 0 0!important;padding:12px!important;display:flex!important;justify-content:space-between;align-items:center}
#orcamentoView .summary-total span{font-size:11px!important}
#orcamentoView .summary-total strong{font-size:20px!important;overflow-wrap:anywhere}
#orcamentoView .saved-quotes{margin-top:16px!important}
#orcamentoView .saved-quotes .panel-head h3{font-size:17px!important}
#orcamentoView .quote-history-search{display:grid;gap:6px;font-size:11px;color:#aebdcd;margin-bottom:10px}
#orcamentoView .quote-history-row{min-height:0!important;height:auto!important;padding:12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px!important;align-items:start!important}
#orcamentoView .quote-history-row[hidden]{display:none!important}
#orcamentoView .quote-history-main strong{font-size:13px!important}
#orcamentoView .quote-history-main small{font-size:11px!important}
#orcamentoView .quote-history-total{font-size:14px!important}
#orcamentoView .quote-history-actions{grid-column:1/-1;justify-content:flex-start!important;width:auto!important;margin:0!important}
#quoteItemDialog{width:min(480px,94vw)!important;padding:0!important}
#quoteItemDialog .dialog-card{padding:18px!important;min-width:0!important;display:grid;gap:12px}
#quoteItemDialog label{display:grid;gap:6px;font-size:12px}
@media(max-width:800px){
 #orcamentoView .quote-editor-layout{grid-template-columns:minmax(0,1fr)!important}
 #orcamentoView .quote-summary{position:static!important}
 #orcamentoView .quote-editor-card,#orcamentoView .quote-summary,#orcamentoView .saved-quotes{padding:12px!important}
 #orcamentoView .quote-summary-grid{grid-template-columns:1fr 1fr!important}
 #orcamentoView .quote-summary-head{display:none!important}
 #orcamentoView .quote-note-result{margin:8px 0 0!important}
 #orcamentoView .project-autofill-controls{grid-template-columns:minmax(0,1fr)!important}
 #orcamentoView .quote-step-nav{gap:5px}
 #orcamentoView .quote-step-nav button{padding:7px 5px}
 #orcamentoView .quote-step-nav strong{font-size:10px}
 #orcamentoView .quote-editor-grid,#orcamentoView .quote-primary .form-grid{gap:10px!important}
 #relatorioView .pro-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:360px){#orcamentoView .quote-step-nav strong{font-size:9px}#orcamentoView .quote-wizard-footer .btn{padding:9px!important}}

#orcamentoView .quote-summary .summary-total{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
#orcamentoView .quote-summary .summary-total strong{font-size:24px!important;line-height:1.15!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
#orcamentoView .saved-quotes{display:block!important;min-height:0!important;height:auto!important}
#orcamentoView #savedQuotesList{display:grid!important;flex:none!important;min-height:0!important;height:auto!important;max-height:500px!important;grid-auto-rows:auto!important;align-content:start!important;gap:9px!important}
#orcamentoView #savedQuotesList .quote-history-row{min-height:0!important;height:auto!important;align-content:start!important;grid-template-rows:auto auto!important}
#orcamentoView .quote-history-main{min-width:0!important}
#orcamentoView .quote-history-main small{white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important}

#orcamentoView #quotePackageLabel:not([hidden]){grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:8px!important}
