.quote-pdf-button{font-size:11px!important;line-height:1.2!important;padding:6px 9px!important;text-decoration:none;display:inline-block;border:1px solid #cbd9df;border-radius:6px;color:#173747;background:white;white-space:nowrap}
.quote-program-options{padding:12px;border:1px solid #dce5e8;border-radius:8px;background:#faf8fc}.quote-program-options:empty{display:none}.quote-program-options>.formgrid{margin-top:8px}.quote-program-options small{color:#82949d}
.quote-ai-progress{font-size:12px;color:#087b73;margin-right:10px}.scope-library-filter{position:sticky;top:0;background:white;padding:6px 0;z-index:2}.scope-library-card{margin:12px 0;padding:12px;border:1px solid #dce5e8;border-radius:8px}.scope-library-card h3{margin:0 0 8px}.scope-library-card textarea{min-height:150px;width:100%;font-size:13px;line-height:1.5}.scope-library-card small{color:#82949d;display:block;margin-top:5px}
#dialog.quote-ai-editor-dialog{width:min(1400px,96vw);max-width:96vw}.quote-ai-split{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(400px,1.5fr);gap:16px;height:70vh}.quote-ai-split iframe{width:100%;height:100%;border:1px solid #dce5e8}.quote-ai-instructions textarea{min-height:260px;width:100%}.quote-ai-instructions .field{display:block}.quote-ai-split .muted{font-size:12px}
@media(max-width:720px){.quote-ai-split{grid-template-columns:1fr;height:auto}.quote-ai-split iframe{height:50vh}.quote-ai-instructions textarea{min-height:150px}.scope-library-card{padding:9px}}
.quotation-shortcuts{white-space:nowrap}.quotation-shortcuts .quote-pdf-button,.quotation-shortcuts button{font:500 11px/1.2 Arial,sans-serif!important;display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;box-sizing:border-box;height:30px!important;min-height:30px!important;padding:6px 9px!important;margin-top:0!important;margin-bottom:0!important}
.quote-ai-instructions{display:flex;flex-direction:column;min-height:0;height:100%}.quote-ai-instructions .field{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}.quote-ai-instructions textarea{flex:1;height:100%;min-height:0;box-sizing:border-box;resize:none}.scope-ai-hint,.spec-ai-hint{font-size:12px;color:#607580;padding:8px 0}
#all-quote-packages[data-count="1"] .item-details>.formgrid{grid-template-columns:1fr!important}#all-quote-packages[data-count="1"] .field:has([data-name="quotation_description"]),#all-quote-packages[data-count="1"] .field:has([data-name="warranty"]){grid-column:1/-1!important}
@media(max-width:720px){.quote-ai-instructions{height:260px}.quote-ai-instructions textarea{min-height:200px}.quote-ai-split iframe{height:55vh}}
.quote-ai-split{grid-template-columns:minmax(270px,.8fr) minmax(400px,1.5fr);height:73vh;min-height:400px}.quote-ai-conversation{display:flex;flex-direction:column;min-width:0;min-height:0;gap:12px}.quote-chat-log{flex:1;min-height:0;overflow:auto;padding:12px;background:#fafbfc;border:1px solid #e1e6ea;border-radius:8px;overscroll-behavior:contain}.quote-chat-message{display:flex;margin-bottom:12px;line-height:1.55;font-size:13px}.quote-chat-message.from-user{justify-content:flex-end}.quote-chat-message.from-ai{justify-content:flex-start}.quote-chat-bubble{max-width:91%;border-radius:12px;padding:10px 13px;white-space:pre-wrap;overflow-wrap:anywhere}.from-user .quote-chat-bubble{background:#e6f2f0;color:#173747}.from-ai .quote-chat-bubble{background:#eee5f7;color:#322b40}.quote-chat-compose{display:flex;flex-direction:column;gap:6px;margin:0}.quote-chat-compose label{font-size:12px;color:#607580}.quote-chat-compose textarea{min-height:95px;height:110px;max-height:210px;resize:vertical;font:13px/1.5 Arial,sans-serif;width:100%;box-sizing:border-box}.quote-chat-send{display:flex;align-items:center;justify-content:space-between;gap:10px}.quote-chat-status{font-size:12px;color:#607580}.quote-chat-send button{min-width:72px}.quote-ai-document{min-width:0;min-height:0;display:flex;flex-direction:column}.quote-pdf-toolbar{display:flex;justify-content:flex-end;padding-bottom:8px}.quote-pdf-toolbar a{font-size:12px!important;min-height:30px;box-sizing:border-box}.quote-ai-document iframe{flex:1;min-height:0;box-sizing:border-box}.quote-ai-editor-dialog .dialogbody{padding-bottom:14px}
@media(max-width:720px){.quote-ai-split{grid-template-columns:minmax(0,1fr);height:auto;min-height:0;gap:14px}.quote-ai-conversation{height:43vh;min-height:290px}.quote-chat-compose textarea{height:75px;min-height:65px}.quote-ai-document{height:55vh}.quote-ai-document iframe{height:auto}.quote-chat-log{padding:8px}.quote-chat-bubble{max-width:94%}}
