/* ===== 시안A 카드형 목록 + 3그룹 입력폼 (견적·판매 공용) ===== */

/* 일괄작업 바: 선택했을 때만 표시 (기존 display:flex가 hidden을 이겨버리던 것 교정) */
.bulkbar[hidden]{display:none !important;}

/* ── 목록 툴바(전체선택+합계) ── */
.cardbar{display:flex;align-items:center;gap:12px;padding:6px 4px 8px;font-size:12.5px;color:var(--mut);}
.cardbar label{display:flex;align-items:center;gap:6px;cursor:pointer;}
.cardbar .qsummary{margin-left:auto;font-weight:600;}

/* ── 날짜 그룹 헤더 ── */
.qgrp{font-size:12.5px;font-weight:800;color:var(--mut);letter-spacing:.5px;margin:16px 2px 7px;display:flex;align-items:center;gap:8px;}
.qgrp:first-child{margin-top:4px;}
.qgrp .gcnt{font-weight:600;color:#94a3b8;}

/* ── 카드 ── */
.qcard{background:#fff;border:1px solid var(--line);border-left:5px solid #cbd5e1;border-radius:11px;
  padding:11px 14px;display:flex;align-items:center;gap:12px;margin-bottom:7px;cursor:pointer;transition:box-shadow .15s;}
.qcard:hover{box-shadow:0 3px 12px rgba(15,35,60,.10);}
.qcard.st-발송완료{border-left-color:#1d4ed8;}
.qcard.st-판매전환{border-left-color:#0f7b52;opacity:.68;}
.qcard.rent{border-left-color:#0f766e;background:#f7fdfc;}
.qcard.rent.st-판매전환{border-left-color:#0f766e;}
.qcard.sel{outline:2px solid var(--blue);outline-offset:-1px;}
.qcard .rchk{width:15px;height:15px;flex:none;}
.qcard .no{font-size:11.5px;color:var(--mut);font-weight:700;white-space:nowrap;min-width:92px;}
.qcard .no .badge{margin-left:3px;}
.qcard .who{flex:1;min-width:0;}
.qcard .who b{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.qcard .who .sub{font-size:11.5px;color:var(--mut);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.qcard .stcol{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:96px;}
.qcard .stcol .sinfo{font-size:10.5px;color:#94a3b8;white-space:nowrap;}
.qcard .amt{font-size:15.5px;font-weight:800;white-space:nowrap;min-width:92px;text-align:right;}
.qcard .amt .sepmark{font-size:10px;color:#94a3b8;font-weight:400;}
.qcard .acts{display:flex;gap:5px;align-items:center;white-space:nowrap;flex:none;}
.qcard .acts .ract.ri{width:30px;height:30px;padding:0;font-size:14px;display:inline-flex;align-items:center;justify-content:center;}
.qcard .convbtn{background:var(--green,#0f7b52);color:#fff;border:none;border-radius:8px;padding:7px 11px;font-size:12px;font-weight:700;cursor:pointer;}
.qcard .convbtn.rent{background:#0f766e;}
.qcard .convdone{font-size:11.5px;color:#0f7b52;font-weight:700;white-space:nowrap;}
.qcard .warnfu{font-size:10.5px;color:#a06a00;font-weight:700;}
.dp{font-size:10px;color:#94a3b8;}
.dp.old{color:#b45309;font-weight:700;}

/* 모바일: 카드 두 줄 랩 */
@media (max-width:760px){
  .qcard{flex-wrap:wrap;row-gap:6px;}
  .qcard .who{flex-basis:calc(100% - 140px);}
  .qcard .amt{margin-left:auto;}
  .qcard .acts{margin-left:auto;}
}

/* ── 3그룹 입력폼 ── */
.fsec{padding:13px 2px;border-bottom:1px solid #eef2f7;}
.fsec:last-of-type{border-bottom:none;}
.fsec-t{font-size:12px;font-weight:800;color:var(--blue);letter-spacing:.4px;margin-bottom:10px;display:flex;align-items:center;gap:7px;}
.fsec-t .dot{width:20px;height:20px;border-radius:6px;background:#e0ecff;color:var(--blue);font-size:11px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;}
.fsec-t .hintr{margin-left:auto;font-size:11px;color:var(--mut);font-weight:400;}
.fsec .fgrid{margin-bottom:0;}
.fmore{margin:8px 0 0;}
.fmore>summary{font-size:12px;color:var(--mut);cursor:pointer;padding:7px 10px;background:#fafbfd;border:1px solid #eef2f7;border-radius:8px;list-style:none;}
.fmore>summary::-webkit-details-marker{display:none;}
.fmore>summary:before{content:"▸ ";}
.fmore[open]>summary:before{content:"▾ ";}
.fmore .fgrid{margin-top:9px;}
.in-auto{background:#f0fdf4 !important;border-color:#bbf7d0 !important;}
.autob{font-size:9.5px;background:#dcfce7;color:#15803d;border-radius:4px;padding:1px 5px;margin-left:4px;font-weight:800;vertical-align:middle;}
