#erp-projects>.sales-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;position:sticky;top:var(--document-header-height,82px);z-index:4;background:var(--paper,#fff);padding:10px 0;border-bottom:1px solid var(--line,#e8ecef);box-shadow:0 5px 10px #193e7010}
@media(max-width:760px){#erp-projects>.sales-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}#erp-projects>.sales-tabs button{flex:0 0 auto;white-space:nowrap}}
@media print{#erp-projects>.sales-tabs{position:static;box-shadow:none}}
#erp-projects>.sales-tabs button{font-size:13px;padding:10px 14px}
#document-overview[hidden]{display:none!important}
.content:has(#document-overview:not([hidden])){max-width:none;width:100%;padding-inline:20px}
#erp-projects:has(#document-overview:not([hidden])){max-width:none;width:100%;min-width:0}
#document-overview .resizable-columns{table-layout:fixed;min-width:100%;width:100%}
#document-overview .resizable-columns th{position:relative;padding-right:15px}
#document-overview .resizable-columns td{overflow-wrap:anywhere;min-width:0!important;max-width:none!important}
#document-overview .column-resizer{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;user-select:none;border-right:2px solid #b8cce0}
#document-overview .column-resizer:hover,#document-overview .column-resizer:focus-visible{background:#b8d8f5;outline:2px solid #174e83;outline-offset:-2px}
#document-columns-reset{margin:0 0 12px;font-size:.8rem}
@media(max-width:760px){.content:has(#document-overview:not([hidden])){padding-inline:10px}#document-overview .resizable-columns{min-width:1100px}}
@media print{#document-overview .column-resizer,#document-columns-reset{display:none}}
#document-overview .sales-bar{flex-wrap:wrap;gap:12px}#document-overview .sales-bar h2{margin-right:auto}
#document-overview .sales-bar label:first-child{flex:1;min-width:240px}
#document-overview table{min-width:1000px}#document-overview td{vertical-align:top}
#document-overview tr[data-document]{cursor:pointer}#document-overview tr[data-document]:hover{background:#edf4fc}
#document-overview tr[data-document]:focus-visible{outline:3px solid #20568a;outline-offset:-3px}
#document-overview td button{border:0;background:transparent;color:#20568a;padding:0;text-align:left;font-weight:600}
[data-folder-row]{cursor:pointer}[data-folder-row]:hover{background:#edf4fc}[data-folder-row]:focus-visible{outline:3px solid #20568a;outline-offset:-3px}
[data-folder-row] button{background:transparent;border:0;color:#20568a;text-align:left;padding:0;font-weight:600}
tr[data-action="project-open"]{cursor:pointer}tr[data-action="project-open"]:hover{background:#edf4fb}tr[data-action="project-open"]:focus-visible{outline:2px solid #1b5286;outline-offset:-2px}tr[data-action="project-open"] button{border:0;background:transparent;color:#1b5286;text-align:left;font-weight:600}
.folder-drop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:12px 0 24px}.folder-drop{border:2px dashed #aac2da;background:#f5f9fd;border-radius:12px;padding:22px}.folder-drop h3{margin:0 0 10px;color:#1b5286}.folder-drop p{margin:6px 0}.folder-drop small{display:block;color:#61758a}.folder-drop.drag-over{background:#dcecff;border-color:#1b5286}.folder-file-button{display:inline-flex!important;background:#1b5286;color:white!important;padding:9px 14px;border-radius:6px;margin-top:16px;position:relative;cursor:pointer;overflow:hidden}.folder-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.folder-file-button:focus-within{outline:3px solid #6c9cd0;outline-offset:3px}.folder-list-title{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #dce5ee;padding-top:18px}.folder-help{margin-top:18px;color:#64758b;font-size:13px}.folder-overview .sales-bar label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.folder-overview input[type=checkbox],.dms-confirm input{width:auto!important}.folder-overview table button{text-align:left}.folder-overview [data-folder-upload]:empty{display:none}@media(max-width:760px){.folder-drop-grid{grid-template-columns:1fr}.folder-list-title{align-items:flex-start;flex-direction:column}}
.intake-customer-results{display:grid;gap:6px;max-height:240px;overflow:auto}.intake-customer-results button{text-align:left;width:100%;border:1px solid #c7d7e8;border-radius:6px;padding:10px;background:#f5f9fd;color:#1b5286}.intake-customer-results button:hover,.intake-customer-results button:focus-visible{background:#dfedfc;outline:2px solid #1b5286}.intake-dialog{max-height:90vh;overflow:auto}.intake-dialog textarea{min-height:80px;width:100%}
/* Compact project LV/plan drop targets; retain full width and file controls. */
.folder-drop-grid{margin-bottom:16px}
.folder-drop-grid .folder-drop{padding:12px 16px}
.folder-drop-grid .folder-drop h3{margin-bottom:4px}
.folder-drop-grid .folder-drop p{margin:3px 0}
.folder-drop-grid .folder-file-button{margin-top:8px}
