:root { --brand: #15803d; --brand-soft: #ecf7ef; }
.btn.primary { background: var(--brand); border-color: var(--brand); }
.btn.primary:hover { background: #116432; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.seg label { display: inline-flex; align-items: center; padding: 0 12px; min-height: 40px; font-size: 14px; font-weight: 600; cursor: pointer; border-left: 1px solid var(--line-2); }
.seg label:first-child { border-left: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--ink); color: #fff; }
#act-form { display: grid; gap: 10px; }
.s-발굴 { background: #f1f1f3; } .s-첫방문 { background: var(--brand-soft); color: var(--brand); } .s-샘플드림 { background: #eef2ff; color: #1d4ed8; }
.s-견적보냄 { background: #f3effd; color: #6d28d9; } .s-거래중 { background: var(--ok-soft); color: var(--ok); font-weight: 750; } .s-실패 { color: var(--faint); }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.bcol { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; scroll-snap-align: start; align-self: start; }
.bcol-h { font-size: 15px; margin: 0 0 10px; display: flex; justify-content: space-between; gap: 8px; }
.bcol-h span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.bcard { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; margin-bottom: 8px; display: grid; gap: 6px; }
.bcard.over { border-left: 3px solid var(--danger); }
.bcard a { text-decoration: none; display: grid; gap: 2px; font-size: 13.5px; }
.bcard a b { font-size: 15px; }
.bcard a span { color: var(--ink-2); }
.bcard select { min-height: 36px; font-size: 14px; padding: 4px 8px; }
.d-grid > *, .dlg-grid > * { min-width: 0; }
input[type=date] { min-width: 0; max-width: 100%; }
#ed-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#ed-form .wide, #ed-form .form-act { grid-column: 1 / -1; }
@media (max-width: 520px) { #ed-form { grid-template-columns: 1fr; } }
input:disabled, select:disabled, textarea:disabled { background: var(--paper); color: var(--ink-2); }
