#v12QuoteModal.ow-quote-editor { padding:24px; }
#v12QuoteModal.ow-quote-editor .dialog { display:flex; flex-direction:column; width:min(1080px,100%); max-height:calc(100dvh - 48px); overflow:hidden; border-radius:12px; background:var(--p); border:1px solid var(--l); }
#v12QuoteModal.ow-quote-editor .dialog-head { flex-shrink:0; padding:20px 24px; align-items:flex-start; }
#v12QuoteModal.ow-quote-editor .dialog-head h3 { margin:0 0 5px; font-size:20px; line-height:1.3; letter-spacing:-.025em; }
#v12QuoteContext { font-size:12px; line-height:1.6; }
.ow-quote-marker { display:flex; align-items:center; gap:10px; margin-top:10px; font-size:11px; color:var(--m); }
#owQuoteStatus { padding:2px 8px; background:var(--p2); border:1px solid var(--l); border-radius:5px; color:var(--t); }
#v12QuoteModal.ow-quote-editor form { min-height:0; display:flex; flex-direction:column; }
.ow-quote-tabs { display:flex; flex-shrink:0; gap:22px; padding:0 24px; border-bottom:1px solid var(--l); }
.ow-quote-tabs button { padding:13px 0; border:0; border-bottom:2px solid transparent; background:transparent; font:600 12px/1.4 Inter,sans-serif; color:var(--m); cursor:pointer; }
.ow-quote-tabs button[aria-selected="true"] { color:var(--o); border-bottom-color:var(--o); }
#v12QuoteModal.ow-quote-editor .dialog-body { overflow:auto; min-height:0; padding:23px 24px; overscroll-behavior:contain; }
.ow-quote-pane[hidden] { display:none; }
.ow-quote-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr); gap:28px; }
.ow-quote-main,.ow-quote-section,.ow-quote-grid,.ow-quote-grid>.form-group { min-width:0; }
.ow-quote-section { margin:0 0 20px; }
.ow-quote-section:last-child { margin-bottom:0; }
.ow-quote-section h4 { margin:0 0 13px; font-size:13px; font-weight:650; line-height:1.4; color:var(--t); }
.ow-quote-help { margin:-5px 0 13px; color:var(--m); font-size:11px; line-height:1.6; }
.ow-quote-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 12px; }
#v12QuoteModal.ow-quote-editor .form-group { margin:0; }
#v12QuoteModal.ow-quote-editor .form-group>label { display:block; margin:0 0 7px; font-size:11px; font-weight:500; color:var(--m); line-height:17px; min-height:17px; }
#v12QuoteModal.ow-quote-editor .form-group :is(input:not([type="hidden"]),textarea,select,.ow-date-trigger,.ow-select-trigger) { box-sizing:border-box; width:100%; min-width:0; height:42px; min-height:42px; padding:10px 11px; margin:0; border:1px solid var(--l); border-radius:7px; background:var(--ow-input,var(--p)); color:var(--t); font:400 13px/20px Inter,sans-serif; box-shadow:none; }
#v12QuoteModal.ow-quote-editor .form-group textarea { height:88px; resize:none; line-height:1.6; }
#v12QuoteModal.ow-quote-editor #v12QuoteScope { height:134px; }
#v12QuoteModal.ow-quote-editor #v12QuoteNotes { height:88px; }
#v12QuoteModal.ow-quote-editor .form-group :is(input,textarea,button):focus-visible { outline:2px solid var(--o); outline-offset:2px; }
#v12QuoteModal.ow-quote-editor .form-group :is(.ow-select-trigger,.ow-date-trigger) { display:flex; align-items:center; justify-content:space-between; gap:10px; text-align:left; cursor:pointer; }
.ow-quote-pricing { border-left:1px solid var(--l); padding-left:26px; }
#owQuoteMismatch { margin:12px 0 0; }
#owQuoteMismatch[hidden] { display:none; }
.ow-quote-summary { margin:20px 0 0; border-top:1px solid var(--l); padding-top:14px; font-size:12px; }
.ow-quote-summary>div { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:10px; }
.ow-quote-summary dt { color:var(--m); }
.ow-quote-summary dd { margin:0; color:var(--t); font-variant-numeric:tabular-nums; }
.ow-quote-summary .ow-quote-summary-total { margin:15px 0 0; padding-top:15px; border-top:1px solid var(--l); }
.ow-quote-summary-total dt { color:var(--t); font-weight:600; }
.ow-quote-summary-total dd { font-size:20px; font-weight:650; letter-spacing:-.03em; }
.ow-quote-approval { max-width:740px; min-height:300px; }
#v12QuoteModal.ow-quote-editor .dialog-foot { flex-shrink:0; display:flex; align-items:center; flex-wrap:wrap; gap:9px; padding:15px 24px; border-top:1px solid var(--l); }
.ow-quote-footer-total { display:flex; flex-direction:column; gap:3px; margin-right:auto; }
.ow-quote-footer-total span { font-size:10px; color:var(--m); }
.ow-quote-footer-total strong { font-size:17px; font-weight:650; font-variant-numeric:tabular-nums; }
#v12QuoteModal.ow-quote-editor .dialog-foot button { min-height:40px; }
#v12QuoteModal .ow-quote-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:800px) {
  #v12QuoteModal.ow-quote-editor { padding:12px; }
  #v12QuoteModal.ow-quote-editor .dialog { max-height:calc(100dvh - 24px); }
  #v12QuoteModal.ow-quote-editor .dialog-head { padding:18px; }
  .ow-quote-tabs { padding:0 18px; }
  #v12QuoteModal.ow-quote-editor .dialog-body { padding:18px; }
  .ow-quote-layout { grid-template-columns:1fr; gap:22px; }
  .ow-quote-pricing { border-left:0; border-top:1px solid var(--l); padding:20px 0 0; }
  #v12QuoteModal.ow-quote-editor .dialog-foot { padding:13px 18px; }
  #v12QuoteModal.ow-quote-editor .form-group :is(input:not([type="hidden"]),textarea,.ow-date-trigger,.ow-select-trigger) { font-size:16px; min-height:44px; }
}
@media(max-width:480px) {
  .ow-quote-grid { grid-template-columns:1fr; }
  #v12QuoteModal.ow-quote-editor .dialog-head h3 { font-size:18px; }
  #v12QuoteModal.ow-quote-editor .dialog-foot { display:grid; grid-template-columns:1fr 1fr; }
  .ow-quote-footer-total { grid-column:1/-1; flex-direction:row; justify-content:space-between; align-items:center; margin:0 0 5px; }
  #v12QuoteModal.ow-quote-editor .dialog-foot .primary { grid-column:1/-1; }
}
