.estimate-library-page{display:grid;gap:18px}.estimate-library-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px}.estimate-library-hero h2{margin:5px 0 8px;font-size:clamp(24px,3vw,34px)}.estimate-library-hero p{margin:0;max-width:720px;color:#667085}.estimate-library-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px 150px;gap:14px;align-items:end;padding:16px}.estimate-library-toolbar label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#475467}.estimate-library-count{height:100%;min-height:67px;display:flex;flex-direction:column;justify-content:center;border-left:1px solid #e4e7ec;padding-left:18px}.estimate-library-count span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#667085}.estimate-library-count strong{font-size:24px;color:#111827}.estimate-library-list{display:grid;gap:12px}.estimate-library-row{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(340px,1fr) auto;gap:20px;align-items:center;background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.045)}.estimate-library-main h3{margin:7px 0 3px;font-size:17px}.estimate-library-main p{margin:0;color:#667085;font-size:13px}.estimate-library-number{display:flex;gap:9px;align-items:center}.estimate-library-number>strong{font-size:12px;letter-spacing:.06em;color:#344054}.library-status{font-size:10px}.estimate-library-meta{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:10px}.estimate-library-meta span{display:grid;gap:3px;color:#667085;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.estimate-library-meta strong{color:#1d2939;font-size:12px;text-transform:none;letter-spacing:0}.estimate-library-actions{display:flex;gap:8px;align-items:center}.estimate-library-empty{padding:34px;text-align:center;background:#fff;border:1px dashed #d0d5dd;border-radius:16px}.estimate-library-empty p{color:#667085}.estimate-library-empty.compact{padding:22px}.estimate-library-modal-backdrop{position:fixed;inset:0;z-index:1200;background:rgba(15,23,42,.58);display:grid;place-items:center;padding:18px}.estimate-library-modal{width:min(620px,100%);max-height:80vh;overflow:auto;background:#fff;border-radius:18px;padding:20px;box-shadow:0 25px 70px rgba(15,23,42,.3)}.estimate-library-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #eaecf0;padding-bottom:14px}.estimate-library-modal-head h3{margin:4px 0 0}.estimate-version-list{display:grid;gap:10px;margin-top:14px}.estimate-version-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #eaecf0;border-radius:12px}.estimate-version-row div{display:grid;gap:3px}.estimate-version-row span{font-size:12px;color:#667085}.library-dashboard-list{display:grid;gap:8px;margin-top:14px}.library-dashboard-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 4px;border-bottom:1px solid #eaecf0}.library-dashboard-row>div{display:flex;align-items:center;gap:12px}.library-dashboard-row span{font-size:12px;color:#667085}.estimate-library-error{max-width:760px}.status-presented{background:#eef4ff;color:#3538cd}.status-accepted{background:#ecfdf3;color:#027a48}.status-lost{background:#fef3f2;color:#b42318}
@media (max-width:980px){.estimate-library-row{grid-template-columns:1fr}.estimate-library-meta{grid-template-columns:repeat(3,1fr)}.estimate-library-actions{justify-content:flex-end}.estimate-library-toolbar{grid-template-columns:1fr 180px}.estimate-library-count{grid-column:1/-1;border-left:0;border-top:1px solid #e4e7ec;padding:12px 0 0;min-height:0}}
@media (max-width:720px){.estimate-library-hero{align-items:stretch;flex-direction:column}.estimate-library-toolbar{grid-template-columns:1fr}.estimate-library-search{min-width:0}.estimate-library-count{grid-column:auto}.estimate-library-meta{grid-template-columns:1fr}.estimate-library-actions{justify-content:stretch}.estimate-library-actions .btn{flex:1;min-height:44px}.library-dashboard-row,.library-dashboard-row>div{align-items:flex-start;flex-direction:column}.library-dashboard-row>div:last-child{width:100%;flex-direction:row;justify-content:space-between;align-items:center}}
