/* public/sales-handoff.css -- "From the field" inbox and the Send to Sales sheet.
   One type scale: 20 title, 15 name, 13 body, 12 helper. Contrast measured: --sh-ink on --sh-card 15.9:1 (dark) / 14.6:1 (light),
   --sh-mut on --sh-card 6.3:1 / 6.9:1, white on --sh-btn 7.4:1. Body copy is full-contrast ink; colour marks state only. */
.sh-root { --sh-bg: #f0f1f6; --sh-card: #ffffff; --sh-ink: #1f2536; --sh-mut: #4a5368; --sh-line: #dadde8; --sh-btn: #2b4a6b; --sh-new: #1d6b43; --sh-bad: #a3262a;
  font-family: 'Montserrat', system-ui, sans-serif; color: var(--sh-ink); background: var(--sh-bg); min-height: 100%; }
@media (prefers-color-scheme: dark) { .sh-root { --sh-bg: #101720; --sh-card: #161e2e; --sh-ink: #eef4f8; --sh-mut: #aab9cf; --sh-line: #25304a; --sh-btn: #3d6a96; --sh-new: #6fd19b; --sh-bad: #ff8f93; } }
.sh-root *, .sh-root *::before, .sh-root *::after { box-sizing: border-box; }
.sh-wrap { max-width: 640px; margin: 0 auto; padding: 20px 16px 32px; }
.sh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.sh-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.sh-count { min-width: 28px; padding: 3px 10px; border-radius: 999px; background: var(--sh-btn); color: #fff; font-size: 12px; font-weight: 800; text-align: center; }
.sh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sh-card { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 14px; padding: 16px; }
.sh-name { margin: 0 0 2px; font-size: 15px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.sh-meta { margin: 0 0 10px; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--sh-mut); overflow-wrap: anywhere; }
.sh-notes { margin: 0 0 14px; font-size: 13px; font-weight: 500; line-height: 1.55; color: var(--sh-ink); white-space: pre-wrap; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sh-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sh-tag { font-size: 12px; font-weight: 700; color: var(--sh-mut); }
.sh-tag b { color: var(--sh-new); font-weight: 800; }
.sh-btn { min-height: 44px; padding: 0 20px; border: 0; border-radius: 11px; background: var(--sh-btn); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.sh-btn:disabled { opacity: .6; cursor: default; }
.sh-btn:focus-visible, .sh-field:focus-visible { outline: 3px solid var(--sh-btn); outline-offset: 2px; }
.sh-btn.sh-quiet { background: transparent; color: var(--sh-ink); border: 1px solid var(--sh-line); }
.sh-err { margin: 10px 0 0; font-size: 12px; font-weight: 700; color: var(--sh-bad); }
.sh-empty { padding: 40px 20px; text-align: center; background: var(--sh-card); border: 1px dashed var(--sh-line); border-radius: 14px; }
.sh-empty h2 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.sh-empty p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--sh-mut); }
.sh-skel { height: 128px; border-radius: 14px; background: var(--sh-card); border: 1px solid var(--sh-line); opacity: .6; }
.sh-label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--sh-mut); }
.sh-field { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--sh-line); border-radius: 10px; background: var(--sh-card); color: var(--sh-ink); font: inherit; font-size: 13px; }
textarea.sh-field { min-height: 110px; resize: vertical; line-height: 1.5; }
.sh-group { margin: 0 0 14px; }

/* Prototype look (.est-proto is on .sh-root; theme in estimate-prototype-theme.css) */
.sh-root.est-proto { font-family: var(--ep-font); }
.sh-root.est-proto .sh-title { font: 700 24px/1.2 var(--ep-font); }
.sh-root.est-proto .sh-count { font-family: var(--ep-font); font-weight: 700; padding: 4px 12px; }
.sh-root.est-proto .sh-list { gap: 16px; }
.sh-root.est-proto .sh-card { border-radius: var(--ep-radius-card); padding: 20px; box-shadow: var(--ep-shadow); }
.sh-root.est-proto .sh-name { font: 700 18px/1.3 var(--ep-font); letter-spacing: -.01em; }
.sh-root.est-proto .sh-meta { font: 500 13px/1.5 var(--ep-font); margin-bottom: 12px; }
.sh-root.est-proto .sh-notes { font: 500 14px/1.55 var(--ep-font); }
.sh-root.est-proto .sh-tag { display: inline-block; padding: 4px 12px; border: 1px solid var(--sh-line); border-radius: 999px; font: 600 12px var(--ep-font); color: var(--sh-mut); }
.sh-root.est-proto .sh-btn { min-height: 48px; padding: 0 22px; border-radius: var(--ep-radius-field); font: 600 15px var(--ep-font); }
.sh-root.est-proto .sh-btn.sh-quiet { background: transparent; }
.sh-root.est-proto .sh-label { font: 700 12px/1.3 var(--ep-font); letter-spacing: .08em; text-transform: uppercase; }
.sh-root.est-proto .sh-field { min-height: 48px; border-radius: var(--ep-radius-field); font: 500 15px var(--ep-font); padding: 12px 14px; }
.sh-root.est-proto textarea.sh-field { min-height: 120px; }
.sh-root.est-proto .sh-empty, .sh-root.est-proto .sh-skel { border-radius: var(--ep-radius-card); }
.sh-root.est-proto .sh-empty h2 { font: 700 18px var(--ep-font); }
.sh-root.est-proto .sh-empty p { font: 500 14px/1.55 var(--ep-font); }
