/* Contacts Manager — Phase 1 (v1.78): Today, weekly review, More, drafts, business pick. Loaded after index.html's styles. */
/* business label + pick */
.biz-tag { display: inline-flex; align-items: center; max-width: 100%; font-size: 11.5px; font-weight: 700; line-height: 1.2; padding: 2px 8px; border-radius: 999px;
  color: var(--bc); background: color-mix(in srgb, var(--bc) 12%, #fff); border: 1px solid color-mix(in srgb, var(--bc) 28%, #fff); margin-right: 6px; white-space: nowrap; vertical-align: middle; }
.biz-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.biz-pick button { min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid #dbe1ea; background: #fff; color: #334155; font: inherit; font-size: 14px; font-weight: 600; }
.biz-pick button.active { border-color: var(--bc); background: color-mix(in srgb, var(--bc) 14%, #fff); color: var(--bc); }
.biz-filter { width: 100%; margin: 10px 0 0; min-height: 42px; }
.chip .chip-n { font-weight: 800; opacity: .75; margin-left: 2px; }
/* Today */
.t-head { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 12px; }
.t-date { font-size: 20px; font-weight: 800; color: var(--text); }
.t-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.t-stat { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13.5px; color: var(--text-dim); box-shadow: var(--shadow-sm); }
.t-stat b { color: var(--text); font-size: 15px; margin-right: 3px; }
.t-stat.red b { color: #dc2626; } .t-stat.amber b { color: #b45309; }
.t-review { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1.5px solid #c7d2fe; background: #eef2ff; border-radius: 16px; padding: 12px 12px 12px 14px; font: inherit; color: var(--text); margin-bottom: 6px; }
.t-review > span:first-child { font-size: 24px; }
.tr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tr-main span { font-size: 13.5px; color: var(--text-dim); overflow-wrap: anywhere; }
.t-sec { margin-top: 18px !important; }
.t-clear { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 22px 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.t-clear .big { font-size: 34px; } .t-clear span { color: var(--text-dim); font-size: 14px; }
.ti { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); margin-bottom: 10px; overflow: hidden; transition: opacity .2s, transform .2s; }
.ti.late { border-left: 4px solid #f87171; }
.ti.going { opacity: .35; transform: scale(.98); }
.ti-open { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; border: 0; background: none; font: inherit; color: var(--text); padding: 12px 10px 8px 12px; }
.ti-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2, #f1f5f9); display: grid; place-items: center; font-size: 16px; }
.ti-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ti-main b { font-size: 15.5px; overflow-wrap: anywhere; }
.ti-sub { font-size: 13.5px; color: var(--text-dim); overflow-wrap: anywhere; }
.ti-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--faint, #94a3b8); }
.ti-late { color: #dc2626; font-weight: 700; } .ti-today { color: #b45309; font-weight: 700; } .ti-soon { color: var(--text-dim); font-weight: 600; }
.ti-chev { flex: none; align-self: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2, #f1f5f9); display: grid; place-items: center; font-weight: 700; color: var(--text-dim); }
.ti-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 10px 10px; }
.ti-acts button { min-width: 0; min-height: 40px; border-radius: 12px; border: 1.5px solid #dbe1ea; background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: #334155; padding: 6px 4px; overflow-wrap: anywhere; }
.ti-acts button:first-child { background: var(--primary, #4c6ef5); border-color: var(--primary, #4c6ef5); color: #fff; }
.t-more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border-radius: 14px; border: 1.5px solid #dbe1ea; background: #fff; font: inherit; font-weight: 700; color: var(--primary-dark, #3b5bdb); margin: 4px 0 8px; cursor: pointer; list-style: none; }
.t-more::-webkit-details-marker { display: none; }
.t-week[open] > summary { margin-bottom: 10px; }
.tw-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 0; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 10px 12px; margin-bottom: 8px; font: inherit; color: var(--text); flex-wrap: wrap; }
.tw-day { flex: none; font-size: 12.5px; font-weight: 800; color: var(--primary-dark, #3b5bdb); min-width: 48px; }
.tw-main { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 2px; }
.tw-main b { font-size: 14.5px; overflow-wrap: anywhere; } .tw-main span { font-size: 13px; color: var(--text-dim); overflow-wrap: anywhere; }
.t-add { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.t-add .action-tile { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; font: inherit; padding: 12px 4px; }
.t-add .action-tile .ic { font-size: 20px; } .t-add .action-tile .lbl { font-size: 12.5px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.t-hint { font-size: 13px; color: var(--text-dim); margin: 12px 2px 0; line-height: 1.45; }
/* More */
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.more-btn { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid #dbe1ea; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--text); text-align: left; }
.more-btn .ic { font-size: 22px; flex: none; }
.more-btn span:last-child { overflow-wrap: anywhere; }
.more-help { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 14px; padding: 0 16px; border-radius: 14px; background: #25D366; border: 1px solid rgba(0,0,0,.08); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgba(37,211,102,.3); }
.more-help:active { transform: scale(.98); }
nav.bottomnav #moreBtn.active { color: var(--primary-dark, #3b5bdb); }
/* Weekly review */
.rv-intro { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 22px 18px; text-align: center; }
.rv-intro .big { font-size: 38px; } .rv-intro h3 { margin: 6px 0 8px; font-size: 20px; }
.rv-intro p { color: var(--text-dim); margin: 0 0 10px; }
.rv-how { text-align: left; margin: 0 0 16px; padding-left: 20px; color: var(--text); line-height: 1.7; font-size: 14.5px; }
.rv-start { width: 100%; }
.rv-last { margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.rv-sum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0 16px; }
.rv-sum span { background: var(--surface-2, #f1f5f9); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; font-size: 13px; color: var(--text-dim); }
.rv-sum b { font-size: 22px; color: var(--text); }
.rv-prog { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--text-dim); margin-bottom: 10px; }
.rv-bar { flex: 1; height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; } .rv-bar i { display: block; height: 100%; background: var(--primary, #4c6ef5); }
.rv-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 16px; margin-bottom: 12px; }
.rv-kind { font-size: 13px; color: var(--text-dim); font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rv-title { font-size: 18px; font-weight: 800; margin-top: 8px; overflow-wrap: anywhere; }
.rv-sub { font-size: 14.5px; color: var(--text-dim); margin-top: 4px; overflow-wrap: anywhere; }
.rv-due { font-size: 13.5px; color: #dc2626; font-weight: 700; margin-top: 8px; }
.rv-open { margin-top: 12px; min-height: 38px; padding: 6px 14px; border-radius: 12px; border: 0; background: var(--primary-tint, #eef2ff); color: var(--primary-dark, #3b5bdb); font: inherit; font-weight: 700; }
.rv-acts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rv-a { min-width: 0; min-height: 50px; border-radius: 14px; border: 1.5px solid #dbe1ea; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--text); padding: 8px; }
.rv-a.ok { background: var(--primary, #4c6ef5); border-color: var(--primary, #4c6ef5); color: #fff; }
.rv-a.bad { color: #be123c; border-color: #fecdd3; }
.rv-a.ghost { background: var(--surface-2, #f1f5f9); border-color: transparent; color: var(--text-dim); }
.rv-panel { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 12px; margin-top: 12px; }
.rv-row { display: flex; gap: 8px; flex-wrap: wrap; } .rv-row > * { flex: 1 1 130px; min-width: 0; margin: 0; }
/* Drafts */
.dr-card { margin-top: 12px; }
.cc-hint.ok { color: #15803d; }
/* Contact page: the rest folded */
.prof-more { margin-top: 12px; }
.prof-more-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 14px; border: 1.5px solid #dbe1ea; background: #fff; font-weight: 700; color: var(--primary-dark, #3b5bdb); cursor: pointer; list-style: none; text-align: center; padding: 8px 12px; }
.prof-more-btn::-webkit-details-marker { display: none; }
.prof-more[open] > .prof-more-btn { margin-bottom: 12px; }
/* Settings → businesses */
.sb-row { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 14px; padding: 10px 12px; margin-top: 8px; }
.sb-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sb-btn { min-height: 34px; padding: 5px 10px; border-radius: 10px; border: 0; background: var(--primary-tint, #eef2ff); color: var(--primary-dark, #3b5bdb); font: inherit; font-size: 13px; font-weight: 700; }
.sb-btn.danger { background: #fff1f2; color: #be123c; }
.sb-name { font-size: 13.5px; color: var(--text-dim); margin-top: 6px; overflow-wrap: anywhere; }
/* Ask button on Today too */
body.v-dashboard .ck-fab:not([hidden]) { display: inline-flex !important; }
/* ===== Price outlook (v1.79): ticker on Today + the write-up ===== */
/* Forecast graphs slider (v1.81) — replaces the ticker */
#tkr { margin: 0 -16px 14px; } #tkr:empty { display: none; }
.fs-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 16px 8px; }
.fs-top b { font-size: 16px; } .fs-top span { font-size: 12.5px; color: var(--text-dim); flex: 1; min-width: 90px; }
.fs-all, .fs-why { min-height: 36px; padding: 6px 12px; border-radius: 12px; border: 0; background: var(--primary-tint, #eef2ff); color: var(--primary-dark, #3b5bdb); font: inherit; font-size: 13.5px; font-weight: 700; }
.fs-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 6px; scroll-padding: 0 16px; scrollbar-width: none; }
.fs-track::-webkit-scrollbar { display: none; }
.fs-slide { flex: 0 0 calc(100% - 40px); min-width: 0; scroll-snap-align: center; background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.fs-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fs-head b { font-size: 16px; }
.fs-head .tk-sym { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 3px; border-radius: 6px; background: #2b2f31; color: #fff; font-size: 11px; font-weight: 800; }
.fs-dir { margin-left: auto; font-size: 12.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; white-space: nowrap; }
.fs-dir.up { color: #b91c1c; background: #fef2f2; } .fs-dir.down { color: #15803d; background: #f0fdf4; } .fs-dir.steady { color: #475569; }
.fs-now { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.fs-sub { font-size: 12.5px; color: var(--text-dim); }
.fs-chart { position: relative; }
.fs-svg { width: 100%; height: auto; display: block; overflow: visible; }
.fs-grid { stroke: #e8ebf0; stroke-width: 1; }
.fs-ax { fill: #6b7280; font-size: 10.5px; font-family: inherit; }
.fs-lab { fill: #1f2937; font-size: 11.5px; font-weight: 700; font-family: inherit; }
.fs-today { stroke: #94a3b8; stroke-width: 1; stroke-dasharray: 2 3; }
.fs-cross { stroke: #334155; stroke-width: 1; }
.fs-tip { position: absolute; top: 0; z-index: 2; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 4px 14px rgba(15,23,42,.12); border-radius: 10px; padding: 6px 9px; display: flex; flex-direction: column; gap: 1px; max-width: 220px; pointer-events: none; }
.fs-tip[hidden] { display: none; }
.fs-tip b { font-size: 14px; font-variant-numeric: tabular-nums; } .fs-tip span { font-size: 11.5px; color: var(--text-dim); }
.fs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fs-tile { min-width: 0; background: var(--surface-2, #f8fafc); border-radius: 12px; padding: 7px 6px; display: flex; flex-direction: column; gap: 1px; text-align: center; }
.fs-tile span { font-size: 11.5px; color: var(--text-dim); font-weight: 700; }
.fs-tile b { font-size: 14px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } .fs-tile b.up { color: #b91c1c; } .fs-tile b.down { color: #15803d; } .fs-tile b.steady { color: #334155; }
.fs-tile small { font-size: 10.5px; color: var(--text-dim); overflow-wrap: anywhere; }
.fs-sum { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; }
.fs-why { align-self: flex-start; margin-top: auto; }
.fs-dots { display: flex; justify-content: center; gap: 2px; padding-top: 2px; }
.fs-dot { width: 26px; height: 26px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.fs-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.fs-dot.on::after { background: var(--primary, #4c6ef5); width: 18px; border-radius: 99px; }
.fc-dg { margin-top: 12px; } .fc-dg b { font-size: 14px; }
.fc .fs-chart { margin-top: 8px; }
.fc { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 18px 16px; line-height: 1.55; }
.fc-title { font-size: 21px; line-height: 1.3; margin: 0 0 6px; }
.fc-meta, .fc-small { font-size: 12.5px; color: var(--text-dim); }
.fc-intro { font-size: 15.5px; margin: 12px 0; }
.fc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 8px 0 6px; table-layout: fixed; }
.fc-table th { text-align: left; font-size: 12px; color: var(--text-dim); font-weight: 700; padding: 6px 4px; border-bottom: 1px solid #e2e8f0; }
.fc-table td { padding: 8px 4px; border-bottom: 1px solid #f1f5f9; vertical-align: top; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fc-table td:first-child { font-weight: 700; }
.fc-table td a { color: var(--primary-dark, #3b5bdb); text-decoration: none; }
.fc-table td.up b, .fc-dir.up { color: #dc2626; } .fc-table td.down b, .fc-dir.down { color: #15803d; } .fc-table td.steady b, .fc-dir.steady { color: #64748b; }
.fc-sec { margin-top: 22px; padding-top: 14px; border-top: 1px solid #eef2f7; }
.fc-sec h3 { margin: 0 0 4px; font-size: 17.5px; }
.fc-sum { font-weight: 600; margin: 10px 0; }
.fc-h { background: var(--surface-2, #f8fafc); border-radius: 14px; padding: 10px 12px; margin-top: 10px; }
.fc-hh { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 800; font-size: 14.5px; }
.fc-num { font-weight: 800; font-size: 15px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.fc-num span { font-weight: 600; font-size: 12.5px; color: var(--text-dim); margin-left: 4px; }
.fc-h p { margin: 6px 0 0; font-size: 14.5px; }
.fc-cite { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--primary-tint, #eef2ff); color: var(--primary-dark, #3b5bdb); text-decoration: none; margin: 0 2px; vertical-align: 1px; }
.fc-watch { margin-top: 10px; font-size: 14px; } .fc-watch ul { margin: 4px 0 0; padding-left: 20px; }
.fc-src { list-style: none; padding: 0; margin: 8px 0 0; }
.fc-src li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; border-radius: 10px; transition: background .3s; }
.fc-src li.flash, .fc-sec.flash { background: #fef9c3; }
.fc-sid { flex: none; width: 34px; height: 26px; border-radius: 8px; background: #0f172a; color: #fbbf24; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.fc-st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 14px; overflow-wrap: anywhere; }
.fc-st span { font-size: 12.5px; color: var(--text-dim); }
.fc-open { align-self: flex-start; margin-top: 4px; min-height: 34px; display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 10px; background: var(--primary-tint, #eef2ff); color: var(--primary-dark, #3b5bdb); font-weight: 700; font-size: 13px; text-decoration: none; }
.fc-how { margin-top: 18px; } .fc-how p { font-size: 13.5px; color: var(--text-dim); }
.fc-disc { margin-top: 14px; }
/* the first column holds names: never break a word (no-cut-text rule) */
.fc-table td:first-child, .fc-table th:first-child { width: 31%; overflow-wrap: normal; word-break: normal; hyphens: none; }

.fs-wait { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 14px; min-height: 52px; }
.fs-wait b { font-size: 15px; } .fs-wait span:not(.spinner) { flex: 1; min-width: 120px; font-size: 13.5px; color: var(--text-dim); }
/* Owner 15 Nov 2026: "Decrease side padding for explainer pages" → the Price outlook write-up uses the screen width
   (was 16 px page + 16 px card on each side = 32 px; now 6 + 12 = 18 px). */
body.v-forecast main#viewport { padding-left: 6px; padding-right: 6px; padding-top: 8px; }
body.v-forecast .fc { padding: 16px 12px; border-radius: 14px; }
body.v-forecast .fc-h { padding: 10px; }

/* v1.84: reliability, buying prices */
.fs-acc { font-size: 11.5px; color: var(--text-dim); }
.fs-setp { margin-top: 0; }
.fc-rel { margin-top: 10px; } .fc-relh { cursor: pointer; font-weight: 700; color: var(--primary-dark, #3b5bdb); min-height: 40px; display: flex; align-items: center; list-style: none; }
.fc-rel .fc-table td, .fc-rel .fc-table th { font-size: 12.5px; }
.fc-prices { background: var(--surface-2, #f8fafc); border-radius: 14px; padding: 12px; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.fc-pl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-weight: 700; font-size: 14px; }
.fc-pin { display: flex; align-items: center; gap: 4px; flex: 0 0 140px; } .fc-pin input { margin: 0; min-height: 42px; }
.fc-psave { width: 100%; }

/* v1.86: Ask never sits over an open form (the Today rule above must not override this) */
body:has(.sheet.open) .ck-fab, body:has(.cropper-overlay.open) .ck-fab { display: none !important; }
/* contact page: set / change the follow-up */
.kn-fu-none { display: flex; }
.kn-fu-btns button { min-height: 38px; padding: 6px 12px; border-radius: 12px; border: 0; background: var(--primary-tint, #eef2ff); color: var(--primary-dark, #3b5bdb); font: inherit; font-size: 13.5px; font-weight: 700; }
.kn-fu-btns button.primary { background: var(--primary, #4c6ef5); color: #fff; }
.kn-fu-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.kn-fu-edit { margin-top: 10px; }

/* ===== v1.87 form tidy-up (owner: compact, clearly marked, easy to fill, same look everywhere) ===== */
.biz-pick.is-compact { align-items: center; }
.biz-pick.is-compact .biz-tag { font-size: 13px; padding: 5px 12px; }
.biz-none { font-size: 14px; color: var(--text-dim); }
.biz-change { min-height: 34px; padding: 5px 12px; border-radius: 10px; border: 0; background: var(--primary-tint, #eef2ff); color: var(--primary-dark, #3b5bdb); font: inherit; font-size: 13px; font-weight: 700; }
.form-box { background: #f8fafc; border: 1px solid #e6eaf1; border-radius: 14px; padding: 10px 12px 12px; margin-top: 14px; }
.form-box > label:first-of-type, .form-box .row2 label { margin-top: 6px; }
.form-box-h { font-size: 14px; font-weight: 800; color: var(--text); }
.form-box-h span { font-weight: 600; font-size: 12.5px; color: var(--text-dim); }
.form-box input[type=date] { margin-top: 6px; }
.form-more { margin-top: 14px; border: 1px solid #e6eaf1; border-radius: 14px; padding: 0 12px; background: #fff; }
.form-more > summary { list-style: none; cursor: pointer; min-height: 46px; display: flex; align-items: center; font-weight: 700; font-size: 14px; color: var(--primary-dark, #3b5bdb); }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary::after { content: '▾'; margin-left: auto; padding-left: 8px; }
.form-more[open] { padding-bottom: 12px; } .form-more[open] > summary::after { content: '▴'; }
#bkKind { margin-top: 4px; }
/* Journal note sheet: same look as every other form */
#jSheet .pa-field > label, #jSheet .pa-field label { color: var(--text-dim) !important; font-size: 13.5px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; }
#jSheet .line-input { border: 1.5px solid #e2e7ef !important; border-radius: 12px !important; background: #fff !important; padding: 11px 12px !important; min-height: 46px; box-shadow: none !important; }
#jSheet .line-input:focus { border-color: var(--primary, #4c6ef5) !important; outline: none; }
#jSheet textarea.line-input { min-height: 96px; }
#jSheet .pa-field { margin-top: 12px; }
/* Settings → businesses: label on its own line, buttons in one row */
.sb-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.sb-top .biz-tag { grid-column: 1 / -1; justify-self: start; }
.sb-top .sb-btn { min-width: 0; }

/* ===== v1.88: one ＋ button bottom right (Ask, Note, To-do, Scan a card, Contact) ===== */
body.has-plus .ck-fab.ck-fab.ck-fab:not([data-never]) { display: none !important; } /* Ask lives in the ＋ menu */
#plusWrap { display: none; }
body.plus-on #plusWrap { display: block; }
body:has(.sheet.open) #plusWrap, body.ck-open #plusWrap, body:has(.cropper-overlay.open) #plusWrap { display: none !important; }
.plus-fab { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60; width: 60px; height: 60px; border-radius: 50%; border: 0;
  background: var(--primary, #4c6ef5); color: #fff; box-shadow: 0 8px 22px rgba(76,110,245,.38); display: grid; place-items: center; cursor: pointer; }
.plus-fab span { font-size: 34px; line-height: 1; font-weight: 300; transition: transform .18s ease; display: block; margin-top: -2px; }
#plusWrap.open .plus-fab span { transform: rotate(45deg); }
.plus-dim { position: fixed; inset: 0; z-index: 58; background: rgba(15,23,42,.38); opacity: 0; pointer-events: none; transition: opacity .15s; }
#plusWrap.open .plus-dim { opacity: 1; pointer-events: auto; }
.plus-menu { position: fixed; right: 16px; bottom: calc(156px + env(safe-area-inset-bottom)); z-index: 59; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .15s, transform .15s; }
#plusWrap.open .plus-menu { opacity: 1; transform: none; pointer-events: auto; }
.plus-item { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.plus-lbl { background: #fff; color: var(--text, #111827); font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 12px; box-shadow: 0 4px 14px rgba(15,23,42,.16); white-space: nowrap; }
.plus-ic { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 4px 14px rgba(15,23,42,.18); }
.plus-item[data-plus="ask"] .plus-ic { background: #1e2a44; }
@media (prefers-reduced-motion: reduce) { .plus-menu, .plus-dim, .plus-fab span { transition: none; } }
body.plus-on main#viewport { padding-bottom: 100px; }

/* v1.89: the graphs sit below the pending items */
#tkr { margin: 22px -16px 8px !important; }
