/* Deliberately reuses the existing Offertestudio brand palette and controls. */
#team-toolbar{margin:0 auto;padding:18px 32px;max-width:1600px;background:#eef4f7;border-bottom:1px solid #d4e1e7;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#team-toolbar .team-identity{margin-left:auto;font-size:13px}#team-toolbar select,#team-toolbar input{padding:9px;border:1px solid #bacbd4;border-radius:6px;background:white;max-width:300px}
#team-save-status{width:100%;font-size:13px;line-height:1.5}#team-toolbar .test-tag{font-size:11px;font-weight:700;letter-spacing:.08em;color:#6b520e}#team-conflict{margin:14px 32px;padding:18px;background:#fff4db;border:1px solid #e6c76d;border-radius:8px}#team-conflict button{margin:8px 8px 0 0}
.team-dialog{width:min(1000px,calc(100vw - 40px));max-width:1000px;max-height:86vh;overflow:auto;padding:28px;border:1px solid #cfdae0;border-radius:14px;box-shadow:0 18px 65px #123d5938;color:#123d59}
.team-dialog::backdrop{background:#102c43a8}.team-dialog .dialog-header{display:flex;justify-content:space-between;align-items:flex-start}.team-dialog h2{margin:0 0 12px}.team-dialog p{line-height:1.6}.team-dialog label{display:block;margin:16px 0 6px;font-weight:600}
.team-dialog input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #b8c9d4;border-radius:8px;font-size:16px}.team-dialog .error{color:#922b22;font-size:14px;min-height:24px}#team-login{max-width:440px}
#quote-search-form{display:flex;gap:10px;margin:15px 0}#quote-search-form input{flex:1;min-width:100px}.team-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.55}.team-table th{text-align:left;background:#f0f5f7;font-weight:600}.team-table td,.team-table th{padding:12px;border-bottom:1px solid #dce5eb;vertical-align:top}.team-table small{color:#506471}.team-table .button{white-space:nowrap}
.changes{table-layout:fixed}.changes td{white-space:pre-wrap;overflow-wrap:anywhere}.changes th:first-child{width:22%}.history-event{margin:12px 0;padding:12px;border:1px solid #d7e1e7;border-radius:8px}.history-event summary{cursor:pointer;line-height:1.6;font-weight:600}.history-event>.button{margin-top:12px}.team-paging{display:flex;justify-content:space-between;gap:12px;margin-top:20px}#quotes-list{overflow:auto}.team-preview-note{padding:28px;background:#f3f7f9;border:1px solid #d5e0e7;border-radius:10px;line-height:1.7}
@media(max-width:700px){#team-toolbar{padding:14px 16px}#team-toolbar .team-identity{width:100%;margin-left:0}.team-dialog{padding:18px}.team-table td,.team-table th{padding:8px}.changes{font-size:12px}.changes th:first-child{width:26%}}

#quote-status-filter{font:inherit;padding:10px;border:1px solid #b8c9d4;border-radius:8px;background:white;max-width:100%}
@media(max-width:700px){#quote-search-form{flex-wrap:wrap}#quote-search-form input{flex-basis:100%}}
