/* Private proposal workspace: the Tenderfy brand, with readable document controls. */
.proposal-workspace{max-width:1140px;color:#28385a;overflow-wrap:anywhere}
.proposal-workspace *{box-sizing:border-box}.proposal-workspace [hidden]{display:none!important}
.proposal-workspace .feature-card{padding:26px;margin:20px 0;border:1px solid #dce1eb;border-radius:8px;background:#fff;box-shadow:none}
.proposal-workspace h2{font-size:22px;line-height:1.3;margin:0 0 14px}.proposal-workspace h3{font-size:17px;line-height:1.5;margin:10px 0}
.proposal-workspace p{line-height:1.65}.proposal-workspace a{color:#bd1b51;text-underline-offset:3px}
.proposal-heading{max-width:800px}.proposal-heading h1{font-size:clamp(27px,4vw,42px)}
.proposal-company-bar,.proposal-list-heading,.proposal-section-heading,.proposal-detail-heading,.proposal-requirement-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.proposal-company-bar{padding:20px 0;border-top:2px solid #28385a}.proposal-company-bar .proposal-field{min-width:220px;flex:1;max-width:460px;margin:0}.proposal-role{font-size:13px;color:#536078}
.proposal-tabs,.proposal-steps{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;padding:0 0 14px;border-bottom:1px solid #dce1eb}
.proposal-tabs button,.proposal-steps button{border:1px solid #dce1eb;background:#fff;color:#28385a;font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:10px 14px;border-radius:6px;cursor:pointer;white-space:normal;text-align:left;display:flex;align-items:center;gap:8px}
.proposal-tabs button.active,.proposal-steps button.active{border-color:#28385a;background:#28385a;color:#fff}.proposal-steps button span{display:inline-grid;place-items:center;width:23px;height:23px;border:1px solid currentColor;border-radius:50%;font-size:12px;flex-shrink:0}
.proposal-workspace .primary-button,.proposal-workspace .secondary-button{min-height:44px;white-space:normal;line-height:1.4;max-width:100%;padding:11px 17px;border-radius:6px;flex-shrink:0}
.proposal-workspace .primary-button{background:#da2461;color:#fff;border:1px solid #da2461}.proposal-workspace .secondary-button{background:#fff;color:#28385a;border:1px solid #c5ccda}
.proposal-workspace button:disabled{opacity:.5;cursor:not-allowed}.proposal-workspace button:focus-visible,.proposal-workspace a:focus-visible,.proposal-workspace summary:focus-visible{outline:3px solid #6837f1;outline-offset:3px}
.proposal-workspace .feature-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.proposal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.proposal-field{display:flex;flex-direction:column;gap:8px;margin:16px 0;min-width:0;font-size:14px;font-weight:600}.proposal-wide{grid-column:1/-1}
.proposal-field input,.proposal-field select,.proposal-field textarea,.proposal-notice textarea{width:100%;max-width:100%;min-height:44px;padding:11px 12px;border:1px solid #bcc5d6;background:#fff;border-radius:6px;font:inherit;font-weight:400;color:#28385a;line-height:1.5;min-width:0}
.proposal-field textarea{resize:vertical;min-height:120px}.proposal-field input[type=file]{padding:8px;font-size:13px;overflow:hidden}.proposal-field input:focus,.proposal-field select:focus,.proposal-field textarea:focus{outline:2px solid #6837f1;outline-offset:2px}.proposal-field small{font-weight:400;color:#536078;line-height:1.5}
.proposal-workspace form>button{margin-top:8px}.proposal-confirm{display:flex;align-items:flex-start;gap:12px;line-height:1.6;font-size:14px;margin:24px 0}.proposal-confirm input{accent-color:#da2461;width:20px;height:20px;flex-shrink:0;margin-top:3px}
.proposal-notice,.proposal-job,.proposal-check-result{padding:16px 18px;background:#f1f3f8;border-left:3px solid #6837f1;border-radius:0 6px 6px 0;margin:18px 0;line-height:1.6}.proposal-notice[hidden]{display:none}.proposal-notice.error{border-color:#bd1b51;background:#fff0f4;color:#8f173e}.proposal-check-result.ready{border-color:#177577}.proposal-notice p{margin:8px 0}.proposal-warning{color:#8b5315}.proposal-help,.proposal-muted{font-size:13px;color:#536078;line-height:1.6}
.proposal-workspace details{margin-top:18px}.proposal-workspace summary{cursor:pointer;font-weight:600;line-height:1.5;padding:10px 0;min-height:44px}.proposal-import,.proposal-submission{border-top:1px solid #dce1eb;padding-top:12px}.proposal-workspace hr{border:0;border-top:1px solid #dce1eb;margin:28px 0}
.proposal-list{border-top:2px solid #28385a}.proposal-list-item{display:flex;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid #dce1eb}.proposal-list-item h3 button{color:#28385a;border:0;background:none;text-align:left;font:inherit;font-weight:700;padding:4px 0;cursor:pointer}.proposal-list-item p{margin:4px 0;font-size:13px;color:#536078}.proposal-updated{font-size:12px;white-space:nowrap;padding-top:6px;color:#536078}.proposal-status,.proposal-match{display:inline-block;font-size:12px;line-height:1.4;font-weight:700;padding:5px 8px;background:#eef0f6;border-radius:4px}.proposal-match[data-match=MATCH]{background:#e7f3f3;color:#176669}.proposal-match[data-match=NO_MATCH]{background:#fff0f4;color:#9e1744}.proposal-match[data-match=PARTIAL_MATCH]{background:#fff5e8;color:#875017}
.proposal-detail-heading{margin:26px 0}.proposal-detail-heading>div{flex:1;min-width:0}.proposal-detail-heading h2{margin:10px 0 6px}.proposal-detail-heading p{margin:0;font-size:13px}.proposal-section-heading{align-items:flex-start}.proposal-section-heading>div{flex:1;min-width:220px}.proposal-section-heading p{margin-bottom:0;font-size:14px}
.proposal-requirement,.proposal-recommendation{padding:24px 0;border-top:1px solid #dce1eb;margin-top:24px}.proposal-requirement-heading{justify-content:flex-start;gap:8px}.proposal-citation{background:#f6f7fa;padding:14px 16px;border-left:3px solid #aab5ca;margin:16px 0}.proposal-citation small{display:block;margin-top:6px;color:#536078}.proposal-citation blockquote{white-space:pre-wrap;margin:12px 0 0;font-size:14px;line-height:1.7}.proposal-segment{border-top:1px solid #dce1eb;padding:14px 0}.proposal-segment p,.proposal-evidence-preview{white-space:pre-wrap;font-size:13px;line-height:1.7}.proposal-segment p{max-height:280px;overflow:auto}.proposal-segment small{color:#536078}.proposal-evidence-preview:not(:empty){padding:14px;background:#f6f7fa;max-height:260px;overflow:auto}
.proposal-documents>article,.proposal-team-list>article{padding:20px 0;border-top:1px solid #dce1eb;margin-top:18px}.proposal-documents>article>div{width:100%;min-width:0}.proposal-documents p,.proposal-team-list p{margin:6px 0;font-size:13px}.proposal-team-list>article{display:flex;justify-content:space-between;align-items:center;gap:18px}.proposal-team-list>article>div{min-width:0}.proposal-invitations{line-height:1.8;padding-left:20px}
.proposal-items fieldset{border:1px solid #dce1eb;padding:18px;border-radius:6px;margin:20px 0;min-width:0}.proposal-items legend{padding:0 8px;font-size:13px;font-weight:600}.proposal-history article{border-top:1px solid #dce1eb;padding:16px 0}.proposal-history span{display:block;font-size:12px;color:#536078;margin-top:5px}.proposal-history p{margin:8px 0}
.proposal-history article>button{margin-top:12px}.proposal-snapshot{padding:22px;background:#f6f7fa;border:1px solid #dce1eb;border-radius:6px;margin:20px 0}.proposal-snapshot-text{white-space:pre-wrap}.proposal-snapshot-item{padding:12px 0;border-top:1px solid #dce1eb}.proposal-snapshot-item p{margin:6px 0}.proposal-snapshot .proposal-citation{background:#fff}
.proposal-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0}.proposal-pagination>span{font-size:13px;color:#536078;white-space:nowrap}
@media(max-width:720px){.proposal-workspace .feature-card{padding:20px}.proposal-form-grid{grid-template-columns:minmax(0,1fr)}.proposal-tabs,.proposal-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.proposal-tabs button,.proposal-steps button{padding:10px;font-size:13px}.proposal-company-bar{gap:12px}.proposal-company-bar .proposal-field{max-width:none;min-width:0;flex-basis:100%}.proposal-role{flex-basis:100%}.proposal-list-item{gap:10px;flex-direction:column}.proposal-updated{padding-top:0}.proposal-section-heading>div{min-width:0;flex-basis:100%}.proposal-team-list>article{align-items:flex-start;flex-direction:column}.proposal-detail-heading{align-items:flex-start}.proposal-detail-heading>div{flex-basis:100%}.proposal-workspace h2{font-size:20px}}
@media(max-width:390px){.proposal-workspace .feature-card{padding:16px}.proposal-steps{grid-template-columns:minmax(0,1fr)}.proposal-workspace .feature-actions>.primary-button,.proposal-workspace .feature-actions>.secondary-button{flex:1}.proposal-items fieldset{padding:12px}.proposal-citation{padding:12px}}
