:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --text: #17212b;
  --muted: #6b7280;
  --line: #dbe1e8;
  --accent: #1f6f5f;
  --accent-dark: #155447;
  --warning: #9a6700;
  --danger: #b42318;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell { height: 100%; display: flex; flex-direction: column; }
.topbar { min-height: 68px; flex: 0 0 auto; display: grid; grid-template-columns: 280px minmax(300px, 680px) 1fr; gap: 16px; align-items: center; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); z-index: 1000; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; border-radius: 10px; }
.brand-title { font-weight: 750; line-height: 1.05; }
.brand-subtitle { color: var(--muted); font-size: 12px; margin-top: 3px; }
.search { display: flex; min-width: 0; }
.search-autocomplete-mount { flex: 1; min-width: 0; display: flex; }
.search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px 0 0 8px; padding: 10px 12px; outline: none; }
.search input:focus { border-color: var(--accent); }
.search-input-hidden { display: none !important; }
gmp-place-autocomplete.lot-scout-place-autocomplete { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px 0 0 8px; background-color: #fff; color: var(--text); font: inherit; font-size: 14px; }
gmp-place-autocomplete.lot-scout-place-autocomplete:focus-within { border-color: var(--accent); }
.search button, .button-row button { border: 0; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 650; }
.search button { border-radius: 0 8px 8px 0; }
.search button:hover, .button-row button:hover { background: var(--accent-dark); }
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.secondary { border: 1px solid var(--line); background: #fff; padding: 9px 12px; border-radius: 8px; }
.secondary-inline { border: 1px solid var(--line) !important; background: #fff !important; color: var(--text) !important; }
.db-badge { display: inline-flex; border-radius: 999px; padding: 6px 9px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.db-badge.online { color: #155447; background: #e7f4ef; }
.db-badge.offline { color: #7a271a; background: #fef3f2; }

.workspace { --layers-column: 248px; --details-column: 410px; min-height: 0; flex: 1; display: grid; grid-template-columns: var(--layers-column) minmax(0, 1fr) var(--details-column); transition: grid-template-columns .18s ease; }
.workspace.layers-collapsed { --layers-column: 46px; }
.workspace.details-collapsed { --details-column: 46px; }

.layers-sidebar { min-width: 0; min-height: 0; background: #f7f8fa; border-right: 1px solid var(--line); overflow: hidden; }
.layers-sidebar-header { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 8px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.layers-sidebar-header h2 { margin: 0; font-size: 16px; }
.layers-sidebar-content { padding: 12px; height: calc(100% - 58px); overflow-y: auto; }
.layers-collapse-btn { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #4b5563; font-size: 22px; line-height: 1; padding: 0; display: grid; place-items: center; }
.layers-collapse-btn:hover { background: #f4f7f6; color: var(--accent-dark); }
.layers-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.layers-note p { color: var(--muted); font-size: 10px; line-height: 1.45; margin: 8px 2px 0; }
.workspace.layers-collapsed .layers-title-wrap,
.workspace.layers-collapsed .layers-sidebar-content { display: none; }
.workspace.layers-collapsed .layers-sidebar-header { padding: 10px 8px; justify-content: center; }
.workspace.layers-collapsed .layers-collapse-btn { transform: rotate(180deg); }

.map-wrap { position: relative; min-width: 0; min-height: 0; }
#map { width: 100%; height: 100%; background: #e9edf1; }
.map-status { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 500; max-width: min(620px, calc(100% - 180px)); background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 7px 12px; font-size: 12px; color: #4b5563; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend { position: absolute; left: 12px; bottom: 18px; z-index: 500; background: rgba(255,255,255,.95); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; font-size: 11px; }
.legend strong { font-size: 12px; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend-separator { display: block !important; height: 1px; background: var(--line); margin: 2px 0; }
.swatch { width: 14px; height: 8px; border: 1px solid rgba(0,0,0,.25); border-radius: 2px; }
.swatch.sf { background: #83c7a9; }.swatch.mf { background: #7ea6d8; }.swatch.commercial { background: #e9b46f; }.swatch.other { background: #c4c7cd; }.swatch.market { background: #f8d7d3; border-color: var(--danger); }

.sidebar { min-width: 0; min-height: 0; border-left: 1px solid var(--line); background: #f7f8fa; overflow: hidden; }
.details-sidebar-header { height: 58px; display: flex; align-items: center; gap: 8px; padding: 10px 14px 8px 10px; border-bottom: 1px solid var(--line); background: #fff; }
.details-sidebar-header h2 { margin: 0; font-size: 16px; }
.details-title-wrap { min-width: 0; }
.details-collapse-btn { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #4b5563; font-size: 22px; line-height: 1; padding: 0; display: grid; place-items: center; }
.details-collapse-btn:hover { background: #f4f7f6; color: var(--accent-dark); }
.sidebar-scroll { height: calc(100% - 58px); overflow-y: auto; padding: 14px; }
.workspace.details-collapsed .details-sidebar-header { padding: 10px 8px; justify-content: center; }
.workspace.details-collapsed .details-title-wrap,
.workspace.details-collapsed .sidebar-scroll { display: none; }
.workspace.details-collapsed .details-collapse-btn { transform: rotate(180deg); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 1px 3px rgba(15,23,42,.03); margin-bottom: 12px; }
.panel h2, .panel h3 { margin: 0; }
.panel h2 { font-size: 18px; }.panel h3 { font-size: 15px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.panel-heading.compact { align-items: center; margin-bottom: 10px; }
.eyebrow { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 750; margin-bottom: 4px; }
.empty-state { padding: 30px 20px; text-align: center; color: var(--muted); }
.empty-state h2 { color: var(--text); margin-bottom: 8px; }
.hidden { display: none !important; }

label { display: grid; gap: 6px; font-size: 12px; font-weight: 650; color: #4b5563; margin-bottom: 12px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 8px; padding: 9px 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(31,111,95,.08); }
textarea { resize: vertical; }
.field-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 5px 0 0; }
.hint strong { color: #4b5563; }
.link-button { border: 0; background: none; color: var(--accent); padding: 0; font-size: 12px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.facts div { border: 1px solid #e9edf1; background: #fafbfc; border-radius: 9px; padding: 9px; min-width: 0; }
.facts span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.facts strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; white-space: nowrap; background: #eef7f4; color: var(--accent-dark); border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 750; }
.chip.muted { background: #f0f1f3; color: #6b7280; }
.chip.warning { background: #fff4cc; color: var(--warning); }
.section-divider { height: 1px; background: var(--line); margin: 16px 0; }
.button-row { display: flex; align-items: center; gap: 10px; }
.button-row.split { justify-content: space-between; }
.button-row button { border-radius: 8px; }
.save-status { color: var(--accent); font-size: 11px; }

.market-save { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.market-save textarea { margin: 10px 0; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; line-height: 1.35; color: #344054; }
.external-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.external-actions.four { grid-template-columns: repeat(2, 1fr); }
.primary-external { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
.tcad-summary { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fbfcfc; }
.tcad-summary-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.owner-list { display: grid; gap: 8px; }
.owner-card { border-top: 1px solid #e7ecef; padding-top: 9px; }
.owner-card:first-child { border-top: 0; padding-top: 0; }
.owner-name { font-weight: 750; font-size: 14px; overflow-wrap: anywhere; }
.owner-label { color: var(--muted); font-size: 10px; margin-top: 7px; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .04em; }
.owner-mailing { font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.owner-share { color: var(--muted); font-size: 10px; margin-top: 5px; }
.owner-empty { color: var(--muted); font-size: 12px; line-height: 1.45; }
.appraisal-facts { margin-top: 10px; }
.facts .fact-wide { grid-column: 1 / -1; }
.facts .fact-wide strong { white-space: normal; line-height: 1.4; }
.external-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--line); color: var(--accent-dark); background: #f7fbfa; border-radius: 8px; padding: 8px 6px; font-size: 11px; font-weight: 700; }
.muted-button { color: #4b5563; background: #fafbfc; }
.disabled-link { pointer-events: none; opacity: .45; }

.upload-button { display: inline-flex; width: auto; align-items: center; border: 1px solid var(--line); padding: 7px 9px; border-radius: 8px; color: var(--text); margin: 0; cursor: pointer; font-size: 11px; }
.upload-button input { display: none; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.photo-item { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #eef1f4; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-delete { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 999px; border: 0; background: rgba(17,24,39,.75); color: #fff; font-size: 14px; line-height: 1; }
.document-placeholder { background: #fafbfc; border: 1px dashed #cfd6df; border-radius: 9px; padding: 12px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.document-placeholder p { margin: 0; }
.parcel-tooltip { font-size: 11px; }

@media (max-width: 1180px) and (min-width: 901px) {
  .workspace { --layers-column: 210px; --details-column: 380px; }
  .workspace.layers-collapsed { --layers-column: 46px; }
  .workspace.details-collapsed { --details-column: 46px; }
}

@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .db-badge { display: none; }
  .workspace, .workspace.layers-collapsed, .workspace.details-collapsed { grid-template-columns: 1fr; grid-template-rows: auto 58vh minmax(420px, auto); overflow-y: auto; }
  .layers-sidebar { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .layers-sidebar-header { height: auto; }
  .layers-sidebar-content { height: auto; overflow: visible; }
  .workspace.layers-collapsed .layers-sidebar { height: 46px; }
  .map-wrap { min-height: 58vh; }
  .sidebar { border-left: 0; border-top: 1px solid var(--line); }
  .details-sidebar-header { display: none; }
  .workspace.details-collapsed .sidebar-scroll { display: block; }
  .sidebar-scroll { height: auto; overflow: visible; }
}

@media (max-width: 520px) {
  .topbar { padding: 10px; }
  .brand-subtitle { display: none; }
  .field-grid.two, .facts, .external-actions, .external-actions.four { grid-template-columns: 1fr; }
  .stacked-mobile { align-items: stretch; flex-direction: column; }
  .map-status { max-width: calc(100% - 110px); }
}

/* ---------- v0.5 map layers + parcel-first sidebar ---------- */
.parcel-panel { border-color: #cfded9; box-shadow: 0 2px 10px rgba(15,23,42,.06); }
.location-intelligence { display: grid; gap: 7px; margin-bottom: 12px; }
.intelligence-row { border: 1px solid #e2ebe8; border-radius: 9px; padding: 9px 10px; background: #f7fbfa; display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.intelligence-row span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.intelligence-row strong { font-size: 13px; overflow-wrap: anywhere; }
.intelligence-row.wide { grid-template-columns: 1fr; gap: 6px; }
.association-list { display: flex; flex-wrap: wrap; gap: 5px; font-size: 12px; color: #4b5563; }
.association-pill { display: inline-flex; border: 1px solid #d8dee7; background: #fff; border-radius: 999px; padding: 5px 8px; line-height: 1.15; }

.layer-list { display: grid; gap: 7px; }
.layer-toggle { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 9px; margin: 0; padding: 9px 10px; border: 1px solid #e7ebef; border-radius: 9px; background: #fafbfc; cursor: pointer; }
.layer-toggle:hover { background: #f5f8f7; border-color: #d8e4e0; }
.layer-toggle input { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--accent); box-shadow: none; }
.layer-toggle span { display: grid; gap: 2px; }
.layer-toggle strong { font-size: 12px; color: var(--text); }
.layer-toggle small { color: var(--muted); font-size: 10px; font-weight: 500; }
.layers-sidebar .hint { margin-top: 10px; }

.legend { max-width: 240px; max-height: 45vh; overflow-y: auto; }
.legend-section { display: grid; gap: 5px; padding-top: 8px; border-top: 1px solid var(--line); }
.legend-section:first-child { padding-top: 0; border-top: 0; }
.neighborhood-swatch { background: linear-gradient(135deg, #d8e8dd, #dcd4ef); }
.line-swatch { width: 16px; height: 0; border-top: 2px dashed #7553a6; }

.neighborhood-label-wrap { background: transparent; border: 0; }
.neighborhood-label { transform: translate(-50%, -50%); display: inline-block; max-width: 170px; text-align: center; padding: 3px 6px; border-radius: 5px; background: rgba(255,255,255,.80); border: 1px solid rgba(86,96,109,.18); color: #39424e; font-size: 10px; font-weight: 750; line-height: 1.15; white-space: normal; text-shadow: 0 1px 0 #fff; box-shadow: 0 1px 3px rgba(15,23,42,.06); }

@media (max-width: 520px) {
  .intelligence-row { grid-template-columns: 1fr; gap: 4px; }
  .legend { max-width: 190px; max-height: 34vh; }
}


/* ---------- Google Maps release ---------- */
#map .gm-style { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.google-panel { border-color: #d9e6e2; }
.neighborhood-map-label { position: absolute; transform: translate(-50%, -50%); max-width: 180px; text-align: center; padding: 3px 6px; border-radius: 5px; background: rgba(255,255,255,.82); border: 1px solid rgba(86,96,109,.18); color: #39424e; font-size: 10px; font-weight: 750; line-height: 1.15; white-space: normal; text-shadow: 0 1px 0 #fff; box-shadow: 0 1px 3px rgba(15,23,42,.08); pointer-events: none; }
.map-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--muted); text-align: center; }

/* ---------- v0.6 authentication + cloud scouting ---------- */
.auth-badge { display:inline-flex; align-items:center; max-width:170px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border-radius:999px; padding:6px 9px; font-size:11px; font-weight:750; }
.auth-badge.signed-in { color:#155447; background:#e7f4ef; }
.auth-badge.signed-out { color:#5f6b76; background:#f0f1f3; }
.auth-badge.warning { color:#9a6700; background:#fff4cc; }
.auth-panel { border-color:#d9e6e2; }
.account-line { display:grid; grid-template-columns:70px minmax(0,1fr); gap:10px; align-items:baseline; border-top:1px solid #edf0f3; padding:8px 0; }
.account-line:first-child { border-top:0; padding-top:0; }
.account-line span { color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.04em; }
.account-line strong { font-size:12px; overflow-wrap:anywhere; }
.full-width-action { width:100%; border:0; background:var(--accent); color:#fff; padding:10px 14px; border-radius:8px; font-weight:700; }
.full-width-action:hover { background:var(--accent-dark); }
.full-width-action:disabled { opacity:.55; cursor:wait; }

.modal-backdrop { position:fixed; inset:0; z-index:5000; display:grid; place-items:center; padding:20px; background:rgba(15,23,42,.42); backdrop-filter:blur(2px); }
.modal-card { width:min(420px,100%); background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 22px 70px rgba(15,23,42,.25); padding:20px; }
.modal-close { width:32px; height:32px; display:grid; place-items:center; border:1px solid var(--line); border-radius:8px; background:#fff; color:#4b5563; font-size:22px; line-height:1; }
.login-message { min-height:18px; color:var(--danger); font-size:11px; line-height:1.4; margin-top:10px; }

.scouting-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:10px; }
.scouting-heading h3 { margin:0; }
.scouting-locked { border:1px dashed #cfd6df; background:#fafbfc; color:var(--muted); border-radius:9px; padding:10px 11px; font-size:11px; line-height:1.45; margin-bottom:10px; }
.scouting-fieldset { border:0; margin:0; padding:0; min-width:0; }
.scouting-fieldset:disabled { opacity:.52; }
.scouting-fieldset:disabled button { cursor:not-allowed; }
.status-picker { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:12px; }
.status-picker button { border:1px solid var(--line); background:#fff; color:#4b5563; border-radius:8px; padding:8px 6px; font-size:11px; font-weight:700; }
.status-picker button:hover { background:#f7f9fa; }
.status-picker button.active { color:#fff; border-color:transparent; box-shadow:0 0 0 2px rgba(255,255,255,.8) inset; }
.status-picker button[data-status="unreviewed"].active { background:#7b8794; }
.status-picker button[data-status="target"].active { background:#2f9e64; }
.status-picker button[data-status="maybe"].active { background:#d89228; }
.status-picker button[data-status="contacted"].active { background:#3b82c4; }
.status-picker button[data-status="pursuing"].active { background:#7c5cc4; }
.status-picker button[data-status="reject"].active { background:#c95b58; }

@media (max-width: 1320px) {
  .topbar { grid-template-columns:260px minmax(260px,620px) 1fr; }
  .top-actions { gap:7px; }
  .auth-badge { max-width:120px; }
}
@media (max-width: 900px) {
  .auth-badge { display:none; }
}
@media (max-width: 520px) {
  .status-picker { grid-template-columns:repeat(2,1fr); }
}

/* ---------- v0.6.1 private photos + shared collections ---------- */
.collection-list { display:grid; gap:7px; margin-bottom:10px; }
.collection-row { display:grid; grid-template-columns:20px minmax(0,1fr); gap:8px; align-items:center; padding:8px 9px; border:1px solid #e7ebef; border-radius:9px; background:#fafbfc; margin:0; cursor:pointer; }
.collection-row:hover { background:#f5f8f7; border-color:#d8e4e0; }
.collection-row input { width:16px; height:16px; margin:0; padding:0; accent-color:var(--accent); box-shadow:none; }
.collection-row span { display:grid; gap:2px; min-width:0; }
.collection-row strong { color:var(--text); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.collection-row small { color:var(--muted); font-size:10px; font-weight:500; }
.collection-empty, .photo-empty { color:var(--muted); font-size:11px; line-height:1.45; padding:9px 2px; }
.collection-create { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; align-items:center; }
.collection-create input { margin:0; }
.collection-create button { border:0; background:var(--accent); color:#fff; border-radius:8px; padding:9px 12px; font-weight:700; }
.collection-create button:hover { background:var(--accent-dark); }
.collection-create button:disabled { opacity:.55; cursor:wait; }

.disabled-upload { opacity:.5; cursor:not-allowed; }
.photo-grid { grid-template-columns:repeat(2,1fr); }
.photo-item { aspect-ratio:4 / 3; }
.photo-item a { display:block; width:100%; height:100%; }
.photo-item img { transition:transform .12s ease; }
.photo-item:hover img { transform:scale(1.02); }
.photo-delete { cursor:pointer; }
.photo-name { position:absolute; left:0; right:0; bottom:0; padding:18px 6px 5px; color:#fff; font-size:9px; line-height:1.2; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; background:linear-gradient(transparent, rgba(17,24,39,.75)); pointer-events:none; }
.photo-status { min-height:17px; margin-top:7px; color:var(--muted); font-size:11px; line-height:1.4; }
.photo-status.success { color:var(--accent); }
.photo-status.error { color:var(--danger); }
.photo-fallback { display:grid; place-items:center; width:100%; height:100%; padding:12px; color:var(--muted); text-align:center; font-size:10px; background:#eef1f4; }

@media (max-width:520px) {
  .photo-grid { grid-template-columns:1fr 1fr; }
}


/* ---------- v0.7 Field Scout / PWA ---------- */
.parcel-heading-actions { display:flex; align-items:center; gap:8px; }
.mobile-parcel-close,
.mobile-map-actions,
.mobile-backdrop { display:none; }

.camera-button {
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  margin:0 0 10px;
  padding:11px 12px;
  border:1px solid #cfe0da;
  border-radius:10px;
  background:#f4fbf8;
  color:var(--accent-dark);
  cursor:pointer;
}
.camera-button:hover { background:#edf8f4; }
.camera-button input { display:none; }
.camera-button > span:last-of-type { display:grid; gap:1px; }
.camera-button strong { font-size:12px; }
.camera-button small { font-size:10px; color:var(--muted); }
.camera-icon {
  width:34px; height:34px; flex:0 0 34px;
  display:grid; place-items:center;
  border-radius:999px; background:var(--accent); color:#fff;
  font-size:22px; line-height:1;
}
.field-photo-actions { display:grid; gap:8px; }
.location-active { border-color:#6da7ee !important; background:#eaf3ff !important; color:#174f96 !important; }
.pwa-panel { display:none; }

@media (max-width: 760px) {
  :root { --mobile-topbar: 112px; }
  html, body { width:100%; height:100%; overflow:hidden; overscroll-behavior:none; }
  body { background:#e9edf1; }
  .app-shell { height:100dvh; min-height:100dvh; overflow:hidden; }

  .topbar {
    min-height:var(--mobile-topbar);
    height:var(--mobile-topbar);
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:48px 44px;
    gap:6px 8px;
    padding:8px 10px 6px;
    box-shadow:0 1px 8px rgba(15,23,42,.08);
  }
  .brand { min-width:0; }
  .brand-mark { width:34px; height:34px; border-radius:9px; font-size:13px; }
  .brand-title { font-size:16px; }
  .brand-subtitle { display:none; }
  .search { grid-column:1 / -1; grid-row:2; height:40px; }
  .search input { font-size:16px; padding:8px 11px; }
  gmp-place-autocomplete.lot-scout-place-autocomplete { font-size:16px; min-height:40px; }
  .search button { padding:8px 14px; }
  .top-actions { gap:6px; }
  .db-badge, .auth-badge, #locateBtn { display:none !important; }
  #authActionBtn { min-height:36px; padding:7px 10px; white-space:nowrap; font-size:12px; }

  .workspace,
  .workspace.layers-collapsed,
  .workspace.details-collapsed {
    position:relative;
    display:block;
    min-height:0;
    height:calc(100dvh - var(--mobile-topbar));
    overflow:hidden;
  }

  .map-wrap {
    position:absolute;
    inset:0;
    min-height:0;
    height:auto;
  }
  #map { position:absolute; inset:0; }
  .map-status {
    top:8px;
    max-width:calc(100% - 122px);
    padding:6px 10px;
    font-size:10px;
  }
  .legend { left:8px; bottom:72px; max-width:165px; max-height:28vh; font-size:9px; }
  .legend strong { font-size:10px; }

  .mobile-map-actions {
    position:absolute;
    z-index:900;
    left:12px;
    bottom:calc(14px + env(safe-area-inset-bottom));
    display:flex;
    gap:8px;
  }
  .mobile-map-actions button {
    min-height:44px;
    padding:0 14px;
    border:1px solid rgba(31,41,55,.18);
    border-radius:999px;
    background:rgba(255,255,255,.96);
    color:#27313c;
    box-shadow:0 5px 18px rgba(15,23,42,.15);
    font-weight:750;
    font-size:12px;
  }

  .mobile-backdrop {
    position:fixed;
    inset:var(--mobile-topbar) 0 0;
    z-index:1400;
    background:rgba(15,23,42,.28);
    backdrop-filter:blur(1px);
  }
  .mobile-backdrop:not(.hidden) { display:block; }

  .layers-sidebar {
    position:fixed;
    z-index:1600;
    top:var(--mobile-topbar);
    bottom:0;
    left:0;
    width:min(86vw, 330px);
    min-height:0;
    border-right:1px solid var(--line);
    border-bottom:0;
    box-shadow:12px 0 34px rgba(15,23,42,.20);
    transform:translateX(-105%);
    transition:transform .18s ease;
    background:#f7f8fa;
  }
  body.mobile-layers-open .layers-sidebar { transform:translateX(0); }
  .workspace.layers-collapsed .layers-sidebar { height:auto; }
  .workspace.layers-collapsed .layers-title-wrap,
  .workspace.layers-collapsed .layers-sidebar-content { display:block; }
  .workspace.layers-collapsed .layers-sidebar-header { padding:10px 10px 8px 14px; justify-content:space-between; }
  .workspace.layers-collapsed .layers-collapse-btn { transform:none; }
  .layers-sidebar-header { height:58px; }
  .layers-sidebar-content { height:calc(100% - 58px); overflow-y:auto; padding-bottom:calc(18px + env(safe-area-inset-bottom)); }

  .sidebar {
    position:fixed;
    z-index:1700;
    left:0;
    right:0;
    bottom:0;
    height:min(76dvh, 760px);
    min-height:320px;
    border:1px solid var(--line);
    border-bottom:0;
    border-radius:18px 18px 0 0;
    background:#f7f8fa;
    box-shadow:0 -14px 40px rgba(15,23,42,.22);
    transform:translateY(108%);
    transition:transform .20s ease;
    overflow:hidden;
  }
  body.mobile-parcel-open .sidebar { transform:translateY(0); }
  .sidebar::before {
    content:'';
    position:absolute;
    z-index:2;
    top:7px; left:50%;
    width:38px; height:4px;
    transform:translateX(-50%);
    border-radius:999px;
    background:#c4cbd3;
  }
  .sidebar-scroll {
    height:100%;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding:20px 10px calc(24px + env(safe-area-inset-bottom));
  }
  .panel { border-radius:12px; padding:14px; margin-bottom:10px; box-shadow:none; }
  .parcel-panel { margin-top:0; }

  .mobile-parcel-close {
    display:grid;
    width:32px; height:32px;
    place-items:center;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
    color:#4b5563;
    font-size:20px;
    line-height:1;
    padding:0;
  }

  .status-picker { grid-template-columns:repeat(3,1fr); }
  .status-picker button { min-height:42px; }
  .field-grid.two { grid-template-columns:1fr 1fr; }
  .facts { grid-template-columns:1fr 1fr; }
  .external-actions,
  .external-actions.four { grid-template-columns:1fr 1fr; }
  input, select, textarea { font-size:16px; }
  label { font-size:11px; }
  .full-width-action, .button-row button { min-height:44px; }
  .upload-button { min-height:40px; }
  .camera-button { min-height:58px; }
  .photo-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .photo-item { aspect-ratio:4 / 3; }

  .filters-panel, .auth-panel, .pwa-panel, .developer-config-panel, .market-panel { margin-top:10px; }
  .pwa-panel { display:block; }

  .modal-backdrop { padding:12px; align-items:end; }
  .modal-card {
    width:100%;
    max-width:none;
    border-radius:18px 18px 0 0;
    padding:18px 16px calc(22px + env(safe-area-inset-bottom));
  }
}

@media (display-mode: standalone) {
  .pwa-panel { display:none !important; }
}


/* ---------- v0.9.1c Recorded Plats + reorderable parcel info ---------- */
.recorded-plats-card {
  margin: 0 0 12px;
  padding: 13px;
  border: 1px solid rgba(95, 217, 255, 0.20);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(18, 29, 38, 0.96), rgba(11, 18, 25, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}
.recorded-plats-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.recorded-plats-heading h3 {
  margin: 1px 0 0;
  font-size: 15px;
  color: #f5f9fc;
}
.recorded-plat-list { display: grid; gap: 7px; }
.recorded-plat-item {
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(4, 9, 14, 0.50);
  border-radius: 10px;
  padding: 9px 10px;
}
.recorded-plat-item.primary {
  border-color: rgba(151, 137, 235, 0.48);
  box-shadow: inset 3px 0 0 #8b7ce6;
}
.recorded-plat-name {
  font-size: 12px;
  font-weight: 800;
  color: #f5f9fc;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.recorded-plat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin-top: 5px;
  color: #9fb3c2;
  font-size: 10px;
  line-height: 1.35;
}
.recorded-plat-primary {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid rgba(151,137,235,.28);
  background: rgba(117,102,201,.14);
  color: #c4bbff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.recorded-plat-empty {
  color: #9fb3c2;
  font-size: 11px;
  line-height: 1.45;
  padding: 3px 1px;
}
.recorded-plat-note {
  margin-top: 8px;
  color: #8295a4;
  font-size: 10px;
  line-height: 1.4;
}
.recorded-plat-map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  max-width: 190px;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 6px;
  background: rgba(38,28,70,.88);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,.28);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  pointer-events: none;
}
.recorded-plat-swatch {
  background: rgba(117,102,201,.12);
  border: 2px solid #7566c9;
}

/* Parcel information tile ordering */
.parcel-tile-order-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  margin: -2px 0 8px;
}
.parcel-tile-order-button {
  width: auto;
  border: 1px solid #31404e;
  border-radius: 4px;
  background: #0d151d;
  color: #91a4b5;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.parcel-tile-order-button:hover,
.parcel-tile-order-button.active {
  border-color: #3d7890;
  background: #14232d;
  color: #8beafe;
}
.parcel-tile-order-button.subtle {
  color: #788798;
}
.parcel-tile-order-state {
  color: #728493;
  font-size: 9px;
  line-height: 1.2;
}
.parcel-info-tiles > [data-parcel-tile] {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
.parcel-tile-order-controls {
  display: none;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: -2px 0 8px;
  padding: 5px 6px;
  border: 1px dashed #3a5364;
  border-radius: 5px;
  background: rgba(8, 16, 22, .82);
}
.parcel-info-tiles.reorder-active .parcel-tile-order-controls {
  display: flex;
}
.parcel-info-tiles.reorder-active > [data-parcel-tile] {
  outline: 1px dashed rgba(78,217,244,.30);
  outline-offset: 2px;
}
.parcel-info-tiles.reorder-active .external-actions a {
  pointer-events: none;
  opacity: .62;
}
.parcel-tile-order-label {
  min-width: 0;
  overflow: hidden;
  color: #8da2b3;
  font-size: 9px;
  font-weight: 790;
  letter-spacing: .045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.parcel-tile-order-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}
.parcel-tile-order-actions button {
  width: 28px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #334856;
  border-radius: 4px;
  background: #101b23;
  color: #9db0bf;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.parcel-tile-order-actions button:hover:not(:disabled) {
  border-color: #4d8195;
  color: #8beafe;
  background: #162832;
}
.parcel-tile-order-actions button:disabled {
  opacity: .28;
  cursor: not-allowed;
}
.parcel-tile-drag-grip {
  cursor: grab !important;
  letter-spacing: -3px;
  padding-right: 3px !important;
}
.parcel-tile-drag-grip:active { cursor: grabbing !important; }
.parcel-tile-dragging {
  opacity: .48;
  outline-color: #8beafe !important;
}

@media (max-width: 720px) {
  .recorded-plats-card {
    padding: 11px;
  }
  .parcel-tile-order-toolbar {
    margin-bottom: 10px;
  }
  .parcel-tile-order-button {
    min-height: 34px;
    padding: 7px 9px;
  }
  .parcel-tile-order-controls {
    padding: 7px;
  }
  .parcel-tile-order-actions button {
    width: 36px;
    height: 34px;
  }
}


/* ---------- v0.10.0 3+ Unit Projects ---------- */
.home-project-legend-icon{width:16px;height:16px;display:inline-grid;place-items:center;margin-right:6px;border:2px solid #fff;border-radius:50%;background:#0f8270;color:#fff;font-size:12px;font-style:normal;font-weight:900;line-height:1}
.home-project-popup,.home-project-popup-loading{width:min(410px,calc(100vw - 76px));color:#17212b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.home-project-popup-loading{padding:10px 4px;font-size:13px;font-weight:650}.home-project-header{padding:1px 1px 10px}.home-project-kicker{color:#0f8270;font-size:9px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.home-project-title{margin-top:2px;font-size:19px;font-weight:850;line-height:1.18}.home-project-address{margin-top:3px;color:#6b7280;font-size:11px;line-height:1.3}.home-project-facts{display:grid;grid-template-columns:1.5fr 1fr;gap:8px;margin-top:10px}.home-project-facts>div{min-width:0;padding:9px 10px;border:1px solid #dde4e9;border-radius:9px;background:#f7f9fa}.home-project-facts span{display:block;color:#71808b;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.home-project-facts strong{display:block;margin-top:2px;color:#17212b;font-size:15px;line-height:1.2}.home-project-facts small{display:block;min-height:12px;margin-top:2px;color:#82909a;font-size:9px;line-height:1.25}.home-docs-control{position:relative;margin-top:9px}.home-docs-link{display:inline-flex;align-items:center;border:0;border-radius:7px;background:#0f8270;color:#fff!important;padding:7px 10px;font-size:10px;font-weight:800;text-decoration:none}.home-docs-button{cursor:pointer}.home-docs-none{color:#87939c;font-size:10px;font-weight:700}.home-docs-menu{position:absolute;z-index:5;top:36px;left:0;width:min(330px,90vw);display:grid;gap:1px;overflow:hidden;border:1px solid #d5dde3;border-radius:8px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.18)}.home-docs-menu a{padding:9px 10px;color:#244b5a;font-size:10px;font-weight:720;text-decoration:none;border-bottom:1px solid #edf1f3}.home-docs-menu a:last-child{border-bottom:0}.home-docs-menu a:hover{background:#f3f8f7}.home-unit-tabs{display:flex;gap:5px;overflow-x:auto;padding:9px 0 7px;border-top:1px solid #e4e9ed;scrollbar-width:thin}.home-unit-tab{flex:0 0 auto;border:1px solid #d5dde3;border-radius:999px;background:#fff;color:#53616d;padding:6px 9px;font-size:9px;font-weight:800;white-space:nowrap}.home-unit-tab.active{border-color:#0f8270;background:#e8f5f2;color:#0b6658}.home-unit-pane{padding-top:2px}.home-unit-topline{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.home-unit-address{color:#17212b;font-size:13px;font-weight:820;line-height:1.3}.home-unit-mls{margin-top:2px;color:#83909a;font-size:9px;font-weight:700}.home-mls-status{flex:0 0 auto;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}.home-mls-status.active{color:#12643e;background:#e5f5eb}.home-mls-status.closed{color:#3158a4;background:#e9effd}.home-mls-status.pending{color:#8a5a00;background:#fff1cf}.home-mls-status.unknown{color:#66737d;background:#edf1f3}.home-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}.home-unit-grid>div{min-width:0;padding:7px 8px;border:1px solid #e4e9ed;border-radius:7px;background:#fbfcfc}.home-unit-grid span{display:block;color:#81909a;font-size:8px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}.home-unit-grid strong{display:block;margin-top:1px;color:#27323b;font-size:11px;line-height:1.25;overflow-wrap:anywhere}.home-unit-photo-wrap{margin-top:9px}.home-unit-photo-button{width:100%;display:grid;grid-template-columns:96px 1fr;gap:10px;align-items:center;padding:0;overflow:hidden;border:1px solid #dce4e8;border-radius:9px;background:#f7faf9;color:#0b6658;text-align:left}.home-unit-photo-button img{width:96px;height:68px;display:block;object-fit:cover;background:#edf1f3}.home-unit-photo-button span{padding-right:10px;font-size:10px;font-weight:820}.home-unit-photo-button:hover{border-color:#8bc8ba;background:#eff8f6}.home-unit-photo-empty{margin-top:8px;padding:10px;border:1px dashed #d9e0e4;border-radius:8px;color:#8b979f;font-size:10px;text-align:center}.home-photo-modal{position:fixed;inset:0;z-index:3200;display:grid;place-items:center;padding:24px;background:rgba(5,10,15,.82);backdrop-filter:blur(5px)}.home-photo-modal-card{width:min(1060px,96vw);max-height:92vh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:14px;border:1px solid #2b3945;border-radius:16px;background:#0b1218;box-shadow:0 28px 90px rgba(0,0,0,.46)}.home-photo-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.home-photo-modal-heading h2{margin:1px 0 0;color:#f5f9fc;font-size:18px}.home-gallery-count{margin-top:3px;color:#8ea2b1;font-size:10px}.home-gallery-main{min-height:0;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:#05090d}.home-gallery-main img{max-width:100%;max-height:66vh;display:block;object-fit:contain}.home-gallery-strip{display:flex;gap:7px;min-height:72px;overflow-x:auto;padding:2px 1px 4px}.home-gallery-thumb{flex:0 0 auto;width:92px;height:64px;overflow:hidden;padding:0;border:2px solid transparent;border-radius:7px;background:#101a22;opacity:.72}.home-gallery-thumb.active{border-color:#67dfc7;opacity:1}.home-gallery-thumb img{width:100%;height:100%;display:block;object-fit:cover}.home-gallery-loading{color:#9fb0bc;font-size:11px;padding:10px}
@media(max-width:720px){.home-project-popup,.home-project-popup-loading{width:min(340px,calc(100vw - 64px))}.home-project-title{font-size:16px}.home-photo-modal{padding:8px;align-items:end}.home-photo-modal-card{width:100%;max-height:94vh;border-radius:16px 16px 0 0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.home-gallery-main img{max-height:56vh}.home-gallery-thumb{width:78px;height:56px}}

/* ---------- v0.12.0 clean contours + integrated slope analysis ---------- */
.intel-terrain-metric {
  position: relative;
  grid-column: 1 / -1;
  padding-right: 92px;
}

.intel-terrain-metric strong {
  color: #f5f9fc;
}

.intel-terrain-metric small {
  color: #9fb3c2;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.intel-action-button {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  background: rgba(255,255,255,0.07);
  color: #dce8ef;
  padding: 6px 8px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.intel-action-button:hover:not(:disabled) {
  background: rgba(255,255,255,0.12);
  border-color: rgba(95,217,255,0.30);
}

.intel-action-button:disabled {
  opacity: .45;
  cursor: default;
}

@media (max-width: 420px) {
  .intel-terrain-metric { padding-right: 82px; }
  .intel-action-button { right: 8px; padding: 6px 7px; font-size: 9px; }
}

/* Sidebar cleanup: preserve legacy DOM contracts without exposing retired controls. */
.sidebar-retired { display:none !important; }
.parcel-panel > .panel-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 8px; }
.parcel-panel > .panel-heading > div:first-child { display:contents; }
.parcel-panel > .panel-heading .eyebrow { grid-column:1; grid-row:1; }
.parcel-panel > .panel-heading #parcelAddress { grid-column:1 / -1; grid-row:2; }
.parcel-panel > .panel-heading .parcel-heading-actions { grid-column:2; grid-row:1; }
.parcel-heading-actions { flex-shrink:0; margin-left:auto; }
.parcel-heading-actions .parcel-tile-order-button { white-space:nowrap; }

/* Keep the parcel scroll surface stable when returning from a list in Safari. */
@media (min-width:761px) {
  .workspace { transition:none; }
  #detailsSidebar { display:flex; flex-direction:column; isolation:isolate; }
  #detailsSidebar > .details-sidebar-header { flex:0 0 62px; }
  #detailsSidebar > .sidebar-scroll {
    flex:1 1 0; min-height:0; height:auto; position:relative;
    overflow-y:auto; overflow-anchor:none; transform:translateZ(0);
  }
}

/* Watershed key stays compact; the map itself retains parcel click targets. */
.legend .watershed-key {
  display:flex; align-items:flex-start; gap:7px; width:100%; min-height:44px;
  padding:5px 2px; border:0; border-radius:4px; background:transparent;
  color:inherit; text-align:left; font:inherit; cursor:pointer;
}
.legend .watershed-key:hover, .legend .watershed-key:focus-visible { background:rgba(128,160,180,.18); }
.legend .watershed-key:focus-visible { outline:2px solid #43c7df; }
.legend .watershed-key .swatch { flex:0 0 12px; margin-top:3px; }
.legend .watershed-key span { display:block; line-height:1.35; }
.legend .watershed-key small { display:block; margin-top:2px; opacity:.85; }
.watershed-popup { color:#172630; font:13px/1.45 system-ui,sans-serif; max-width:310px; max-height:45vh; overflow:auto; overflow-wrap:anywhere; }
.watershed-popup h3 { color:#172630; font-size:15px; margin:0 0 10px; }
.watershed-popup h4 { color:#172630; font-size:14px; margin:10px 0 5px; padding-left:7px; }
.watershed-popup section { border-bottom:1px solid #d4dce0; padding-bottom:9px; }
.watershed-popup p { margin:6px 0; }
.watershed-popup a { color:#075c80; text-decoration:underline; }
.watershed-popup .watershed-caution { font-size:11px; color:#485a65; margin-top:10px; }

/* Shared scroll container prevents stacked environmental popups overflowing mobile. */
.site-restriction-popup { max-height:45vh; overflow:auto; }
.site-restriction-popup .watershed-popup { max-height:none; overflow:visible; }
.site-restriction-popup .watershed-popup + .watershed-popup { border-top:2px solid #aabac4; margin-top:12px; padding-top:12px; }

/* Same historic district colors and label scale as Austin. */
.ca-historic-key{display:grid;gap:7px;padding:0 12px 14px 34px;font-size:12px;line-height:1.4}.ca-historic-key small{color:var(--muted,#a8b2c2)}.ca-historic-key a{color:#c7d5ef}.ca-historic-key p{margin:6px 0}.ca-historic-label{text-shadow:0 1px 3px #152431,1px 0 3px #152431,-1px 0 3px #152431}
