.fast-composer{position:relative}
.scope-format-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);background:var(--builder-soft)}
.scope-format-tools label,.scope-context-menu label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}
.scope-format-tools select,.scope-context-menu select{padding:6px!important;min-width:60px}
.scope-format-tools .btn{font-size:11px;padding:6px 9px;min-height:30px}
.scope-format-tools input[type=range]{width:130px;padding:0}
.scope-context-menu{position:fixed;z-index:1000;width:310px;max-height:80vh;overflow:auto;display:flex;flex-wrap:wrap;gap:8px;padding:16px;background:var(--paper);border:1px solid var(--line);box-shadow:0 12px 40px #0003;border-radius:12px}
.scope-context-menu label{width:100%;justify-content:space-between}
#scope-context-menu[hidden],#scope-picture-tools[hidden],#scope-resize-handle[hidden],#estimate-attachments-tab[hidden]{display:none!important}
#fast-scope-body img{cursor:pointer}
#fast-scope-body img.scope-selected{outline:2px solid var(--green);outline-offset:3px}
#scope-resize-handle{position:absolute;z-index:4;width:16px;height:16px;padding:0;border:2px solid var(--paper);border-radius:3px;background:var(--green);cursor:nwse-resize;touch-action:none}
.estimate-line-quick-tools{display:flex;align-items:center;gap:14px;padding:0 16px 12px;clear:both}
.estimate-line-quick-tools label{font-size:12px;display:flex;align-items:center;gap:6px;color:var(--muted)}
.estimate-line-quick-tools .btn{font-size:11px;padding:5px 9px;min-height:28px;cursor:pointer}
.estimate-files-tab{padding:24px 32px;max-width:1200px;margin:auto}
.estimate-files-tab .estimate-card{padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.estimate-customer-address{grid-column:1/-1;background:var(--builder-soft);padding:12px 16px;border-radius:8px}
.estimate-customer-address:empty{display:none}
.estimate-customer-address strong{display:block;font-size:13px;font-weight:500;margin-top:5px}
.builder-workspace[data-builder-view=attachments] .builder-shortcuts{display:none}
@media(max-width:650px){.scope-format-tools{gap:6px;padding:10px}.scope-format-tools .btn{min-height:34px}.estimate-files-tab{padding:14px}.builder-workspace .estimate-tabs{gap:16px;flex-wrap:wrap}.builder-workspace .estimate-tabs>button{font-size:12px}.estimate-line-quick-tools{padding-left:12px}}

.scope-highlight-button{background:#fff2a8!important;color:#173a30!important}
.proposal-prose{white-space:normal;line-height:1.6}
#fast-scope-body h3,.proposal-prose h3{line-height:1.4}
.proposal-attachment-row{flex-wrap:wrap;gap:10px}
@media print{.proposal-prose [style*="background-color"]{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
