/* dev site marker (src/DevMark.tsx): an amber block in the sidebar just above the line over the account button. It takes
   the sidebar's free space (margin-top: auto, as the account button does), so it sits below the last nav item and never
   over it */
.dev-mark { margin-top: auto; margin-bottom: 10px; padding: 8px 10px; border-radius: 8px; background: #fdf3d8; border: 1px solid #e9cf7e; color: #6b4600; font: 500 12px/1.35 Inter, system-ui, sans-serif; }
.dev-mark b { font-weight: 700; letter-spacing: 0.06em; margin-right: 4px; }
.dev-mark-s { display: block; color: #8a6a1f; font-size: 11px; }
.dev-mark ~ .os-gm-lost, .dev-mark ~ .hq-side-me { margin-top: 0; }
.hq-side.is-slim .dev-mark { padding: 6px 0; text-align: center; }
.hq-side.is-slim .dev-mark-t, .hq-side.is-slim .dev-mark-s { display: none; }
.hq-side.is-slim .dev-mark b { margin: 0; }
[data-theme="dark"] .dev-mark { background: #3a2e12; border-color: #6b5520; color: #f3d98f; }
[data-theme="dark"] .dev-mark-s { color: #d8bd70; }
/* phone: the sidebar is a top bar; the marker is a small tag in it */
@media (max-width: 860px) {
  .dev-mark { margin: 0; padding: 3px 6px; }
  .dev-mark-t, .dev-mark-s { display: none; }
}
/* read only: the controls that would save are hidden (the adapter refuses them too) */
.rif-upload, .tp-check input { display: none !important; }

/* the team's Google button (src/auth.ts googleButton): the Cognito GoogleTeam redirect drawn as Google's own light "Sign in
   with Google" button (Google's sign-in branding guidelines), full width of the sign-in card as live's GIS button */
.os-gbtn { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; background: #fff; border: 1px solid #747775; border-radius: 4px; color: #1f1f1f; font: 500 14px/20px "Google Sans", Roboto, Arial, sans-serif; letter-spacing: .25px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .218s, box-shadow .218s; }
.os-gbtn svg { flex: none; }
.os-gbtn:hover { background: #f7f8f8; box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); }
.os-gbtn:active { background: #ececec; }
.hq-google:has(.os-gbtn) { display: block; }

/* no "Open in Zoho CRM" links (user 2026-12-03: Zoho CRM goes read-only at the switch-over; before, only records made
   in v2, ids 99000000000000...). Hides every plain link to the CRM; a row that is the record itself (kit/Go.tsx, os-go)
   stays. Menu items and links that are a record's name: build.mjs no-crm */
a[href^="https://crm.zoho.com/"]:not(.os-go) { display: none !important; }

/* a servicing loan's Ledger on a phone (user 2026-12-03): the page itself no longer scrolls sideways (the full-width
   bands' -16px bleed is clipped) and narrower Date and Entry columns show the whole Cash amount; the other columns
   scroll inside the ledger as before (vendor styles.css .sv-lp-ledger overflow-x auto) */
@media (max-width: 640px) {
  .sv-lp-main > .sv-lp-body { overflow-x: clip; }
  .sv-lp-ledger > .sv-row.sv-one-row { grid-template-columns: 64px minmax(140px, 1fr) 112px repeat(4, 104px) 124px; padding-left: 12px; padding-right: 12px; }
}
