/* Bid Board Estimator Workspaces. All layout scoped to estimator surfaces. */
.v30-active-board .v30-table{border-collapse:separate;border-spacing:0 8px}
.v30-active-board .v30-table tbody tr{background:#fff;box-shadow:0 1px 7px #173c520f}
.v30-active-board .v30-table tbody tr td{padding:17px 12px;vertical-align:middle;border-top:1px solid #dae6ef;border-bottom:1px solid #dae6ef}
.v30-active-board .v30-table tbody tr td:first-child{border-left:1px solid #dae6ef;border-radius:12px 0 0 12px;padding-left:16px}
.v30-active-board .v30-table tbody tr td:last-child{border-right:1px solid #dae6ef;border-radius:0 12px 12px 0;padding-right:14px}
.v30-active-board .v30-table tbody tr:hover{box-shadow:0 3px 11px #163c5521}
.v30-active-board .v30-estimator-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;max-width:435px}
.v30-active-board .v30-estimator-actions .btn{font-size:11px;padding:8px 10px;min-height:33px;margin:0;white-space:normal;text-align:center}
.v30-active-board .v30-estimator-actions .eb-proposal{background:#fff;color:#15516d;border:1px solid #b9d1df}
.v30-active-board .v30-estimator-actions .eb-edit{background:#e6f5f1;color:#087a75;border:1px solid #a9d8d0}
.v30-active-board .v30-estimator-actions .eb-change-status{background:#fff;color:#45657b;border:1px solid #c7dbe6}
.v30-active-board .v30-estimator-actions .eb-mark-submitted{background:#087f79;color:#fff;border-color:#087f79}
.v30-active-board .v30-table th:last-child{min-width:250px}
.v30-active-board .v30-table th:first-child{min-width:165px}
.v30-active-board .eb-inbox-actions{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-width:115px}
.v30-active-board .eb-inbox-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:34px;padding:5px 9px;border:1px solid #b9d7dc;background:#f0f8f9;color:#155b67;border-radius:8px;cursor:pointer;font-size:11px;font-weight:800;white-space:nowrap}
.v30-active-board .eb-inbox-trigger:hover{background:#e0f2f4;border-color:#5da2b2}
.v30-active-board .eb-inbox-rfi{border-color:#c3d2e7;background:#f1f5fb;color:#24517b}
.v30-active-board .eb-inbox-rfi:hover{background:#e4eefb}
.eb-inbox-count{background:#bd303a;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900;min-width:19px;height:19px;padding:0 4px;line-height:1;border-radius:10px;box-shadow:0 1px 4px #9b26372b}
.v30-active-board .v30-file-num{font-size:12px}
.v30-active-board .v30-project-link strong{font-size:13px;line-height:1.45}
.v30-active-board .v30-project-link{min-height:58px}
.v30-active-board .v30-round-timing{white-space:nowrap}

.eb-inbox-dialog{padding:0;overflow:hidden;width:min(920px,95vw);max-width:95vw;max-height:92dvh;min-height:220px;background:#fff;border:1px solid #b4cddb;border-radius:16px;box-shadow:0 24px 85px #092c466b;color:#14364d}
.eb-inbox-dialog::backdrop,.ecw-modal::backdrop{background:#081d33a8;backdrop-filter:blur(2px)}
.eb-inbox-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 23px;background:linear-gradient(120deg,#193b56,#225c70);color:#fff}
.eb-inbox-head span{font-size:10px;font-weight:850;letter-spacing:1px;color:#aed8e2}
.eb-inbox-head h2{margin:4px 0;color:#fff;font-size:23px}
.eb-inbox-head p{margin:0;color:#d2e5eb;font-size:12px}
.eb-inbox-close,.ecw-close{width:32px;height:32px;flex:none;display:grid;place-items:center;font-size:23px;color:#fff;background:#ffffff1d;border:1px solid #ffffff4f;border-radius:8px;cursor:pointer}
.eb-inbox-content{overflow-y:auto;padding:20px 23px;max-height:calc(92dvh - 116px)}
.eb-inbox-intro{font-size:12px;color:#5d7b8d;margin-bottom:12px}
.eb-inbox-list{display:grid;gap:10px}
.eb-inbox-entry{border:1px solid #d5e2e9;border-radius:10px;background:#fff;padding:15px}
.eb-inbox-entry.is-unread{border-left:4px solid #e49a34;background:#fffcf6}
.eb-inbox-item-head{display:flex;justify-content:space-between;gap:16px;align-items:center}
.eb-inbox-item-head>div:first-child{min-width:0}
.eb-inbox-kind{font-size:10px;letter-spacing:.55px;font-weight:800;text-transform:uppercase;color:#2b758b}
.eb-inbox-new{display:inline-block;margin-left:7px;padding:3px 7px;border-radius:5px;background:#fee7dc;color:#b14c21;font-size:10px;font-weight:800}
.eb-inbox-item-head h3{font-size:15px;margin:5px 0 5px;line-height:1.4;color:#183b55;overflow-wrap:anywhere}
.eb-inbox-item-head p{margin:3px 0;font-size:12px;color:#48697d}
.eb-inbox-item-head small{display:block;font-size:11px;color:#738da0;margin-top:5px}
.eb-inbox-item-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;flex:none}
.eb-inbox-item-actions .btn{font-size:11px}
.eb-inbox-empty{padding:35px 15px;color:#68839a;text-align:center;background:#f5f9fb;border:1px dashed #c9dfe8;border-radius:10px}
@media(max-width:650px){.eb-inbox-head{padding:15px}.eb-inbox-content{padding:12px}.eb-inbox-item-head{align-items:stretch;flex-direction:column}.eb-inbox-item-actions{justify-content:flex-start}}

.ecw-modal{padding:0;width:min(1250px,96vw);height:min(820px,91dvh);max-height:94dvh;max-width:97vw;resize:both;overflow:hidden;background:#fff;color:#18364e;border:1px solid #b9d3e1;border-radius:14px;box-shadow:0 28px 80px #061e37a1}
.ecw-modal-head{height:43px;background:#1d4d63;padding:6px 14px;display:flex;align-items:center;justify-content:space-between;color:#c2e5e9;font-size:11px;font-weight:850;letter-spacing:.8px}
.ecw-modal-body{height:calc(100% - 43px);overflow:hidden}
.ecw-workspace{display:flex;flex-direction:column;height:100%;background:#fff;min-height:0;font-size:13px}
.ecw-workspace *{box-sizing:border-box}
.ecw-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:12px 18px;border-bottom:1px solid #d8e6ed;background:#f7fafc;flex:none}
.ecw-project-info{display:flex;gap:4px;flex-direction:column;min-width:0}
.ecw-project-info>span{font-size:10px;font-weight:900;letter-spacing:.4px;color:#18817d}
.ecw-project-info>strong{font-size:18px;color:#193a54;line-height:1.2}
.ecw-project-info>small{font-size:11px;color:#678394}
.ecw-toolbar-actions{display:flex;align-items:center;gap:8px}
.ecw-toolbar-actions button{white-space:normal}
.ecw-detached{font-size:11px;color:#57758c}
.ecw-frame{flex:1;display:grid;grid-template-columns:164px minmax(0,1fr);overflow:hidden;min-height:0}
.ecw-trades{display:flex;flex-direction:column;gap:7px;padding:14px 10px;background:#f0f5f8;border-right:1px solid #d4e3ec}
.ecw-craft{border:1px solid #d7e5ef;background:#fff;padding:13px 9px;border-radius:9px;text-align:left;cursor:pointer;color:#274b68}
.ecw-craft strong,.ecw-craft small{display:block}
.ecw-craft strong{font-size:12px}
.ecw-craft small{font-size:10px;margin-top:3px;color:#6a8293}
.ecw-craft.selected{border-color:#448da1;box-shadow:0 0 0 1px #448da1;background:#e3f2f4}
.ecw-craft.ecw-mechanical.selected{background:#fff1e6;border-color:#c48147;box-shadow:0 0 0 1px #c48147}
.ecw-craft.ecw-plumbing.selected{background:#e7f1ff;border-color:#6095cc;box-shadow:0 0 0 1px #6095cc}
.ecw-craft.ecw-electrical.selected{background:#fff9d6;border-color:#b5a543;box-shadow:0 0 0 1px #b5a543}
.ecw-main{display:flex;flex-direction:column;min-width:0;overflow:hidden;min-height:0}
.ecw-tabs{display:flex;gap:3px;flex-wrap:wrap;padding:10px 14px 8px;background:#fbfcfe;border-bottom:1px solid #dae7ef;flex:none}
.ecw-tabs button{padding:7px 9px;font-size:11px;font-weight:750;color:#49677d;border:1px solid transparent;border-radius:7px;cursor:pointer;background:transparent}
.ecw-tabs button:hover{background:#ecf4f7}
.ecw-tabs button.selected{background:#157f82;color:#fff;border-color:#157f82}
.ecw-filter{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e1e9ef}
.ecw-filter>div{display:flex;flex-direction:column;gap:4px}
.ecw-filter strong{font-size:15px}
.ecw-filter small{font-size:11px;color:#698397}
.ecw-filter input{min-width:165px;width:min(280px,35%);border:1px solid #ccdde8;border-radius:8px;padding:9px 11px;background:#fff;font-size:12px}
.ecw-results{overflow-y:auto;padding:14px 17px 26px;flex:1;min-height:0}
.ecw-results h3{margin:18px 0 10px;font-size:13px;color:#1f5872}
.ecw-results h3:first-child{margin-top:0}
.ecw-section-count{color:#7890a0;font-size:11px;margin:0 0 9px}
.ecw-mfr-family{border:1px solid #d8e5ee;border-radius:9px;background:#fff;overflow:hidden;margin:9px 0}
.ecw-mfr-family>summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px 13px;background:#f2f8fa}
.ecw-mfr-family>summary>span:first-child{display:flex;flex-direction:column;gap:4px}
.ecw-mfr-family>summary strong{color:#1e475f;font-size:12px}
.ecw-mfr-family>summary small{font-size:10px;color:#5e7f94;font-weight:500}
.ecw-mfr-family>summary>span:last-child{font-size:10px;font-weight:800;color:#538197;white-space:nowrap}
.ecw-table-wrap{overflow:auto}
.ecw-mfr-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:11px}
.ecw-mfr-table th{background:#e8f1f5;text-align:left;color:#3a6077;font-size:10px;padding:8px 10px;border-bottom:1px solid #d4e3ea}
.ecw-mfr-table td{padding:9px 10px;vertical-align:top;border-bottom:1px solid #eaf0f5;overflow-wrap:anywhere;line-height:1.55}
.ecw-mfr-table th:nth-child(1){width:18%}
.ecw-mfr-table th:nth-child(2){width:19%}
.ecw-mfr-table th:nth-child(3){width:24%}
.ecw-mfr-table th:nth-child(4){width:39%}
.ecw-mfr-table td p{margin:0 0 4px;color:#385b71}
.ecw-source{display:block;color:#6b8393;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.ecw-designation{display:inline-block;border-radius:5px;background:#ecf2f5;color:#44627b;padding:3px 6px;font-weight:750}
.ecw-designation-basis_of_design,.ecw-designation-approved_equal_possible{background:#d6f0e9;color:#096b5c}
.ecw-designation-listed_acceptable{background:#e5effe;color:#1e5892}
.ecw-designation-requires_verification{background:#fff0dc;color:#97571e}
.ecw-requirement{border:1px solid #d9e6ee;border-radius:9px;background:#fff;padding:12px 14px;margin:9px 0}
.ecw-requirement header{display:flex;justify-content:space-between;align-items:center;gap:10px}
.ecw-requirement strong{color:#18475e;font-size:12px}
.ecw-requirement header span{color:#678499;font-size:10px}
.ecw-requirement p{font-size:12px;line-height:1.65;white-space:pre-wrap;color:#35566c;margin:8px 0}
.ecw-instructions{padding:14px 17px;border:1px solid #d4e6ed;border-left:4px solid #198a88;border-radius:10px;background:#f5fafb}
.ecw-instructions h3{margin:0 0 10px}
.ecw-instructions p{font-size:12px;line-height:1.6;white-space:pre-wrap;color:#395d70}
.ecw-instructions dl{display:grid;grid-template-columns:135px 1fr;gap:7px 12px;font-size:12px}
.ecw-instructions dt{font-weight:800;color:#52758a}
.ecw-instructions dd{margin:0}
.ecw-muted{color:#647f92;font-size:12px;padding:24px 6px}
.ecw-error{color:#a52f39;font-weight:750;padding:20px}
.ecw-standalone-page{background:#eaf1f6;margin:0}
.ecw-standalone-head{display:flex;align-items:center;gap:16px;min-height:49px;padding:10px 20px;background:#1b4660;color:#fff;font-size:13px}
.ecw-standalone-head .ecw-brand{font-size:10px;letter-spacing:1px;font-weight:850;color:#9cdbdf}
.ecw-standalone-head strong{flex:1}
.ecw-standalone-head a{color:#d7ffff;text-decoration:none;font-weight:700;font-size:12px}
.ecw-standalone-page #estimator-reference-root{height:calc(100dvh - 49px)}
.ecw-standalone-error{margin:50px auto;max-width:500px;padding:22px;border:1px solid #d5e5ef;background:white;border-radius:11px}
@media(max-width:800px){.ecw-frame{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.ecw-trades{flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid #d4e3ec;padding:8px}.ecw-craft{flex:1;min-width:120px;padding:9px 10px}.ecw-toolbar{flex-wrap:wrap;padding:10px}.ecw-tabs{padding:8px}.ecw-filter{flex-wrap:wrap}.ecw-filter input{width:100%}.ecw-mfr-table{min-width:700px}.ecw-modal{width:97vw}}

/* Estimator project overview: concise information rather than enormous manufacturer lists. */
.eb-project-overlay{z-index:500}
.eb-project-overlay .eb-estimator-drawer{width:min(980px,95vw);max-width:95vw;height:100dvh;min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;flex-shrink:0;box-shadow:-18px 0 60px #06243c4b;background:#fff;color:#213c53}
.eb-project-overlay .eb-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex:none;background:linear-gradient(120deg,#1b405b,#216075);padding:20px 24px 17px;color:#fff}
.eb-project-overlay .eb-drawer-header>div{min-width:0}
.eb-project-overlay .eb-drawer-header span{display:block;font-size:10px;letter-spacing:1px;font-weight:850;color:#b5dce3;margin-bottom:7px}
.eb-project-overlay .eb-drawer-number{display:block;font-size:13px;letter-spacing:.5px;font-weight:850;color:#fff;margin-bottom:5px}
.eb-project-overlay .eb-drawer-header h2{font-size:23px;font-weight:850;line-height:1.25;margin:0;color:#fff;overflow-wrap:anywhere}
.eb-project-overlay .eb-drawer-close{flex:none;width:35px;height:35px;border:1px solid #a4c9d474;border-radius:8px;background:#ffffff18;color:#fff;cursor:pointer;font-size:24px}
.eb-project-overlay .eb-drawer-content{padding:20px 23px 35px;overflow-y:auto;flex:1;overscroll-behavior:contain}
.eb-project-overlay .eb-drawer-section{padding:14px 0;border-bottom:1px solid #d8e4ec}
.eb-project-overlay .eb-drawer-section:first-child{padding-top:0}
.eb-project-overlay .eb-project-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.eb-project-overlay .eb-detail-field{display:flex;flex-direction:column;gap:6px;background:#f4f8fa;border:1px solid #d8e5eb;border-radius:9px;padding:11px 12px;min-height:62px;overflow-wrap:anywhere}
.eb-project-overlay .eb-detail-field small{color:#697f93;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.25px}
.eb-project-overlay .eb-detail-field strong{color:#1e465f;font-weight:780;font-size:12px;line-height:1.4}
.eb-project-overlay .eb-drawer-shortcuts{padding:11px 0;display:flex;flex-wrap:wrap;gap:7px;border-bottom:1px solid #d8e4ec}
.eb-project-overlay .eb-drawer-shortcuts .btn{font-size:11px;padding:7px 11px}
.eb-project-overlay .eb-section-heading{display:flex;gap:6px;flex-direction:column;margin-bottom:10px}
.eb-project-overlay .eb-section-heading h3{margin:0;font-size:15px;color:#1d4059}
.eb-project-overlay .eb-section-heading small{font-size:11px;color:#6c8698}
.eb-project-overlay .eb-overview-text{margin:0;font-size:12px;line-height:1.7;color:#39596d;white-space:pre-wrap}
.eb-project-overlay .eb-drawer-crafts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.eb-project-overlay .eb-craft-tile{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;cursor:pointer;border:1px solid #d4e2e9;border-radius:10px;background:#fbfcfd;padding:12px 13px;min-height:92px;color:#183d56}
.eb-project-overlay .eb-craft-tile strong{font-size:13px}
.eb-project-overlay .eb-craft-tile small{font-size:10px;line-height:1.4;color:#617f91}
.eb-project-overlay .eb-craft-tile span{font-size:10px;color:#187c85;font-weight:850;margin-top:auto}
.eb-project-overlay .eb-mechanical{border-left:4px solid #dd8543;background:#fff8f2}
.eb-project-overlay .eb-plumbing{border-left:4px solid #4188ca;background:#f5faff}
.eb-project-overlay .eb-electrical{border-left:4px solid #c7a933;background:#fffdf1}
.eb-project-overlay .eb-craft-tile:hover{border-color:#418ca6;box-shadow:0 3px 11px #15394d21}
.eb-project-overlay .eb-gc-list,.eb-project-overlay .eb-vendor-list{border:1px solid #d9e5ec;border-radius:9px;overflow:hidden;background:#fff}
.eb-project-overlay .eb-status-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 12px;font-size:12px}
.eb-project-overlay .eb-status-row+.eb-status-row{border-top:1px solid #e4ecf1}
.eb-project-overlay .eb-status-row strong{font-size:12px;line-height:1.4;font-weight:750;overflow-wrap:anywhere}
.eb-project-overlay .eb-status-tag{display:inline-block;padding:5px 9px;border-radius:6px;background:#e9f1f7;color:#3d617b;font-size:10px;font-weight:850;white-space:nowrap}
.eb-project-overlay .eb-status-tag.is-received{color:#08764a;background:#ddf4e7}
.eb-project-overlay .eb-status-tag.is-expected{color:#a36b13;background:#fff0d2}
.eb-project-overlay .eb-status-tag.is-pending{color:#8c5d22;background:#f4eae0}
.eb-project-overlay .eb-status-tag.is-declined{color:#a13f42;background:#fae4e6}
.eb-project-overlay .eb-drawer-management{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.eb-project-overlay .eb-drawer-management .btn{font-size:11px}
.eb-project-overlay #bb-add-gc-panel,.eb-project-overlay #bb-vendor-panel{background:#f4f9fb;padding:14px;margin-top:10px;border:1px solid #d2e4ed;border-radius:9px}
.eb-project-overlay .eb-vendor-choices{max-height:235px;overflow:auto;border:1px solid #c7dce7;background:#fff;border-radius:8px}
.eb-project-overlay .eb-request-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.eb-project-overlay #bb-outreach-status{font-size:11px;color:#487185;margin-top:7px}
.eb-project-overlay .eb-review-collapsible>summary{font-weight:850;font-size:12px;cursor:pointer;color:#2d6480}
.eb-project-overlay .eb-review-collapsible>div{margin-top:12px}
@media(max-width:700px){.eb-project-overlay .eb-drawer-content{padding:15px}.eb-project-overlay .eb-project-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-project-overlay .eb-drawer-crafts{grid-template-columns:1fr}.eb-project-overlay .eb-craft-tile{min-height:65px}.eb-project-overlay .eb-drawer-header{padding:15px}.eb-project-overlay .eb-drawer-header h2{font-size:18px}}
@media(max-width:410px){.eb-project-overlay .eb-project-facts{grid-template-columns:1fr}.eb-project-overlay .eb-status-row{align-items:flex-start;flex-direction:column;gap:5px}}

/* Separate edit modal, not an editor embedded in the project slide-out. */
.bb-overlay:has(.eb-edit-tabs) .bb-dialog{width:min(930px,95vw);max-width:95vw;max-height:92dvh;display:flex;flex-direction:column;border-radius:14px;overflow:hidden}
.bb-overlay:has(.eb-edit-tabs) .bb-dialog-body{overflow:auto;min-height:0}
.bb-overlay:has(.eb-edit-tabs) .bb-dialog-head{background:linear-gradient(120deg,#1a4059,#20607a)}
.bb-overlay:has(.eb-edit-tabs) .bb-dialog-head h2{color:white;margin:4px 0}
.bb-overlay:has(.eb-edit-tabs) .bb-dialog-head small{color:#bedfe7;font-size:10px;letter-spacing:1px}
.eb-edit-tabs{display:flex;align-items:center;gap:7px;padding:0 0 15px;border-bottom:1px solid #dbe6ed;margin-bottom:16px}
.eb-edit-tabs button{border:1px solid #c5d8e4;background:#f7fafc;color:#3f647a;border-radius:8px;padding:9px 15px;font-size:12px;font-weight:800;cursor:pointer}
.eb-edit-tabs button.selected{background:#177f80;border-color:#177f80;color:#fff}
.eb-edit-craft-panel[hidden],.eb-edit-project-extras[hidden]{display:none!important}
.eb-edit-craft-fieldset{border:1px solid #ccdde5;border-radius:10px;padding:12px 15px;margin:13px 0}
.eb-edit-craft-fieldset legend{font-size:13px;font-weight:850;color:#27536c;padding:0 6px}
.eb-edit-craft-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1.7fr);align-items:center;gap:12px;margin:10px 0}
.eb-edit-craft-row label{display:flex;align-items:center;gap:8px;font-weight:750;font-size:12px}
.eb-edit-craft-row select{width:100%;max-width:100%;padding:9px;border:1px solid #cbdde8;border-radius:7px}
.eb-edit-feedback{font-size:12px;color:#225d70;min-height:20px;margin:12px 0}
.eb-edit-project-extras{margin-top:14px;border-top:1px solid #dbe6ec;padding-top:12px}
.eb-edit-photo-control{margin-top:12px}
@media(max-width:580px){.eb-edit-tabs{flex-wrap:wrap}.eb-edit-craft-row{grid-template-columns:1fr;gap:6px}.eb-edit-craft-row select{max-width:100%}}

/* Proposal center: draft creation is a deliberate, reviewable step. */
.eb-proposal-draft{margin:0 0 16px;border:1px solid #bfd9e5;border-left:4px solid #228a8d;border-radius:10px;background:#f6fafb;padding:13px 15px}
.eb-proposal-draft>summary{font-size:14px;font-weight:850;color:#1c4e66;cursor:pointer}
.eb-proposal-draft p.subtle{line-height:1.6;font-size:11px;color:#6e8492;margin:10px 0}
.eb-proposal-draft .field{margin:10px 0}
.eb-proposal-draft textarea{width:100%;border-radius:7px;border:1px solid #c5d8e0;padding:10px;background:#fff}
.eb-proposal-draft #proposal-create{margin-top:7px}

/* Top-layer file viewer above the quote list; accessible file preview controls. */
.eb-file-preview{padding:0;border:1px solid #aec9d8;border-radius:12px;background:#fff;box-shadow:0 24px 90px #061e37a6;width:min(1100px,97vw);height:min(840px,94dvh);max-width:98vw;max-height:96dvh;resize:both;overflow:hidden;color:#18394f}
.eb-file-preview::backdrop{background:#071a30b5}
.eb-file-preview header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;background:#1a465f;color:#fff;min-height:51px}
.eb-file-preview header>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#fff}
.eb-file-preview-actions{display:flex;align-items:center;gap:6px;flex:none}
.eb-file-preview-actions .btn{font-size:11px;padding:6px 10px;min-height:31px}
.eb-file-preview-body{height:calc(100% - 51px);overflow:auto;display:flex;align-items:center;justify-content:center;background:#eaf1f5;min-height:0}
.eb-file-preview-body iframe{width:100%;height:100%;min-height:0;border:0;background:#fff}
.eb-file-preview-body img{max-width:100%;max-height:100%;object-fit:contain}
.eb-file-preview-body>p{padding:25px;font-size:13px;color:#35596e}
@media(max-width:600px){.eb-file-preview header{flex-wrap:wrap}.eb-file-preview header>strong{width:100%}.eb-file-preview-body{height:calc(100% - 90px)}}

/* Restore the two important estimator-side actions in their proper sections. */
.eb-project-overlay .eb-gc-management{margin-top:11px;margin-bottom:5px}
.eb-project-overlay .eb-gc-management #bb-add-gc{
 background:#e8f4f6;border:1px solid #95c0cf;color:#16697c;
 font-size:12px;font-weight:850;min-height:36px;
}
.eb-project-overlay .eb-gc-management #bb-add-gc:hover{background:#d8edf1}
.eb-project-overlay #bb-add-gc-panel:not([hidden]){display:block;margin-top:10px}
.eb-project-overlay .eb-gc-link-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.eb-project-overlay .eb-drawer-management .eb-quote-upload,
.eb-project-overlay .eb-drawer-management .eb-quote-upload.btn{
 background:#0d837a;border-color:#0d837a;color:#fff;
 font-size:12px;min-height:37px;font-weight:850;
}
.eb-project-overlay .eb-drawer-management .eb-quote-upload:hover{background:#096d66;border-color:#096d66}
.eb-project-overlay .eb-vendor-list+.eb-drawer-management{margin-top:12px;margin-bottom:5px}
.eb-project-overlay #bb-vendor-panel:not([hidden]){display:block}
.eb-project-overlay .eb-gc-list:empty,.eb-project-overlay .eb-vendor-list:empty{min-height:40px}

/* Larger, readable technical reference for estimator craft tabs. */
.ecw-workspace{font-size:14px}
.ecw-project-info>span,.ecw-detached{font-size:12px}
.ecw-project-info>strong{font-size:20px;line-height:1.3}
.ecw-project-info>small{font-size:13px;line-height:1.4}
.ecw-trades{padding:14px 10px;gap:9px}
.ecw-craft{padding:14px 11px}
.ecw-craft strong{font-size:14px;line-height:1.4}
.ecw-craft small{font-size:12px;line-height:1.45}
.ecw-tabs{gap:5px;padding:12px 15px 10px}
.ecw-tabs button{font-size:13px;padding:9px 12px;line-height:1.3}
.ecw-filter strong{font-size:17px}
.ecw-filter small{font-size:13px}
.ecw-filter input{font-size:13px;padding:10px 12px}
.ecw-results{padding:17px 20px 30px}
.ecw-results h3{font-size:15px;line-height:1.35}
.ecw-section-count{font-size:13px;line-height:1.4}
.ecw-mfr-family>summary{padding:12px 14px}
.ecw-mfr-family>summary strong{font-size:14px;line-height:1.35}
.ecw-mfr-family>summary small{font-size:12px;line-height:1.45}
.ecw-mfr-family>summary>span:last-child{font-size:12px}
.ecw-mfr-table{font-size:13px}
.ecw-mfr-table th{font-size:12px;padding:10px 12px;line-height:1.3}
.ecw-mfr-table td{font-size:13px;padding:12px;line-height:1.65}
.ecw-mfr-table td p{font-size:13px;line-height:1.6}
.ecw-source{font-size:12px;line-height:1.55}
.ecw-designation{font-size:12px;padding:4px 7px;line-height:1.4}
.ecw-requirement{padding:15px 17px}
.ecw-requirement strong{font-size:14px;line-height:1.4}
.ecw-requirement header span{font-size:12px}
.ecw-requirement p{font-size:14px;line-height:1.7}
.ecw-instructions p,.ecw-instructions dl{font-size:14px}
.ecw-muted{font-size:14px;line-height:1.55}
.ecw-modal-head{font-size:12px}
.ecw-modal .ecw-close{font-size:24px}
@media(max-width:800px){
 .ecw-tabs{padding:10px}
 .ecw-tabs button{font-size:12px;padding:8px 10px}
 .ecw-trades{gap:7px;padding:8px}
 .ecw-craft{padding:10px}
 .ecw-results{padding:13px}
}

/* Authenticated document pop-out: leave the estimator's main Bid Board free. */
.eb-standalone-document{margin:0;background:#e6eef4;color:#193b54;font-family:Arial,Helvetica,sans-serif;height:100dvh;display:flex;flex-direction:column}
.eb-standalone-document *{box-sizing:border-box}
.eb-standalone-document-header{min-height:64px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 17px;background:#17465f;color:#fff;flex:none}
.eb-document-title{display:flex;flex-direction:column;gap:5px;min-width:0}
.eb-document-title span{font-size:10px;letter-spacing:1px;font-weight:850;color:#aed9e1}
.eb-document-title strong{font-size:16px;line-height:1.25;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}
.eb-document-title small{font-size:11px;color:#c0dce4}
.eb-document-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.eb-document-tools .btn{border:1px solid #92bccc;background:#eff7fa;color:#1b526a;border-radius:7px;padding:10px 12px;min-height:35px;font-size:12px;font-weight:800;cursor:pointer}
.eb-document-tools .btn:hover{background:#fff}
.eb-document-tools .btn:disabled{opacity:.4;cursor:default}
.eb-standalone-document-body{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;overflow:auto;font-size:14px;padding:0}
.eb-standalone-document-body iframe{width:100%;height:100%;border:0;background:#fff}
.eb-standalone-document-body img{max-height:100%;max-width:100%;object-fit:contain}
.eb-standalone-document-body>p{padding:24px}
.eb-file-preview-actions .eb-doc-popout{background:#d6f1ed;border-color:#8bc5c4;color:#146259;font-weight:850}
@media(max-width:610px){.eb-standalone-document-header{flex-wrap:wrap;align-items:flex-start}.eb-document-tools{width:100%}.eb-document-title strong{font-size:13px}}
