/* style.css — 모바일 우선(390px) PWA. 다크/라이트 자동. */
:root {
  --tab-real: 58px; /* JS 가 하단 탭바 실제 높이(safe-area 포함)로 갱신 */
  --bg: #f6f7f4; --surface: #ffffff; --surface-2: #eef1ea; --text: #1f2a1f; --muted: #5f6b5f; --line: #d9dfd3;
  --accent: #2f7d4a; --accent-ink: #ffffff; --ok: #2f7d4a; --today: #d98c00; --soon: #7a9a2a; --overdue: #c8372d; --hydro: #2b6cb0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08); --radius: 12px; --top-h: 52px; --tab-h: 58px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121612; --surface: #1b211b; --surface-2: #232b23; --text: #e8ece6; --muted: #a2ab9f; --line: #2f382f;
    --accent: #58b174; --accent-ink: #0d140d; --ok: #58b174; --today: #f0a93a; --soon: #a6c34a; --overdue: #ef6b60; --hydro: #63a4ff;
    --shadow: 0 2px 10px rgba(0,0,0,.4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121612; --surface: #1b211b; --surface-2: #232b23; --text: #e8ece6; --muted: #a2ab9f; --line: #2f382f;
  --accent: #58b174; --accent-ink: #0d140d; --ok: #58b174; --today: #f0a93a; --soon: #a6c34a; --overdue: #ef6b60; --hydro: #63a4ff;
  --shadow: 0 2px 10px rgba(0,0,0,.4); color-scheme: dark;
}

* { box-sizing: border-box; }
html { height: 100%; }
html, body { margin: 0; padding: 0; }
body { min-height: 100%; } /* height:100% 이면 넘친 내용 뒤에 padding-bottom 이 붙지 않아 마지막 행이 탭바에 가려진다 */
body {
  background: var(--bg); color: var(--text);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  padding-bottom: calc(var(--tab-real) + 24px); -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 700; }
[hidden] { display: none !important; }
a { color: var(--accent); }

/* 상단 바 */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 14px; height: var(--top-h); padding-top: env(safe-area-inset-top); }
.topbar h1 { font-size: 17px; flex: 1; display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.topbar .sub { font-size: 12px; color: var(--muted); font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.chip.warn { color: var(--today); border-color: var(--today); }
.chip-btn { cursor: pointer; color: var(--accent); border-color: var(--accent); background: var(--surface); font-weight: 700; min-height: 32px; }
.bulk-scope { display: flex; gap: 6px; }
.bulk-scope { flex-wrap: wrap; }
.bulk-scope label { flex: 1 1 30%; display: flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 10px; min-height: 42px; font-size: 14px; color: var(--text); }
.bulk-scope label:has(input:checked) { border-color: var(--accent); background: var(--surface-2); font-weight: 700; }
.bulk-scope input { width: 16px; height: 16px; }
.bulk-list { border: 1px solid var(--line); border-radius: 10px; max-height: 40vh; overflow: auto; }
.bulk-list label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14px; }
.bulk-list input { width: 18px; height: 18px; flex: none; }
.bulk-list .code { white-space: nowrap; flex: none; }
#bulkForm .actions.sticky .btn { white-space: nowrap; padding-left: 8px; padding-right: 8px; font-size: 14px; }
.bulk-list .meta { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; }
.sync { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.sync.off { background: var(--overdue); }
.sync.busy { background: var(--today); }

/* 하단 탭 */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); min-height: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
.tabs button { flex: 1; border: 0; background: none; padding: 6px 4px 4px; color: var(--muted); font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; min-height: 44px; }
.tabs button .ic { font-size: 22px; line-height: 1; }
.tabs button.active { color: var(--accent); font-weight: 700; }
.tabs .badge { position: absolute; top: 2px; left: calc(50% + 6px); background: var(--overdue); color: #fff; font-size: 10px; border-radius: 999px; padding: 1px 6px; min-width: 18px; text-align: center; }

.view { padding: 12px 14px; max-width: 980px; margin: 0 auto; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 0 8px; }
.section-title h2 { font-size: 15px; }
.section-title .cnt { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); text-align: center; padding: 28px 10px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* 카드 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.card.row { display: flex; align-items: center; gap: 10px; }
.card .grow { flex: 1; min-width: 0; }
.card .title { font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.card .meta { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.status { display: inline-block; font-size: 11px; padding: 2px 7px; border-radius: 999px; color: #fff; }
.status.overdue { background: var(--overdue); } .status.today { background: var(--today); } .status.soon { background: var(--soon); }
.status.ok { background: var(--ok); } .status.none { background: var(--muted); } .status.hydro { background: var(--hydro); }

.btn { border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 9px 12px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.btn.danger { color: var(--overdue); border-color: var(--overdue); background: transparent; }
.btn.sm { padding: 6px 10px; font-size: 13px; min-height: 36px; }
.btn.big { min-height: 56px; padding: 0 18px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: default; }
.btnrow { display: flex; gap: 6px; flex-wrap: wrap; }
.quick { display: flex; gap: 6px; }
.quick .btn { white-space: nowrap; }

/* 배치도 */
.map-wrap { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; touch-action: none; height: 60vh; min-height: 320px; }
.map-inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.map-inner img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.zone-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.zone-svg polygon { fill-opacity: .28; stroke-width: .35; vector-effect: non-scaling-stroke; }
.zone-lbl { position: absolute; transform: translate(-50%, -50%); font-size: 11px; font-weight: 700; color: #1f2a1f; background: rgba(255,255,255,.85); padding: 1px 6px; border-radius: 6px; white-space: nowrap; pointer-events: none; border: 1px solid rgba(0,0,0,.15); }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.pin .dot { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
.pin .dot span { transform: rotate(45deg); font-size: 13px; line-height: 1; }
.pin .lbl { font-size: 10px; background: rgba(255,255,255,.92); color: #1f2a1f; padding: 0 4px; border-radius: 4px; margin-top: 2px; white-space: nowrap; }
.pin.ok .dot { background: var(--ok); } .pin.soon .dot { background: var(--soon); } .pin.today .dot { background: var(--today); }
.pin.overdue .dot { background: var(--overdue); } .pin.none .dot { background: var(--muted); }
.pin.hydro .dot { border-color: var(--hydro); border-width: 3px; }
.pin.selected .dot { outline: 3px solid #ffd54a; }
.pin.temp .dot { background: #ffd54a; border-style: dashed; width: 40px; height: 40px; }
.pin.temp .dot span { font-size: 18px; color: #1f2a1f; }
.pin.temp .lbl { background: #ffd54a; font-weight: 700; }
.pin.temp.dragging .dot { box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.map-actions { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; z-index: 6; pointer-events: none; }
.map-actions .btn { pointer-events: auto; box-shadow: var(--shadow); min-height: 48px; padding: 0 18px; }
.map-tools { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.map-tools .legend { display: flex; gap: 8px; font-size: 11px; color: var(--muted); flex-wrap: wrap; width: 100%; }
.map-tools details { width: 100%; font-size: 12px; color: var(--muted); }
.map-tools summary { cursor: pointer; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 3px; vertical-align: -1px; }
.map-hint { position: absolute; left: 0; right: 0; top: 0; background: rgba(217,140,0,.92); color: #fff; text-align: center; font-size: 13px; padding: 8px; z-index: 5; }

/* 시트(바텀시트) */
.sheet-back { position: fixed; left: 0; right: 0; top: 0; bottom: var(--tab-real); background: rgba(0,0,0,.4); z-index: 30; }
.sheet { position: fixed; left: 0; right: 0; bottom: var(--tab-real); max-height: calc(100vh - var(--tab-real) - 40px); max-height: calc(100dvh - var(--tab-real) - 40px); overflow: auto; background: var(--surface); border-radius: 18px 18px 0 0; z-index: 31; padding: 0 16px 0; box-shadow: 0 -4px 20px rgba(0,0,0,.2); -webkit-overflow-scrolling: touch; }
.sheet-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: center; height: 40px; margin: 0 -16px 4px; background: var(--surface); border-radius: 18px 18px 0 0; }
.sheet-top .handle { margin: 0; }
.sheet-close { position: absolute; right: 6px; top: 2px; width: 40px; height: 36px; border: 0; background: var(--surface-2); color: var(--muted); border-radius: 10px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.sheet-close:active { background: var(--line); }
.sheet > :last-child { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.sheet > :last-child:has(.actions.sticky) { padding-bottom: 0; }
@media (min-width: 760px) { .sheet { left: 50%; transform: translateX(-50%); width: 680px; bottom: calc(var(--tab-real) + 4vh); border-radius: 18px; } .sheet-top { border-radius: 18px 18px 0 0; } }
.sheet .handle { width: 40px; height: 4px; background: var(--line); border-radius: 2px; margin: 0 auto; }
.sheet h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sheet h3 { font-size: 13px; color: var(--muted); margin: 14px 0 6px; letter-spacing: .02em; }
.kv { display: grid; grid-template-columns: 100px 1fr; gap: 4px 10px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; white-space: pre-line; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.tag.warn { border-color: var(--today); color: var(--today); }
.tag.danger { border-color: var(--overdue); color: var(--overdue); }
.history { list-style: none; padding: 0; margin: 0; }
.history li { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.history li .d { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--muted); }
.history li .x { margin-left: auto; color: var(--muted); background: none; border: 0; min-width: 36px; min-height: 36px; }

/* 폼 */
.form { display: grid; gap: 10px; }
.form label, .form .field { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.form label:has(> input[type=checkbox]) { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; min-height: 36px; }
.form label:has(> input[type=checkbox]) input { width: 20px; height: 20px; }
.form input, .form select, .form textarea { padding: 10px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 16px; width: 100%; min-height: 44px; }
.form textarea { min-height: 72px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; flex-wrap: wrap; }
.form .actions .left { margin-right: auto; }
.actions.sticky { position: sticky; bottom: 0; z-index: 2; background: var(--surface); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin: 6px -16px 0; }
.suggest { border: 1px solid var(--line); border-radius: 10px; max-height: 180px; overflow: auto; background: var(--surface); }
.suggest div { padding: 10px; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--text); }
.suggest div:active { background: var(--surface-2); }

/* 목록 필터 */
.filters { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.filters input, .filters select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); min-height: 40px; font-size: 15px; }
.filters input { flex: 1 1 100%; min-width: 120px; }
.filters select { flex: 1; }

/* 토스트/배너 */
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-real) + 16px); z-index: 45; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 9px 14px; border-radius: 999px; font-size: 13px; z-index: 40; box-shadow: var(--shadow); max-width: 92vw; text-align: center; }
.banner { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font-size: 13.5px; margin-bottom: 10px; }
.banner.warn { border-color: var(--today); }
.banner.error { border-color: var(--overdue); color: var(--overdue); }
.settings .form { max-width: 520px; }
.small { font-size: 12.5px; color: var(--muted); }
pre.report { white-space: pre-wrap; font-size: 12px; background: var(--surface-2); padding: 10px; border-radius: 10px; max-height: 240px; overflow: auto; }

/* 사진 식별 */
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slot { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.slot-title { font-size: 13px; font-weight: 700; }
.slot .req { font-size: 10px; color: var(--overdue); border: 1px solid var(--overdue); border-radius: 999px; padding: 0 5px; vertical-align: 1px; }
.slot .thumb { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; }
.slot .x { position: absolute; right: 6px; top: 6px; padding: 2px 8px; min-height: 30px; }
.cands { display: grid; gap: 6px; }
.cand { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.cand input { width: 18px; height: 18px; }

/* 사진 썸네일 */
.card .avatar { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); border: 1px solid var(--line); }
.card .avatar.ph { display: flex; align-items: center; justify-content: center; font-size: 22px; }
.detail-head { display: flex; gap: 12px; align-items: flex-start; }
.detail-head .grow { flex: 1; min-width: 0; }
.detail-photo { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; border: 1px solid var(--line); cursor: pointer; transition: width .15s, height .15s; }
.detail-photo.big { width: 100%; height: auto; max-height: 60vh; object-fit: contain; }
.detail-photo.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--surface-2); color: var(--muted); font-size: 22px; }
.detail-photo.ph span { font-size: 11px; }
.detail-head:has(.detail-photo.big) { flex-direction: column-reverse; }
.progress { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; width: 40%; background: var(--accent); animation: slide 1.2s infinite ease-in-out; }
@keyframes slide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
@media (min-width: 760px) { .filters input { flex: 1 1 auto; } }

/* PIN 로그인 */
.login { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-box { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; box-shadow: var(--shadow); text-align: center; }
.login-box h2 { font-size: 20px; margin-bottom: 4px; }
.login-box form { display: grid; gap: 10px; margin: 14px 0 10px; }
.login-box form > * { width: 100%; box-sizing: border-box; min-width: 0; margin: 0; }
.login-box input { display: block; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 22px; text-align: center; letter-spacing: .3em; min-height: 52px; -webkit-appearance: none; appearance: none; }
.login-box form .btn { display: flex; }
.login-msg { min-height: 20px; font-size: 13.5px; color: var(--overdue); }

/* 구역 편집 (접이식) */
.zone-box { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.zone-box summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; cursor: pointer; color: var(--text); font-size: 14px; }
.zone-box summary::-webkit-details-marker { display: none; }
.zone-box .zone-summary { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zone-box .zone-summary b { font-weight: 700; margin-right: 6px; }
.zone-box .zone-summary span { color: var(--muted); }
.zone-box .chev { color: var(--muted); transition: transform .15s; }
.zone-box[open] .chev { transform: rotate(180deg); }
.zone-box[open] summary { border-bottom: 1px solid var(--line); }
.zone-rows { list-style: none; margin: 0; padding: 0; max-height: 264px; overflow: auto; }
.zone-rows li { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 12px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; }
.zone-rows li .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zone-rows li .use { font-size: 12px; color: var(--accent); white-space: nowrap; border: 0; background: none; padding: 8px 10px; min-height: 40px; }
.zone-rows li .del { border: 0; background: none; color: var(--muted); width: 40px; height: 40px; border-radius: 8px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.zone-rows li .del:active { background: var(--surface-2); }
.zone-rows li.empty { color: var(--muted); font-size: 13px; }
.zone-add { display: flex; gap: 6px; padding: 8px; background: var(--surface-2); }
.zone-add input { flex: 1; min-height: 40px; padding: 8px 10px; }
.zone-add .btn { min-height: 40px; }
.zone-help { display: block; padding: 6px 12px 8px; }

/* 모아심기 · 품종/사진 */
.photo-box { position: relative; flex: none; }
.photo-add { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--surface); background: var(--accent); color: var(--accent-ink); font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.detail-head:has(.detail-photo.big) .photo-box { width: 100%; }
.sp-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin: 8px 0; }
.sp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sp-head .btn { white-space: nowrap; }
.sp-primary { display: flex; align-items: center; gap: 4px; font-size: 13px; white-space: nowrap; }
.sp-primary input { width: 18px; height: 18px; }
.sp-slots .slot .thumb.ph { display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--muted); background: var(--surface-2); height: 90px; }
.sp-slots .slot .thumb { height: 90px; cursor: pointer; }
.sp-row { display: flex; gap: 10px; align-items: flex-start; }
.sp-row .kv { flex: 1; min-width: 0; }
.sp-thumbs { display: flex; flex-direction: column; gap: 4px; flex: none; }
.sp-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.viewer { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.viewer img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.viewer-title { color: #fff; font-size: 13px; }

/* 등록 폼 상단 2분할 버튼 */
.fill-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fill-row .btn { min-height: 56px; line-height: 1.25; text-align: center; padding: 6px 8px; }

/* 등록 폼 사진 슬롯 */
.form-slots { margin-bottom: 10px; }
.form-slots .slot .thumb { height: 90px; }
.form-slots .slot .thumb.ph { display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--muted); background: var(--surface-2); }

/* 폼: 화분 내 다른 품종 */
.comp-box { border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; }
.comp-box .section-title .btn { white-space: nowrap; flex: none; }
.comp-tag { display: inline-flex; align-items: center; gap: 4px; margin: 2px 4px 2px 0; }
.comp-tag button { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 0 4px; min-height: 24px; }
.copy-row input { width: 20px; height: 20px; flex: none; }
.filters #btnCopyGo { flex: none; min-height: 40px; white-space: nowrap; }

/* 폼: 품종 목록 + 사진 버튼 */
.sp-list { display: flex; flex-direction: column; gap: 6px; }
.sp-item { display: flex; align-items: center; gap: 6px; min-height: 40px; }
.sp-item .sp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: 14px; }
.sp-item .btn { white-space: nowrap; }

/* 키퍼 목록 */
.keeper-row input { min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 15px; min-width: 0; }
.keeper-row .k-name { flex: 1; } .keeper-row .k-email { flex: 1.4; }

/* 담당자 칩 */
.keeper-tag { border-color: var(--hydro); color: var(--hydro); background: transparent; font-size: 11px; padding: 1px 7px; }
