/* ConSurv quote list, B2 look (plugin-forms). Notes: includes/dialog.php */
.csql, .csql-badge, .csql-sr { --qb: var(--c-blue, #1143a1); --qh: var(--c-blue-hover, #0b3483); --ql: var(--c-line-2, #c3cad5); --qr: var(--radius-btn, 6px); --qf: italic 800 1.125rem/1.1 var(--font-head, "Saira", Arial, sans-serif); --qs: var(--font-sans, "Instrument Sans", system-ui, Arial, sans-serif); }
.csql { display: block !important; color: var(--c-ink, #0d1117); font: 400 1rem/1.45 var(--qs); }
.csql [hidden] { display: none !important; }
.csql-sr { display: block !important; position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.csql :focus-visible { outline: 3px solid var(--qb); outline-offset: 2px; }
.csql button { margin: 0; font-family: var(--qs); cursor: pointer; }
.csql svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.csql :is(.csql-fab, .csql-go) { display: inline-flex; align-items: center; gap: .5em; min-height: 52px; padding: .55em 1.1em; border: 2px solid var(--qb); border-radius: var(--qr); background: var(--qb); color: #fff; font: var(--qf); font-stretch: 87.5%; }
.csql :is(.csql-fab, .csql-go):hover, .csql .csql-fab[aria-expanded="true"] { background: var(--qh); border-color: var(--qh); }
.csql-fab { position: fixed; z-index: 58; right: 20px; bottom: 20px; box-shadow: 0 12px 30px -10px rgb(8 33 82 / .6); }
.csql-panel { position: fixed; z-index: 59; right: 20px; bottom: 84px; display: flex; flex-direction: column; width: min(390px, calc(100vw - 40px)); max-height: min(600px, calc(100dvh - 120px)); background: #fff; border: 1px solid var(--ql); border-top: 3px solid var(--qb); border-radius: 4px; box-shadow: 0 26px 64px -22px rgb(8 33 82 / .55); }
.csql-head, .csql-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 12px 12px 4px 18px; }
.csql-foot { padding: 12px 18px 16px; border-top: 1px solid var(--ql); }
.csql-title { margin: 0; font: var(--qf); font-size: 1.5rem; font-stretch: 87.5%; }
.csql .csql-x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--qb); border-radius: var(--qr); background: #fff; color: var(--qb); }
.csql .csql-x:hover { background: var(--qb); color: #fff; }
.csql-note, .csql-empty { margin: 0 18px 12px; }
.csql-note, .csql-name small { display: block; font-size: .8125rem; color: var(--c-muted, #566070); }
.csql-items { flex: 1 1 auto; min-height: 0; margin: 0; padding: 0 18px; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.csql-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding-top: 10px; border-top: 1px solid var(--ql); }
.csql-name { margin: 0; line-height: 1.3; overflow-wrap: anywhere; }
.csql-name small { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.csql-q { display: flex; }
.csql .csql-q > * { width: 40px; min-height: 40px; margin: 0; padding: 0; border: 1.5px solid #7a8392; background: #f3f5f8; color: inherit; font: 700 1.25rem/1 var(--qs); text-align: center; }
.csql .csql-q > :first-child { border-radius: var(--qr) 0 0 var(--qr); }
.csql .csql-q > :last-child { border-radius: 0 var(--qr) var(--qr) 0; }
.csql .csql-n { width: 52px; border-width: 1.5px 0; border-radius: 0; background: #fff; font-size: 1rem; }
.csql .csql-link { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--qb); font: 600 .9375rem/1.2 var(--qs); text-decoration: underline; text-underline-offset: .2em; }
.csql-rm { grid-column: 1 / -1; justify-self: start; }
.csql-badge { display: block !important; position: absolute; top: 4px; left: calc(50% + 5px); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--qb); color: #fff; font: 700 .75rem/20px var(--qs); text-align: center; }
.csql-badge:empty { display: none !important; }
.csql-has { position: relative; }
@media (max-width: 759.98px) {
  .csql.has-bar .csql-fab { display: none; }
  .csql-panel { left: 0; right: 0; bottom: 80px; width: auto; max-height: calc(100dvh - 150px); border-width: 3px 0 0; border-radius: 0; }
  .has-bar .csql-panel { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}
.nav-open .csql { display: none !important; }
@media (prefers-reduced-motion: no-preference) { .csql-panel { animation: csql-in .18s ease-out; } }
@keyframes csql-in { from { opacity: 0; transform: translateY(8px); } }
@media print { .csql, .csql-badge { display: none !important; } }
