.project-brief{background:#fff;border:1px solid #dce4ef;border-radius:16px;padding:22px;margin:20px 0 14px}
.compare-bar.project-hidden{display:none!important}.collection-tools{flex-wrap:wrap}
.sidebar-bottom .user-mini{overflow-wrap:anywhere}.sidebar-bottom .quota-info{margin-bottom:18px}
.sidebar-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto}.sidebar-bottom .quota-info{grid-column:1/-1;margin-bottom:0}.sidebar-bottom #userName{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.project-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-section-title h3{margin:0;font-size:18px}
.project-brief dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px;margin:20px 0 0}.project-brief dt{font-size:12px;color:#64748b;margin-bottom:5px}.project-brief dd{margin:0;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}
.project-workflow{display:flex;flex-wrap:wrap;gap:10px 20px;color:#64748b;font-size:12px;margin:14px 0 24px}
.project-status-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.project-status-tabs button{background:#fff;border:1px solid #dbe3ef;border-radius:20px;padding:8px 13px;color:#52637c;font-size:12px}.project-status-tabs button.active{background:#172e51;color:#fff;border-color:#172e51}
.project-item-review{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px 20px 8px}.project-assessment-summary{display:flex;flex-wrap:wrap;gap:6px}
.review-status,.criterion-pill{display:inline-block;border-radius:7px;font-size:11px;line-height:1.5;padding:4px 8px}.review-status{font-weight:600;background:#eef3fa;color:#465c7b}.review-status.chosen,.criterion-pill.match{background:#e8f4ed;color:#266347}.review-status.clarify,.criterion-pill.unknown{background:#fff3d8;color:#785414}.review-status.rejected,.criterion-pill.conflict{background:#fbece8;color:#994636}
.project-cost-summary{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 20px 16px;font-size:13px}.project-muted{color:#64748b;font-size:12px}.project-decision{margin:5px 20px;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.collection-item-footer{flex-wrap:wrap;gap:12px}.collection-item-footer>div{flex-basis:100%}.collection-item-footer button{min-height:40px}.project-dialog h3{font-size:16px;margin:22px 0 12px}.project-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.project-field{display:flex!important;flex-direction:column;gap:7px;margin:12px 0!important;min-width:0}.project-field>span{font-size:12px;color:#52637c;font-weight:500}.project-field input,.project-field select,.project-field textarea{width:100%;box-sizing:border-box;font-size:14px;min-height:42px}.project-field textarea{resize:vertical}
.project-checks{display:flex;flex-wrap:wrap;gap:18px;margin:14px 0}.project-confirm-price{display:flex!important;align-items:flex-start!important;gap:10px;line-height:1.6;margin:18px 0;font-size:13px}.project-confirm-price input{width:auto;flex-shrink:0;margin-top:4px}
.project-form-actions{display:flex;flex-wrap:wrap;gap:10px}.criterion-editor{border:1px solid #dbe3ef;border-radius:12px;margin:18px 0;padding:16px}.criterion-editor legend{font-size:13px;font-weight:600;padding:0 6px}.criterion-editor p{font-size:13px;white-space:pre-wrap}.criterion-editor label{display:block;margin:12px 0 6px;font-size:12px;color:#52637c}.criterion-editor select,.criterion-editor textarea{width:100%;box-sizing:border-box}
.project-warning{color:#994636;font-size:13px;line-height:1.6}.project-save-note{color:#266347;font-size:13px}.cost-result{border:1px solid #e3e8f0;border-radius:12px;padding:18px;margin-top:20px;background:#f8fafc}.cost-result.complete{background:#f4faf6;border-color:#c9dfd0}.cost-result h3{margin-top:0}.cost-result dl>div{display:flex;gap:16px;justify-content:space-between;margin:10px 0;font-size:13px}.cost-result dd{margin:0;text-align:right}.cost-total{border-top:1px solid #dbe3ef;padding-top:15px;display:flex;flex-direction:column;gap:8px}.cost-total strong{font-size:26px;color:#173657}.cost-total small{color:#52637c}.cost-result>p{font-size:12px;line-height:1.6}
.search-project-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#edf4fc;border:1px solid #d5e3f5;border-radius:12px;font-size:13px;margin-bottom:14px}
.modal.project-compare .modal-card{width:min(1180px,95vw);max-width:1180px}.project-comparison table{border-collapse:collapse;min-width:720px;width:100%;table-layout:fixed}.project-comparison th,.project-comparison td{vertical-align:top;padding:14px;min-width:180px;overflow-wrap:anywhere}.project-comparison th:first-child{width:190px}.project-comparison small{display:block;color:#64748b;font-weight:400;font-size:11px;margin-top:6px}.project-comparison td p{font-size:12px;line-height:1.6;margin:8px 0}.project-comparison .compare-grid{max-width:100%;overflow:auto}
.auth-recovery{margin-top:10px}.recovery-form label{display:block;margin:14px 0 6px;font-size:13px}.recovery-form input{width:100%;box-sizing:border-box;min-height:44px}.recovery-form button{margin-top:16px}.recovery-message{font-size:13px;line-height:1.7;color:#52637c}.guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.guide-step{background:#fff;border:1px solid #dce4ef;border-radius:16px;padding:24px}.guide-step>span{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;background:#edf4fc;color:#305c9b;border-radius:50%;font-weight:600}.guide-step h3{font-size:18px;margin:16px 0 10px}.guide-step p{font-size:14px;color:#52637c;line-height:1.7}.guide-step button{margin-top:10px}.guide-notes{padding:24px 0;color:#52637c;font-size:13px;line-height:1.8}
.first-use-note{background:#fff;border:1px solid #dce4ef;border-radius:14px;padding:18px;margin:18px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.first-use-note p{margin:0;font-size:13px;line-height:1.7;color:#52637c}.first-use-note button{flex-shrink:0}
@media(max-width:900px){.sidebar-bottom{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;margin-top:0}.sidebar-bottom .quota-info{display:none}.sidebar-bottom .user-mini{margin:0;font-size:12px}.sidebar-bottom #logout{width:auto;min-height:40px;padding:8px 16px}.sidebar-brand{gap:12px}main{padding-bottom:220px!important}}
@media(max-width:900px){.project-brief dl{grid-template-columns:repeat(2,minmax(0,1fr))}.project-workflow{gap:10px}.guide-steps{gap:14px}.project-comparison th,.project-comparison td{min-width:170px}.project-comparison table{table-layout:auto}}
@media(max-width:700px){.project-brief{padding:16px}.project-brief dl{grid-template-columns:1fr;gap:12px}.project-section-title{align-items:flex-start;flex-direction:column}.project-form-grid,.guide-steps{grid-template-columns:1fr;gap:0}.project-field input,.project-field textarea,.project-field select,.recovery-form input{font-size:16px}.project-form-actions{flex-direction:column}.project-form-actions button{width:100%}.collection-item-footer button{min-height:44px}.project-item-review,.project-cost-summary{padding-left:14px;padding-right:14px}.project-status-tabs{gap:6px}.project-status-tabs button{min-height:40px}.search-project-context,.first-use-note{align-items:flex-start;flex-direction:column}.guide-step{margin-bottom:14px;padding:20px}.modal-card{max-height:90dvh!important;overflow:auto!important;padding:22px!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box}.modal{padding:12px!important}.compare-bar{max-height:180px;overflow:auto}.compare-bar .compare-actions{flex-wrap:wrap;gap:6px}.compare-bar button{min-height:40px;font-size:12px}main{min-width:0}header{flex-wrap:wrap;gap:12px}.collection-detail-head{gap:12px;flex-wrap:wrap}.collection-detail-head h2{font-size:24px;overflow-wrap:anywhere}.collection-tools{flex-wrap:wrap;gap:8px}.collection-tools button{min-height:42px}.project-workflow span{font-size:11px}.guide-notes{padding-top:10px}}
