:root {
  --hc-forest: #3F5F45;
  --hc-moss: #7A8C63;
  --hc-sage: #A8B99A;
  --hc-oak: #7B5E45;
  --hc-beige: #EFE5D0;
  --hc-sand: #F8F3E7;
  --hc-mist: #F6F3EA;
  --hc-clay: #B8793A;
  --hc-amber: #D9A85C;
  --hc-danger: #A65E55;
  --hc-success: #5F7F5F;
  --hc-text: #2E332E;
  --hc-text-muted: #687060;
  --hc-border: #D8CCB8;
  --hc-border-strong: #BFAF95;
  --hc-card: rgba(255, 255, 255, 0.88);
  --hc-accent: var(--hc-forest);
  --hc-accent-hover: #314A36;
  --hc-accent-soft: rgba(63, 95, 69, 0.12);
  --hc-bg: var(--hc-mist);
  --hc-surface: #FFFFFF;
  --hc-surface-muted: var(--hc-sand);
  --hc-surface-raised: rgba(255, 255, 255, 0.9);
  --hc-editor-bg: #FFFFFF;
  --hc-muted: var(--hc-text-muted);
  --hc-shadow: 0 8px 24px rgba(46, 51, 46, 0.08);
  --hc-shadow-strong: 0 20px 50px rgba(46, 51, 46, 0.16);
  --bs-body-bg: var(--hc-bg);
  --bs-body-color: var(--hc-text);
  --bs-secondary-color: var(--hc-text-muted);
  --bs-border-color: var(--hc-border);
  --bs-link-color: var(--hc-accent);
  --bs-link-hover-color: var(--hc-accent-hover);
  --bs-tertiary-bg: var(--hc-surface-muted);
}

/* Read-only kontrola blagajne */
.hc-cash-control-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.hc-cash-control-heading > div {
  display: grid;
  gap: 0.05rem;
}

.hc-cash-control-heading span {
  color: var(--hc-text-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hc-cash-control-heading h1 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin: 0;
}

.hc-cash-control-heading > strong {
  color: var(--hc-text-muted);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.hc-cash-control-topbar {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  margin-bottom: 0.75rem;
  padding: 0.55rem;
}

.hc-cash-control-tabs {
  align-items: stretch;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  min-width: 0;
}

.hc-cash-control-tabs .hc-cash-tab {
  border-radius: 8px;
  min-width: 0;
}

.hc-cash-control-tabs .hc-cash-tab strong {
  font-variant-numeric: tabular-nums;
}

.hc-cash-control-search {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.hc-cash-control-search > label {
  color: var(--hc-text-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.hc-cash-control-search .dxbl-text-edit,
.hc-cash-control-search .hc-grid-searchbox {
  max-width: none;
  min-width: 0;
  width: 100% !important;
}

.hc-cash-control-state {
  min-height: 76px;
}

.hc-cash-control-detail {
  overflow: hidden;
}

.hc-cash-control-hero {
  align-items: center;
  background:
    radial-gradient(circle at 50% 0, color-mix(in srgb, var(--hc-accent), transparent 88%), transparent 52%),
    linear-gradient(180deg, var(--hc-surface), var(--hc-surface-muted));
  border-bottom: 1px solid var(--hc-border);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  min-height: 128px;
  padding: 0.85rem 1rem;
}

.hc-cash-control-hero-copy {
  align-items: center;
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.hc-cash-control-position {
  color: var(--hc-text-muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hc-cash-control-hero time {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-variant-numeric: tabular-nums;
  font-weight: 820;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hc-cash-control-hero h2 {
  color: var(--hc-accent);
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
  font-weight: 820;
  letter-spacing: 0.045em;
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}

.hc-cash-control-nav-button {
  align-items: center;
  align-self: stretch;
  background: color-mix(in srgb, var(--hc-surface), transparent 14%);
  border: 1px solid var(--hc-border);
  border-radius: 10px;
  color: var(--hc-accent);
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 52px;
  padding: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.hc-cash-control-nav-button > span {
  font-size: 2.35rem;
  font-weight: 300;
  line-height: 1;
  padding-bottom: 0.18rem;
}

.hc-cash-control-nav-button:not(:disabled):hover {
  background: color-mix(in srgb, var(--hc-accent), transparent 91%);
  border-color: var(--hc-accent);
  transform: translateY(-1px);
}

.hc-cash-control-nav-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hc-accent), transparent 44%);
  outline-offset: 2px;
}

.hc-cash-control-nav-button:disabled {
  color: var(--hc-text-muted);
  cursor: default;
  opacity: 0.38;
}

.hc-cash-control-sections {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.75rem;
}

.hc-cash-control-section {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 9px;
  min-width: 0;
  padding: 0.85rem;
}

.hc-cash-control-section.is-wide {
  grid-column: 1 / -1;
}

.hc-cash-control-section.is-secondary {
  background: color-mix(in srgb, var(--hc-surface-muted), var(--hc-surface) 46%);
}

.hc-cash-control-section h3 {
  color: var(--hc-accent);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 0.65rem;
}

.hc-cash-control-fields {
  display: grid;
  gap: 0;
  margin: 0;
}

.hc-cash-control-fields > div {
  align-items: baseline;
  border-top: 1px solid color-mix(in srgb, var(--hc-border), transparent 32%);
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
  padding: 0.48rem 0;
}

.hc-cash-control-fields > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.hc-cash-control-fields > div:last-child {
  padding-bottom: 0;
}

.hc-cash-control-fields dt {
  color: var(--hc-text-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.hc-cash-control-fields dd {
  font-size: 0.94rem;
  font-weight: 650;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hc-cash-control-fields.is-audit {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hc-cash-control-fields.is-audit > div {
  align-content: start;
  border-left: 1px solid var(--hc-border);
  border-top: 0;
  display: grid;
  gap: 0.2rem;
  grid-template-columns: 1fr;
  padding: 0 0.75rem;
}

.hc-cash-control-fields.is-audit > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.hc-cash-control-fields.is-audit > div:last-child {
  padding-right: 0;
}

.hc-cash-control-money {
  font-size: 1.18rem !important;
  font-variant-numeric: tabular-nums;
  font-weight: 820 !important;
}

.hc-cash-control-purpose {
  font-size: 1.12rem !important;
  font-weight: 780 !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.hc-cash-control-danger-text {
  color: var(--hc-danger);
}

.hc-cash-control-section-heading {
  align-items: baseline;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.hc-cash-control-section-heading > span {
  color: var(--hc-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.hc-attachment-thumbnail-grid.hc-cash-control-attachments {
  grid-template-columns: repeat(auto-fill, minmax(150px, 176px));
  max-height: none;
  overflow: visible;
  padding: 0;
}

.hc-cash-control-attachments .hc-attachment-thumbnail-card {
  align-content: start;
}

@media (max-width: 960px) {
  .hc-cash-control-topbar {
    grid-template-columns: 1fr;
  }

  .hc-cash-control-search {
    width: 100%;
  }

  .hc-cash-control-fields.is-audit {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.75rem;
  }

  .hc-cash-control-fields.is-audit > div:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .hc-cash-control-tabs {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .hc-cash-control-hero {
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.8rem;
  }

  .hc-cash-control-hero-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hc-cash-control-nav-button {
    grid-row: 2;
    min-height: 48px;
  }

  .hc-cash-control-nav-button > span {
    font-size: 2.35rem;
  }

  .hc-cash-control-sections {
    grid-template-columns: 1fr;
    padding: 0.55rem;
  }

  .hc-cash-control-section.is-wide {
    grid-column: auto;
  }

  .hc-cash-control-fields.is-audit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-cash-control-fields.is-audit > div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .hc-attachment-thumbnail-grid.hc-cash-control-attachments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hc-cash-control-fields > div {
    gap: 0.2rem;
    grid-template-columns: 1fr;
  }

  .hc-cash-control-fields.is-audit {
    grid-template-columns: 1fr;
  }

  .hc-cash-control-fields.is-audit > div {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--hc-border), transparent 32%);
    padding: 0.48rem 0;
  }

  .hc-cash-control-fields.is-audit > div:first-child {
    border-top: 0;
  }

  .hc-attachment-thumbnail-grid.hc-cash-control-attachments {
    grid-template-columns: 1fr;
  }
}

.hc-role-permissions-editor {
  display: grid;
  gap: 1rem;
}

.hc-role-permissions-master,
.hc-role-permission-module {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
}

.hc-role-permissions-master {
  padding: 0.85rem 1rem;
}

.hc-role-permission-module {
  overflow: hidden;
}

.hc-role-permission-module-head {
  align-items: center;
  border-bottom: 1px solid var(--hc-border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}

.hc-role-permission-module .table-responsive {
  background: var(--hc-surface);
}

.hc-role-permissions-table {
  margin-bottom: 0;
}

.hc-role-permissions-table th,
.hc-role-permissions-table td {
  vertical-align: middle;
}

html[data-hc-theme="dark"] {
  --hc-forest: #54B689;
  --hc-moss: #78D39C;
  --hc-sage: #1F5B3B;
  --hc-oak: #C9A7FF;
  --hc-beige: #20242D;
  --hc-sand: #171A21;
  --hc-mist: #111318;
  --hc-clay: #C9A7FF;
  --hc-amber: #F4C04F;
  --hc-danger: #FF7B72;
  --hc-success: #54B689;
  --hc-text: #F3F6FA;
  --hc-text-muted: #AAB4C0;
  --hc-border: #343B48;
  --hc-border-strong: #4A5362;
  --hc-card: rgba(23, 26, 33, 0.96);
  --hc-accent: #54B689;
  --hc-accent-hover: #78D39C;
  --hc-accent-soft: rgba(84, 182, 137, 0.16);
  --hc-bg: var(--hc-mist);
  --hc-surface: #171A21;
  --hc-surface-muted: #20242D;
  --hc-surface-raised: rgba(23, 26, 33, 0.96);
  --hc-editor-bg: var(--hc-surface);
  --hc-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  --hc-shadow-strong: 0 22px 56px rgba(0, 0, 0, 0.5);
  --bs-body-bg: var(--hc-bg);
  --bs-body-color: var(--hc-text);
  --bs-secondary-color: var(--hc-text-muted);
  --bs-border-color: var(--hc-border);
  --bs-link-color: var(--hc-accent);
  --bs-link-hover-color: var(--hc-accent-hover);
  --bs-tertiary-bg: var(--hc-surface-muted);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

html[data-hc-theme="dark"] {
  color-scheme: dark;
}

body {
  color: var(--hc-text);
  background: var(--hc-bg);
  color-scheme: inherit;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
}

html:has(.hc-sync-settings-backdrop),
html:has(.hc-sync-dialog-backdrop),
html:has(.hc-modal-layer),
html:has(.hc-modal-popup),
html:has(.hc-map-editor-modal),
html:has(.hc-chat-sheet-backdrop),
html:has(.hc-chat-image-viewer),
body:has(.hc-sync-settings-backdrop),
body:has(.hc-sync-dialog-backdrop),
body:has(.hc-modal-layer),
body:has(.hc-modal-popup),
body:has(.hc-map-editor-modal),
body:has(.hc-chat-sheet-backdrop),
body:has(.hc-chat-image-viewer) {
  overflow: hidden;
}

.btn,
.form-control,
.form-select,
.form-floating > label,
.dropdown-menu,
.dxbl-btn,
.dxbl-text-edit,
.dxbl-text-edit-input,
.dxbl-grid,
.dxbl-list-box,
.dxbl-popup,
.dxbl-toolbar {
  font-size: 1rem;
}

html:not([data-hc-theme="dark"]) .form-control:not(:disabled):not([readonly]),
html:not([data-hc-theme="dark"]) .form-select:not(:disabled) {
  background-color: var(--hc-editor-bg);
}

html:not([data-hc-theme="dark"]) :is(
  .dxbl-text-edit,
  .dxbl-memo-edit,
  .dxbl-spin-edit,
  .dxbl-combobox,
  .dxbl-date-edit,
  .dxbl-searchbox
):not(.dxbl-readonly):not(.dxbl-disabled) {
  --dxbl-text-edit-bg: var(--hc-editor-bg);
  --dxbl-text-edit-btn-bg: var(--hc-editor-bg);
  background-color: var(--hc-editor-bg);
}

.hc-page {
  min-height: 100vh;
}

.hc-card {
  background: var(--hc-card);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(46, 51, 46, 0.08);
  min-width: 0;
}

.hc-card-pad {
  padding: 1rem;
}

.hc-error-details {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
}

.hc-error-details summary {
  color: var(--hc-text);
  cursor: pointer;
  font-weight: 700;
}

.hc-error-details pre {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 6px;
  color: var(--hc-text);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0.75rem 0 0;
  max-height: min(60vh, 34rem);
  overflow: auto;
  padding: 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.hc-loading-scope {
  position: relative;
}

.hc-loading-overlay {
  align-items: center;
  background: rgba(248, 243, 231, 0.72);
  border-radius: inherit;
  color: var(--hc-text);
  display: flex;
  font-weight: 700;
  gap: 0.55rem;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 6;
}

.hc-loading-spinner {
  animation: hc-spin 0.8s linear infinite;
  border: 2px solid rgba(63, 95, 69, 0.22);
  border-top-color: var(--hc-forest);
  border-radius: 999px;
  height: 1.05rem;
  width: 1.05rem;
}

@keyframes hc-spin {
  to {
    transform: rotate(360deg);
  }
}

.hc-admin-action-splash {
  align-items: center;
  display: grid;
  inset: auto 1rem 1rem auto;
  justify-items: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.16s ease;
  z-index: 2147482500;
}

.hc-admin-action-splash.is-visible {
  opacity: 1;
  pointer-events: none;
}

.hc-admin-action-splash-panel {
  align-items: center;
  background: var(--hc-card);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow-strong, 0 20px 50px rgba(31, 35, 40, 0.14));
  color: var(--hc-text);
  display: flex;
  font-weight: 760;
  gap: 0.85rem;
  max-width: calc(100vw - 2rem);
  min-width: min(320px, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
}

.hc-admin-action-splash-spinner {
  animation: hc-spin 0.78s linear infinite;
  border: 3px solid color-mix(in srgb, var(--hc-accent, var(--hc-forest)), transparent 75%);
  border-radius: 999px;
  border-top-color: var(--hc-accent, var(--hc-forest));
  flex: 0 0 auto;
  height: 1.45rem;
  width: 1.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .hc-admin-action-splash,
  .hc-admin-action-splash-spinner {
    animation: none;
    transition: none;
  }
}

.hc-theme-toggle {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  color: var(--hc-text);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.hc-theme-toggle:hover,
.hc-theme-toggle:focus-visible {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border-strong);
  color: var(--hc-accent);
}

.hc-theme-icon,
.hc-nav-icon {
  background-color: currentColor;
  display: inline-block;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.hc-theme-icon {
  height: 18px;
  width: 18px;
}

.hc-theme-icon-sun {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 1.5L11.1 4H8.9L10 1.5ZM10 16L8.9 18.5H11.1L10 16ZM18.5 10L16 8.9V11.1L18.5 10ZM4 10L1.5 8.9V11.1L4 10ZM15.7 2.9L13.2 3.9L14.8 5.5L15.7 2.9ZM5.2 14.5L4.3 17.1L6.8 16.1L5.2 14.5ZM17.1 15.7L16.1 13.2L14.5 14.8L17.1 15.7ZM3.9 6.8L5.5 5.2L2.9 4.3L3.9 6.8ZM10 5.5A4.5 4.5 0 1 1 10 14.5A4.5 4.5 0 0 1 10 5.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 1.5L11.1 4H8.9L10 1.5ZM10 16L8.9 18.5H11.1L10 16ZM18.5 10L16 8.9V11.1L18.5 10ZM4 10L1.5 8.9V11.1L4 10ZM15.7 2.9L13.2 3.9L14.8 5.5L15.7 2.9ZM5.2 14.5L4.3 17.1L6.8 16.1L5.2 14.5ZM17.1 15.7L16.1 13.2L14.5 14.8L17.1 15.7ZM3.9 6.8L5.5 5.2L2.9 4.3L3.9 6.8ZM10 5.5A4.5 4.5 0 1 1 10 14.5A4.5 4.5 0 0 1 10 5.5Z'/%3E%3C/svg%3E");
}

.hc-theme-icon-moon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.8 12.6A6.9 6.9 0 0 1 7.4 4.2A7 7 0 1 0 15.8 12.6ZM10 18A8 8 0 0 1 10 2C10.7 2 11.4 2.1 12 2.3A5.6 5.6 0 0 0 17.7 8C17.9 8.6 18 9.3 18 10A8 8 0 0 1 10 18Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.8 12.6A6.9 6.9 0 0 1 7.4 4.2A7 7 0 1 0 15.8 12.6ZM10 18A8 8 0 0 1 10 2C10.7 2 11.4 2.1 12 2.3A5.6 5.6 0 0 0 17.7 8C17.9 8.6 18 9.3 18 10A8 8 0 0 1 10 18Z'/%3E%3C/svg%3E");
}

.hc-compact-metrics {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hc-compact-metrics span {
  align-items: center;
  background: rgba(248, 243, 231, 0.72);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: inline-flex;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.32rem 0.55rem;
}

.hc-compact-metrics small {
  color: #687060;
  font-weight: 700;
}

.hc-compact-metrics strong {
  font-size: 1.05rem;
}

.hc-primary-action {
  align-items: center;
  background: var(--hc-forest);
  border: 1px solid var(--hc-forest);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 650;
  gap: 0.5rem;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 0.95rem;
  touch-action: manipulation;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 110ms ease;
  -webkit-tap-highlight-color: transparent;
}

.hc-secondary-action {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: inline-flex;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: center;
  min-height: 40px;
  padding: 0.48rem 0.8rem;
  touch-action: manipulation;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 110ms ease;
  -webkit-tap-highlight-color: transparent;
}

.hc-pressable,
.hc-profile-trigger,
.hc-profile-action,
.hc-theme-toggle,
.hc-app-tabs a,
.hc-map-tool-button,
.hc-map-longtouch-action,
.hc-chat-icon-button,
.hc-chat-new-button,
.hc-chat-send-button,
.hc-primary-action,
.hc-secondary-action {
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.hc-primary-action:not(:disabled):hover,
.hc-primary-action:not(:disabled):focus-visible {
  background: #314d38;
  border-color: #314d38;
  box-shadow: 0 10px 20px rgba(38, 47, 41, 0.16);
}

.hc-secondary-action:not(:disabled):hover,
.hc-secondary-action:not(:disabled):focus-visible,
.hc-app-ghost-action:not(:disabled):hover,
.hc-app-ghost-action:not(:disabled):focus-visible {
  background: rgba(63, 95, 69, 0.08);
  border-color: rgba(63, 95, 69, 0.34);
  box-shadow: 0 8px 18px rgba(38, 47, 41, 0.1);
}

.hc-primary-action:not(:disabled):active,
.hc-secondary-action:not(:disabled):active,
.hc-app-ghost-action:not(:disabled):active,
.hc-pressable.is-pressed:not(:disabled),
.hc-profile-trigger.is-pressed,
.hc-profile-action.is-pressed,
.hc-theme-toggle.is-pressed,
.hc-app-tabs a.is-pressed,
.hc-map-tool-button.is-pressed,
.hc-map-longtouch-action.is-pressed,
.hc-chat-icon-button.is-pressed,
.hc-chat-new-button.is-pressed,
.hc-chat-send-button.is-pressed {
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.16), 0 2px 8px rgba(38, 47, 41, 0.14);
  transform: translateY(1px) scale(0.97);
}

.hc-app-ghost-action {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--hc-forest);
  display: inline-flex;
  font-weight: 650;
  gap: 0.5rem;
  justify-content: center;
  min-height: 40px;
  padding: 0.48rem 0.8rem;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 110ms ease;
}

.hc-app-action-spinner {
  animation: hc-spin 700ms linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: currentColor;
  border-radius: 999px;
  height: 1rem;
  width: 1rem;
}

.hc-primary-action:disabled,
.hc-secondary-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.hc-danger-action {
  border-color: rgba(166, 94, 85, 0.45);
  color: var(--hc-danger);
}

.hc-danger-action-solid {
  background: var(--hc-danger);
  border-color: var(--hc-danger);
  color: #fff;
}

.hc-bank-process-action {
  background: var(--hc-success);
  border-color: var(--hc-success);
  min-width: 10rem;
}

.hc-bank-process-action-preview {
  background: #2563EB;
  border-color: #1D4ED8;
}

.hc-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 0.35rem;
  line-height: 1;
  min-height: 26px;
  padding: 0.35rem 0.62rem;
  white-space: nowrap;
}

.hc-status-success {
  background: rgba(95, 127, 95, 0.14);
  color: var(--hc-success);
}

.hc-status-warning {
  background: rgba(217, 168, 92, 0.18);
  color: #7A561F;
}

.hc-status-danger {
  background: rgba(166, 94, 85, 0.14);
  color: var(--hc-danger);
}

.hc-status-neutral {
  background: rgba(122, 140, 99, 0.16);
  color: #586848;
}

.hc-admin-shell {
  background: var(--hc-mist);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  min-width: 0;
}

.hc-admin-sidebar {
  background: linear-gradient(180deg, var(--hc-forest), #2f4434);
  color: white;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  padding: 1rem;
  position: sticky;
  top: 0;
}

.hc-admin-sidebar-head {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.hc-admin-brand {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 1rem;
  padding: 0.35rem 0.35rem 1rem;
  min-width: 0;
}

.hc-admin-brand strong {
  display: block;
  font-size: 1.49rem;
  letter-spacing: 0;
}

.hc-admin-brand span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.97rem;
}

.hc-admin-nav {
  align-content: start;
  display: grid;
  flex: 1 1 auto;
  gap: 0.24rem;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.hc-admin-nav-group {
  border-radius: 8px;
}

.hc-admin-nav-group summary {
  align-items: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  gap: 0.5rem;
  font-size: 0.94rem;
  font-weight: 760;
  list-style: none;
  padding: 0.56rem 0.75rem;
  text-transform: uppercase;
}

.hc-admin-nav-group summary::-webkit-details-marker {
  display: none;
}

.hc-admin-nav-group summary::before {
  color: rgba(255, 255, 255, 0.9);
  content: "▣";
  font-size: 0.84rem;
}

.hc-admin-nav-group summary::after {
  background-color: currentColor;
  content: "";
  flex: 0 0 auto;
  height: 0.78rem;
  margin-left: auto;
  width: 0.78rem;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 5.6L8 9.4L11.8 5.6L13.2 7L8 12.2L2.8 7L4.2 5.6Z'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 5.6L8 9.4L11.8 5.6L13.2 7L8 12.2L2.8 7L4.2 5.6Z'/%3E%3C/svg%3E");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.hc-admin-nav-group:not([open]) summary::after {
  transform: rotate(-90deg);
}

.hc-admin-nav-group summary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.hc-admin-nav-group > div {
  display: grid;
  gap: 0.15rem;
  margin-left: 1.12rem;
  padding-left: 0.65rem;
  position: relative;
}

.hc-admin-nav-group > div::before {
  background: rgba(255, 255, 255, 0.18);
  bottom: 0.35rem;
  content: "";
  left: 0;
  position: absolute;
  top: 0.2rem;
  width: 1px;
}

.hc-admin-nav-group > div a {
  align-items: center;
  display: flex;
  font-size: 1.01rem;
  gap: 0.5rem;
  padding-left: 1rem;
}

.hc-admin-nav-group > div a::before {
  color: rgba(255, 255, 255, 0.62);
  content: "•";
  font-size: 1.1rem;
  line-height: 1;
}

.hc-admin-nav-section {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.79rem;
  font-weight: 760;
  letter-spacing: 0;
  padding: 0.8rem 0.75rem 0.15rem;
  text-transform: uppercase;
}

.hc-admin-nav a {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}

.hc-admin-nav a:hover,
.hc-admin-nav a.active {
  background: rgba(255, 255, 255, 0.13);
  color: white;
}

.hc-admin-nav .hc-admin-nav-badge {
  align-items: center;
  background: var(--hc-forest, #2f5d3a);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 860;
  height: 1.15rem;
  justify-content: center;
  line-height: 1;
  min-width: 1.15rem;
  padding: 0 0.34rem;
}

.hc-admin-nav-group > div a .hc-admin-nav-badge {
  margin-left: auto;
}

.hc-admin-nav-group summary .hc-admin-nav-badge {
  margin-left: auto;
  order: 1;
}

.hc-admin-nav-group summary::after {
  order: 2;
}

.hc-admin-nav-group summary:has(.hc-admin-nav-badge)::after {
  margin-left: 0.35rem;
}

.hc-admin-menu-button,
.hc-admin-drawer-close,
.hc-admin-drawer-backdrop {
  display: none;
}

.hc-lookup-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hc-lookup-tile {
  background: rgba(248, 243, 231, 0.68);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  text-decoration: none;
}

.hc-lookup-tile:hover {
  background: rgba(168, 185, 154, 0.18);
  color: var(--hc-text);
}

.hc-lookup-tile span {
  color: #687060;
  font-size: 0.99rem;
}

.hc-admin-main {
  min-width: 0;
}

.hc-admin-topbar-context {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.hc-admin-topbar-title {
  min-width: 0;
}

.hc-admin-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid var(--hc-border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 68px;
  padding: 0.8rem 1.35rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.hc-admin-topbar-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  min-width: 0;
}

.hc-quick-actions-menu {
  flex: 0 0 auto;
  position: relative;
}

.hc-quick-actions-trigger {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  color: var(--hc-text);
  cursor: pointer;
  display: inline-flex;
  font-weight: 720;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.85rem 0 0.55rem;
  white-space: nowrap;
}

.hc-quick-actions-trigger:hover,
.hc-quick-actions-trigger:focus-visible,
.hc-quick-actions-menu:focus-within .hc-quick-actions-trigger {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border-strong);
  color: var(--hc-text);
}

.hc-quick-actions-plus {
  align-items: center;
  background: var(--hc-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 800;
  height: 1.35rem;
  justify-content: center;
  line-height: 1;
  width: 1.35rem;
}

.hc-quick-actions-caret {
  background-color: currentColor;
  color: var(--hc-text-muted);
  display: inline-block;
  height: 0.78rem;
  width: 0.78rem;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 5.6L8 9.4L11.8 5.6L13.2 7L8 12.2L2.8 7L4.2 5.6Z'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 5.6L8 9.4L11.8 5.6L13.2 7L8 12.2L2.8 7L4.2 5.6Z'/%3E%3C/svg%3E");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.hc-quick-actions-panel {
  background: var(--hc-surface-raised);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow-strong);
  display: grid;
  max-width: min(320px, calc(100vw - 2rem));
  min-width: 250px;
  opacity: 0;
  overflow: hidden;
  padding: 0.35rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 100%;
  transform: translateY(-0.25rem);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
  visibility: hidden;
  width: max-content;
  z-index: 80;
}

.hc-quick-actions-menu:hover .hc-quick-actions-panel,
.hc-quick-actions-menu:focus-within .hc-quick-actions-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.hc-quick-actions-menu.is-suppressed .hc-quick-actions-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
  visibility: hidden;
}

.hc-quick-actions-panel a,
.hc-quick-actions-panel button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--hc-text);
  font-weight: 650;
  line-height: 1.2;
  overflow: hidden;
  padding: 0.62rem 0.75rem;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.hc-quick-actions-panel a:hover,
.hc-quick-actions-panel a:focus-visible,
.hc-quick-actions-panel button:hover,
.hc-quick-actions-panel button:focus-visible {
  background: var(--hc-accent-soft);
  color: var(--hc-accent);
  outline: none;
}

.hc-app-header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.hc-app-dashboard-header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.35rem;
  min-height: 40px;
}

.hc-app-dashboard-header-actions .hc-dashboard-toolbar-icon,
.hc-app-header-actions > .hc-dashboard-toolbar-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  flex: 0 0 auto;
  height: 40px;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  width: 40px;
}

.hc-app-dashboard-header-actions .hc-dashboard-toolbar-icon:hover,
.hc-app-dashboard-header-actions .hc-dashboard-toolbar-icon:focus-visible,
.hc-app-header-actions > .hc-dashboard-toolbar-icon:hover,
.hc-app-header-actions > .hc-dashboard-toolbar-icon:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hc-app-dashboard-header-actions .hc-dashboard-toolbar-icon:disabled,
.hc-app-header-actions > .hc-dashboard-toolbar-icon:disabled {
  opacity: 0.55;
}

.hc-profile-menu {
  flex: 0 0 auto;
  position: relative;
}

.hc-profile-trigger {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  color: var(--hc-text);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  width: 40px;
}

.hc-profile-trigger:hover,
.hc-profile-trigger:focus-visible {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border-strong);
  color: var(--hc-accent);
  outline: none;
}

.hc-profile-trigger img,
.hc-profile-panel-head img,
.hc-profile-hero-avatar img,
.hc-avatar-choice img {
  border-radius: 999px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hc-profile-panel {
  background: var(--hc-surface-raised);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow-strong);
  display: grid;
  gap: 0.25rem;
  max-width: min(320px, calc(100vw - 1.5rem));
  min-width: 260px;
  padding: 0.45rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 90;
}

.hc-profile-panel-head {
  align-items: center;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 0.45rem 0.45rem 0.7rem;
}

.hc-profile-panel-head strong {
  color: var(--hc-text);
  display: block;
  font-size: 0.98rem;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-profile-panel-head span {
  color: var(--hc-text-muted);
  display: block;
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-profile-panel form {
  margin: 0;
}

.hc-profile-action {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--hc-text);
  display: block;
  font-weight: 650;
  line-height: 1.2;
  padding: 0.65rem 0.75rem;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.hc-profile-action:hover,
.hc-profile-action:focus-visible {
  background: var(--hc-accent-soft);
  color: var(--hc-accent);
  outline: none;
}

.hc-profile-action-danger {
  color: var(--hc-danger);
}

.hc-profile-page {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 960px;
}

.hc-app-profile-page {
  max-width: 680px;
}

.hc-profile-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(63, 95, 69, 0.12), rgba(217, 168, 92, 0.1)),
    var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 1rem;
}

.hc-profile-hero h1 {
  font-size: 1.45rem;
  font-weight: 760;
  line-height: 1.15;
  margin: 0;
}

.hc-profile-hero p {
  color: var(--hc-text-muted);
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}

.hc-profile-hero-avatar {
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(46, 51, 46, 0.16);
  height: 96px;
  overflow: hidden;
  width: 96px;
}

.hc-profile-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.hc-profile-section-head {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.hc-profile-refresh-action {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0.45rem 0.75rem;
}

.hc-profile-photo-tools {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 72px minmax(0, 1fr);
  margin-bottom: 0.9rem;
  padding: 0.75rem;
}

.hc-profile-photo-preview {
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(46, 51, 46, 0.13);
  height: 72px;
  overflow: hidden;
  width: 72px;
}

.hc-profile-photo-preview img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hc-profile-photo-controls {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.hc-avatar-picker {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
}

.hc-avatar-choice {
  align-items: center;
  aspect-ratio: 1;
  background: var(--hc-surface-muted);
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.hc-avatar-choice:hover,
.hc-avatar-choice:focus-visible {
  border-color: rgba(63, 95, 69, 0.45);
  outline: none;
}

.hc-avatar-choice.is-selected {
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 3px var(--hc-accent-soft);
}

.hc-profile-password-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.hc-profile-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.hc-profile-actions form {
  margin: 0;
}

.hc-profile-inline-message,
.hc-profile-inline-error {
  border-radius: 8px;
  font-weight: 650;
  padding: 0.75rem 0.9rem;
}

.hc-profile-inline-message {
  background: rgba(95, 127, 95, 0.14);
  border: 1px solid rgba(95, 127, 95, 0.32);
  color: var(--hc-success);
}

.hc-profile-inline-error {
  background: rgba(166, 94, 85, 0.12);
  border: 1px solid rgba(166, 94, 85, 0.32);
  color: var(--hc-danger);
}

@media (min-width: 920px) {
  .hc-profile-form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hc-profile-form-grid > section:last-child {
    grid-column: 1 / -1;
  }
}

.hc-admin-content {
  padding: 1.25rem;
}

.hc-page-title {
  margin: 0;
}

.hc-page-title h1 {
  font-size: 1.71rem;
  font-weight: 760;
  margin: 0;
}

.hc-page-title p {
  color: #687060;
  margin: 0.15rem 0 0;
}

.hc-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hc-toolbar .hc-page-title {
  flex: 0 0 auto;
}

.hc-map-toolbar {
  align-items: start;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

.hc-map-toolbar .hc-map-filterbar {
  justify-self: end;
  width: min(100%, 720px);
}

.hc-map-filterbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(46, 51, 46, 0.08);
  display: grid;
  flex: 1 1 560px;
  gap: 0.55rem;
  grid-template-columns: minmax(150px, 220px) minmax(360px, 1fr) auto;
  justify-content: stretch;
  margin-left: auto;
  max-width: 980px;
  min-width: min(100%, 320px);
  padding: 0.6rem;
}

.hc-map-filter-field {
  display: grid;
  gap: 0.22rem;
  min-width: 10rem;
}

.hc-map-filter-field label {
  color: var(--hc-text-muted);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.1;
}

.hc-map-filter-field .form-control,
.hc-map-filter-field .form-select,
.hc-map-filter-field .hc-date-edit {
  min-height: 40px;
}

.hc-map-filter-type {
  min-width: 0;
}

.hc-admin-map-filter-backdrop {
  background: rgba(16, 20, 18, 0.04);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 520;
}

.hc-admin-map-filter-sheet {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 0.85rem;
  max-height: calc(100% - 1.6rem);
  overflow: visible;
  padding: 0.85rem;
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: min(720px, calc(100% - 1.6rem));
  z-index: 530;
}

.hc-admin-map-filter-sheet header {
  align-items: flex-start;
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
}

.hc-map-filter-panel-body {
  display: grid;
  gap: 0.85rem;
}

.hc-map-filter-type-row {
  display: grid;
  min-width: 0;
}

.hc-map-check-combo {
  min-width: 0;
  position: relative;
}

.hc-map-check-combo-trigger {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: flex;
  font-weight: 720;
  gap: 0.65rem;
  justify-content: space-between;
  min-height: 42px;
  padding: 0.45rem 0.65rem;
  text-align: left;
  width: 100%;
}

.hc-map-check-combo-trigger span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-map-check-combo-trigger:hover,
.hc-map-check-combo-trigger:focus-visible {
  border-color: rgba(63, 95, 69, 0.5);
  outline: none;
}

.hc-map-check-combo-chevron {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  flex: 0 0 auto;
  height: 8px;
  opacity: 0.72;
  transform: translateY(-2px) rotate(45deg);
  width: 8px;
}

.hc-map-check-combo-menu {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(46, 51, 46, 0.2);
  display: grid;
  gap: 0.12rem;
  margin-top: 0.35rem;
  max-height: min(300px, 46dvh);
  overflow: auto;
  padding: 0.35rem;
  position: static;
}

.hc-map-check-combo-option {
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  gap: 0.55rem;
  margin: 0;
  min-height: 34px;
  padding: 0.35rem 0.45rem;
}

.hc-map-check-combo-option:hover {
  background: rgba(63, 95, 69, 0.08);
}

.hc-map-check-combo-option input {
  accent-color: var(--hc-accent);
  flex: 0 0 auto;
}

.hc-map-check-combo-option span {
  font-weight: 680;
}

.hc-map-range-filter {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.hc-map-range-head {
  align-items: baseline;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.hc-map-range-head label {
  color: var(--hc-text-muted);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.1;
}

.hc-map-range-summary {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  min-width: 0;
}

.hc-map-range-summary-text {
  color: var(--hc-text);
  font-size: 0.8rem;
  font-weight: 780;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-map-range-summary-toggle {
  align-items: center;
  background: rgba(63, 95, 69, 0.08);
  border: 1px solid rgba(63, 95, 69, 0.18);
  border-radius: 999px;
  color: var(--hc-text-muted);
  display: inline-flex;
  flex: 0 0 auto;
  height: 26px;
  justify-content: center;
  padding: 0;
  width: 26px;
}

.hc-map-range-summary-toggle:hover,
.hc-map-range-summary-toggle:focus-visible,
.hc-map-range-summary-toggle.is-active {
  background: var(--hc-accent);
  border-color: var(--hc-accent);
  color: #fff;
  outline: none;
}

.hc-map-range-summary-toggle .hc-icon {
  height: 13px;
  width: 13px;
}

.hc-map-range-slider {
  height: 32px;
  position: relative;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.hc-map-range-track {
  background: rgba(113, 127, 96, 0.22);
  border-radius: 999px;
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hc-map-range-track::after {
  background: linear-gradient(90deg, var(--hc-accent), #7f8f5f);
  border-radius: inherit;
  bottom: 0;
  content: "";
  left: var(--hc-map-range-start, 0%);
  position: absolute;
  right: calc(100% - var(--hc-map-range-end, 100%));
  top: 0;
}

.hc-map-range-thumb {
  background: #fff;
  border: 3px solid var(--hc-accent);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(46, 51, 46, 0.24);
  height: 22px;
  left: var(--hc-map-range-thumb, 0%);
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  z-index: 4;
}

.hc-map-range-thumb-skip {
  border-color: #6f7f5d;
  height: 18px;
  width: 18px;
  z-index: 5;
}

.hc-map-range-hit-zones {
  cursor: grab;
  display: grid;
  grid-template-columns: repeat(49, minmax(0, 1fr));
  inset: 0;
  position: absolute;
  touch-action: none;
  z-index: 10;
}

.hc-map-range-hit-zones:active {
  cursor: grabbing;
}

.hc-map-range-slider.is-dragging .hc-map-range-hit-zones {
  cursor: grabbing;
}

.hc-map-range-hit {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: inherit;
  margin: 0;
  min-width: 0;
  padding: 0;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.hc-map-range-hit:focus {
  outline: none;
}

.hc-map-range-input {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 32px;
  left: 0;
  margin: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
}

.hc-map-range-input::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  height: 32px;
}

.hc-map-range-input::-moz-range-track {
  background: transparent;
  border: 0;
  height: 32px;
}

.hc-map-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 3px solid var(--hc-accent);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(46, 51, 46, 0.24);
  cursor: grab;
  height: 22px;
  margin-top: 5px;
  pointer-events: auto;
  width: 22px;
}

.hc-map-range-input::-moz-range-thumb {
  background: #fff;
  border: 3px solid var(--hc-accent);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(46, 51, 46, 0.24);
  cursor: grab;
  height: 18px;
  pointer-events: auto;
  width: 18px;
}

.hc-map-range-input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(63, 95, 69, 0.18), 0 4px 12px rgba(46, 51, 46, 0.24);
}

.hc-map-range-input:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(63, 95, 69, 0.18), 0 4px 12px rgba(46, 51, 46, 0.24);
}

.hc-map-range-input-skip {
  z-index: 3;
}

.hc-map-range-input-end {
  z-index: 4;
}

.hc-map-range-scale {
  color: var(--hc-text-muted);
  display: grid;
  font-size: 0.68rem;
  font-weight: 720;
  grid-template-columns: 30fr 12fr 5fr 1fr;
  line-height: 1;
}

.hc-map-range-scale span:not(:first-child) {
  text-align: right;
}

.hc-map-range-shortcuts {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.hc-map-range-shortcut {
  align-items: center;
  background: rgba(63, 95, 69, 0.08);
  border: 1px solid rgba(63, 95, 69, 0.22);
  border-radius: 999px;
  color: var(--hc-text);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 780;
  justify-content: center;
  min-height: 30px;
  padding: 0.28rem 0.62rem;
  white-space: nowrap;
}

.hc-map-range-shortcut:hover,
.hc-map-range-shortcut.is-active {
  background: var(--hc-accent);
  border-color: var(--hc-accent);
  color: #fff;
}

.hc-map-filter-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.hc-map-filter-count {
  align-self: center;
  color: var(--hc-text-muted);
  font-size: 0.84rem;
  font-weight: 780;
  white-space: nowrap;
}

.hc-settings-section {
  display: grid;
  gap: 1rem;
}

.hc-settings-section-header {
  display: grid;
  gap: 0.2rem;
}

.hc-settings-section-header h2 {
  font-size: 1.05rem;
  font-weight: 780;
  margin: 0;
}

.hc-settings-section-header p {
  color: var(--hc-text-muted);
  margin: 0;
}

.hc-settings-inline-range {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(180px, 1fr) 6rem;
}

.hc-toolbar-actions-only {
  justify-content: flex-end;
}

.hc-members-workspace {
  min-height: calc(100vh - 120px);
}

.hc-members-splitter {
  border: 0;
  min-height: 620px;
}

.hc-split-pane {
  height: 100%;
  min-width: 0;
  overflow: auto;
  padding: 0.1rem;
}

.hc-detail-pane {
  background: rgba(248, 243, 231, 0.38);
  border-radius: 8px;
  padding: 0.75rem;
}

.hc-member-detail-tabs {
  min-width: 0;
}

.hc-grid-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.35rem 0.2rem;
  width: 100%;
}

.hc-grid-toolbar-actions-only {
  justify-content: flex-end;
}

.hc-grid-toolbar h2,
.hc-grid-toolbar h3 {
  font-size: 1.1rem;
  font-weight: 760;
  line-height: 1.2;
  margin: 0;
}

.hc-grid-toolbar span {
  color: #687060;
  display: inline-flex;
  font-size: 0.9rem;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.hc-grid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.hc-grid-actions .hc-primary-action,
.hc-grid-actions .hc-secondary-action {
  min-height: 36px;
  padding: 0.42rem 0.7rem;
}

.hc-grid-toolbar-integrated {
  align-items: center;
  min-height: 0;
  padding: 0.16rem 0.3rem !important;
  width: 100%;
}

.hc-grid-toolbar-integrated.dxbl-toolbar,
.hc-grid-toolbar-integrated .dxbl-toolbar {
  min-height: 34px !important;
}

.hc-grid-toolbar-integrated .dxbl-btn {
  font-size: 1.01rem;
  min-height: 32px !important;
  padding: 0.22rem 0.5rem !important;
}

.hc-grid-toolbar-integrated .hc-grid-toolbar-icon-action .dxbl-btn,
.hc-grid-toolbar-integrated .dxbl-btn.hc-grid-toolbar-icon-action {
  min-width: 32px !important;
  padding-left: 0.45rem !important;
  padding-right: 0.45rem !important;
}

.hc-grid-toolbar-integrated .dxbl-toolbar-item,
.hc-grid-toolbar-integrated .dxbl-toolbar-item-content {
  min-height: 0 !important;
}

.hc-grid-searchbox,
.hc-grid-searchbox input {
  font-size: 1.01rem;
}

.hc-grid-toolbar-integrated .hc-grid-searchbox,
.hc-grid-toolbar-integrated .dxbl-text-edit,
.hc-grid-toolbar-integrated input {
  min-height: 32px !important;
}

.hc-toolbar-filter-field {
  align-items: center;
  display: flex;
  gap: 0.4rem;
  min-height: 32px;
}

.hc-toolbar-filter-field span {
  color: #66705d;
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.hc-grid-toolbar-integrated .hc-toolbar-filter-field .form-control,
.hc-grid-toolbar-integrated .hc-toolbar-filter-field .form-select {
  font-size: 0.98rem;
  min-height: 32px !important;
  padding: 0.22rem 0.48rem;
  width: 145px;
}

.hc-grid-toolbar-integrated .hc-toolbar-filter-field .hc-date-edit {
  width: 145px;
}

.hc-grid-toolbar-integrated .hc-toolbar-status-filter .form-select {
  width: 155px;
}

.hc-toolbar-check {
  align-items: center;
  color: var(--hc-text);
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 650;
  gap: 0.4rem;
  min-height: 32px;
  white-space: nowrap;
}

.hc-toolbar-check input {
  accent-color: var(--hc-accent);
}

.hc-admin-content .dxbl-grid,
.hc-admin-grid,
.hc-admin-grid-compact {
  font-size: 1.1rem;
  max-width: 100%;
}

.hc-admin-grid {
  height: min(680px, calc(100vh - 230px));
  overscroll-behavior: contain;
}

.hc-split-pane .hc-admin-grid {
  height: 100%;
  min-height: 0;
}

.hc-admin-grid [class*="scroll" i],
.hc-admin-grid [class*="content" i] {
  overscroll-behavior: contain;
}

.hc-modal-body .hc-admin-grid,
.hc-patrol-member-picker-grid {
  height: min(440px, calc(100vh - 16rem));
}

.hc-admin-content .dxbl-grid .dxbl-grid-top-panel,
.hc-admin-content .dxbl-grid .dxbl-grid-toolbar-container,
.hc-admin-content .dxbl-grid .dxbl-grid-search-panel,
.hc-admin-grid-compact .dxbl-grid-top-panel,
.hc-admin-grid-compact .dxbl-grid-toolbar-container,
.hc-admin-grid-compact .dxbl-grid-search-panel {
  min-height: 0 !important;
  padding: 0.18rem 0.35rem !important;
}

.hc-admin-content .dxbl-grid [role="row"],
.hc-admin-grid [role="row"],
.hc-admin-grid-compact [role="row"] {
  white-space: nowrap;
}

.hc-admin-content .dxbl-grid :is([role="columnheader"], .dxbl-grid-header-cell),
.hc-admin-grid :is([role="columnheader"], .dxbl-grid-header-cell),
.hc-admin-grid-compact :is([role="columnheader"], .dxbl-grid-header-cell),
.hc-card [role="columnheader"] {
  font-size: 1.06rem;
  line-height: 1.15;
  padding: 0.34rem 0.5rem !important;
  white-space: nowrap;
}

.hc-admin-content .dxbl-grid [role="gridcell"],
.hc-admin-grid [role="gridcell"],
.hc-admin-grid-compact [role="gridcell"],
.hc-card [role="gridcell"] {
  font-size: 1.08rem;
  line-height: 1.25;
  padding: 0.34rem 0.5rem !important;
  white-space: nowrap;
}

.hc-grid-record-footer {
  color: var(--hc-text-muted);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.hc-icon {
  background-color: currentColor;
  display: inline-block;
  height: 14px;
  width: 14px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.hc-icon-add {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1H5V5H1V7H5V11H7V7H11V5H7V1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1H5V5H1V7H5V11H7V7H11V5H7V1Z'/%3E%3C/svg%3E");
}

.hc-icon-edit {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9.2V11H2.8L8.1 5.7L6.3 3.9L1 9.2ZM9.5 4.3L10.4 3.4C10.8 3 10.8 2.4 10.4 2L10 1.6C9.6 1.2 9 1.2 8.6 1.6L7.7 2.5L9.5 4.3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9.2V11H2.8L8.1 5.7L6.3 3.9L1 9.2ZM9.5 4.3L10.4 3.4C10.8 3 10.8 2.4 10.4 2L10 1.6C9.6 1.2 9 1.2 8.6 1.6L7.7 2.5L9.5 4.3Z'/%3E%3C/svg%3E");
}

.hc-icon-delete {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 1L4 2H1.5V3.5H10.5V2H8L7.5 1H4.5ZM2.5 4.5L3.1 11H8.9L9.5 4.5H2.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 1L4 2H1.5V3.5H10.5V2H8L7.5 1H4.5ZM2.5 4.5L3.1 11H8.9L9.5 4.5H2.5Z'/%3E%3C/svg%3E");
}

.hc-icon-close {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.2 1L6 4.8L9.8 1L11 2.2L7.2 6L11 9.8L9.8 11L6 7.2L2.2 11L1 9.8L4.8 6L1 2.2L2.2 1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.2 1L6 4.8L9.8 1L11 2.2L7.2 6L11 9.8L9.8 11L6 7.2L2.2 11L1 9.8L4.8 6L1 2.2L2.2 1Z'/%3E%3C/svg%3E");
}

.hc-icon-save {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 1H10.6L12 2.4V13H2V1ZM3.6 2.6V5.6H9.4V2.6H8.2V4.4H5.8V2.6H3.6ZM4 8V11.4H10V8H4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 1H10.6L12 2.4V13H2V1ZM3.6 2.6V5.6H9.4V2.6H8.2V4.4H5.8V2.6H3.6ZM4 8V11.4H10V8H4Z'/%3E%3C/svg%3E");
}

.hc-icon-folder-open {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 2.2C1 1.5 1.5 1 2.2 1H6L7.4 2.7H13.2C13.9 2.7 14.4 3.2 14.4 3.9V5H4.8C4.2 5 3.7 5.3 3.5 5.8L1.4 10.9C1.2 10.7 1 10.3 1 9.9V2.2ZM4.7 6.2H15L12.7 12.6H2.3L4.7 6.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 2.2C1 1.5 1.5 1 2.2 1H6L7.4 2.7H13.2C13.9 2.7 14.4 3.2 14.4 3.9V5H4.8C4.2 5 3.7 5.3 3.5 5.8L1.4 10.9C1.2 10.7 1 10.3 1 9.9V2.2ZM4.7 6.2H15L12.7 12.6H2.3L4.7 6.2Z'/%3E%3C/svg%3E");
}

.hc-icon-drag {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3A1.2 1.2 0 1 1 4 0.6A1.2 1.2 0 0 1 4 3ZM10 3A1.2 1.2 0 1 1 10 0.6A1.2 1.2 0 0 1 10 3ZM4 8.2A1.2 1.2 0 1 1 4 5.8A1.2 1.2 0 0 1 4 8.2ZM10 8.2A1.2 1.2 0 1 1 10 5.8A1.2 1.2 0 0 1 10 8.2ZM4 13.4A1.2 1.2 0 1 1 4 11A1.2 1.2 0 0 1 4 13.4ZM10 13.4A1.2 1.2 0 1 1 10 11A1.2 1.2 0 0 1 10 13.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3A1.2 1.2 0 1 1 4 0.6A1.2 1.2 0 0 1 4 3ZM10 3A1.2 1.2 0 1 1 10 0.6A1.2 1.2 0 0 1 10 3ZM4 8.2A1.2 1.2 0 1 1 4 5.8A1.2 1.2 0 0 1 4 8.2ZM10 8.2A1.2 1.2 0 1 1 10 5.8A1.2 1.2 0 0 1 10 8.2ZM4 13.4A1.2 1.2 0 1 1 4 11A1.2 1.2 0 0 1 4 13.4ZM10 13.4A1.2 1.2 0 1 1 10 11A1.2 1.2 0 0 1 10 13.4Z'/%3E%3C/svg%3E");
}

.hc-icon-filter-reset {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2H12.5V3.5L8.4 7.6V12L5.6 10.6V7.6L1.5 3.5V2ZM4 3.5L7 6.5L10 3.5H4ZM10.4 7.1L12.9 9.6L10.4 12.1L9.4 11.1L10.2 10.3H7.8V8.9H10.2L9.4 8.1L10.4 7.1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2H12.5V3.5L8.4 7.6V12L5.6 10.6V7.6L1.5 3.5V2ZM4 3.5L7 6.5L10 3.5H4ZM10.4 7.1L12.9 9.6L10.4 12.1L9.4 11.1L10.2 10.3H7.8V8.9H10.2L9.4 8.1L10.4 7.1Z'/%3E%3C/svg%3E");
}

.hc-icon-convert {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.3 1.4L12.6 4.7L9.3 8L8.3 7L9.9 5.4H2V4H9.9L8.3 2.4L9.3 1.4ZM4.7 6L5.7 7L4.1 8.6H12V10H4.1L5.7 11.6L4.7 12.6L1.4 9.3L4.7 6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.3 1.4L12.6 4.7L9.3 8L8.3 7L9.9 5.4H2V4H9.9L8.3 2.4L9.3 1.4ZM4.7 6L5.7 7L4.1 8.6H12V10H4.1L5.7 11.6L4.7 12.6L1.4 9.3L4.7 6Z'/%3E%3C/svg%3E");
}

.hc-icon-void {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1.2A5.8 5.8 0 1 0 7 12.8A5.8 5.8 0 0 0 7 1.2ZM3.5 7C3.5 6.2 3.8 5.5 4.2 4.9L9.1 9.8C8.5 10.2 7.8 10.5 7 10.5A3.5 3.5 0 0 1 3.5 7ZM9.8 9.1L4.9 4.2C5.5 3.8 6.2 3.5 7 3.5A3.5 3.5 0 0 1 9.8 9.1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1.2A5.8 5.8 0 1 0 7 12.8A5.8 5.8 0 0 0 7 1.2ZM3.5 7C3.5 6.2 3.8 5.5 4.2 4.9L9.1 9.8C8.5 10.2 7.8 10.5 7 10.5A3.5 3.5 0 0 1 3.5 7ZM9.8 9.1L4.9 4.2C5.5 3.8 6.2 3.5 7 3.5A3.5 3.5 0 0 1 9.8 9.1Z'/%3E%3C/svg%3E");
}

.hc-icon-refresh {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.4 2.6A5.5 5.5 0 0 0 1.7 5H3.3A4 4 0 0 1 10.2 3.8L8.5 5.5H13V1L11.4 2.6ZM2.6 11.4A5.5 5.5 0 0 0 12.3 9H10.7A4 4 0 0 1 3.8 10.2L5.5 8.5H1V13L2.6 11.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.4 2.6A5.5 5.5 0 0 0 1.7 5H3.3A4 4 0 0 1 10.2 3.8L8.5 5.5H13V1L11.4 2.6ZM2.6 11.4A5.5 5.5 0 0 0 12.3 9H10.7A4 4 0 0 1 3.8 10.2L5.5 8.5H1V13L2.6 11.4Z'/%3E%3C/svg%3E");
}

.hc-icon-sync {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1.2A5.8 5.8 0 0 0 2.2 4.4H1V2.2L2.7 3.9A7 7 0 0 1 13 7H11.2A5.2 5.2 0 0 0 7 1.2ZM1 7A5.8 5.8 0 0 0 11.8 9.6H13V11.8L11.3 10.1A7 7 0 0 1 1 7H2.8A5.2 5.2 0 0 0 7 12.8 5.2 5.2 0 0 0 11.2 9.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1.2A5.8 5.8 0 0 0 2.2 4.4H1V2.2L2.7 3.9A7 7 0 0 1 13 7H11.2A5.2 5.2 0 0 0 7 1.2ZM1 7A5.8 5.8 0 0 0 11.8 9.6H13V11.8L11.3 10.1A7 7 0 0 1 1 7H2.8A5.2 5.2 0 0 0 7 12.8 5.2 5.2 0 0 0 11.2 9.6'/%3E%3C/svg%3E");
}

.hc-icon-settings {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.7 1.5H11.3L11.8 3.6C12.3 3.8 12.8 4 13.2 4.3L15.2 3.3L17 5.1L16 7C16.3 7.5 16.5 8 16.7 8.5L18.8 9V11.5L16.7 12C16.5 12.5 16.3 13 16 13.4L17 15.4L15.2 17.2L13.2 16.2C12.8 16.5 12.3 16.7 11.8 16.9L11.3 19H8.7L8.2 16.9C7.7 16.7 7.2 16.5 6.8 16.2L4.8 17.2L3 15.4L4 13.4C3.7 13 3.5 12.5 3.3 12L1.2 11.5V9L3.3 8.5C3.5 8 3.7 7.5 4 7L3 5.1L4.8 3.3L6.8 4.3C7.2 4 7.7 3.8 8.2 3.6L8.7 1.5ZM10 7A3 3 0 1 0 10 13A3 3 0 0 0 10 7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.7 1.5H11.3L11.8 3.6C12.3 3.8 12.8 4 13.2 4.3L15.2 3.3L17 5.1L16 7C16.3 7.5 16.5 8 16.7 8.5L18.8 9V11.5L16.7 12C16.5 12.5 16.3 13 16 13.4L17 15.4L15.2 17.2L13.2 16.2C12.8 16.5 12.3 16.7 11.8 16.9L11.3 19H8.7L8.2 16.9C7.7 16.7 7.2 16.5 6.8 16.2L4.8 17.2L3 15.4L4 13.4C3.7 13 3.5 12.5 3.3 12L1.2 11.5V9L3.3 8.5C3.5 8 3.7 7.5 4 7L3 5.1L4.8 3.3L6.8 4.3C7.2 4 7.7 3.8 8.2 3.6L8.7 1.5ZM10 7A3 3 0 1 0 10 13A3 3 0 0 0 10 7Z'/%3E%3C/svg%3E");
}

.hc-icon-calendar {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 1H5.5V2.2H8.5V1H10V2.2H12V13H2V2.2H4V1ZM3.5 5V11.5H10.5V5H3.5ZM5 6.2H6.4V7.6H5V6.2ZM7.6 6.2H9V7.6H7.6V6.2ZM5 8.4H6.4V9.8H5V8.4ZM7.6 8.4H9V9.8H7.6V8.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 1H5.5V2.2H8.5V1H10V2.2H12V13H2V2.2H4V1ZM3.5 5V11.5H10.5V5H3.5ZM5 6.2H6.4V7.6H5V6.2ZM7.6 6.2H9V7.6H7.6V6.2ZM5 8.4H6.4V9.8H5V8.4ZM7.6 8.4H9V9.8H7.6V8.4Z'/%3E%3C/svg%3E");
}

.hc-icon-block {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6V4.5C4 2.6 5.3 1.4 7 1.4C8.7 1.4 10 2.6 10 4.5V6H11.2V12.6H2.8V6H4ZM5.4 6H8.6V4.5C8.6 3.4 7.9 2.8 7 2.8C6.1 2.8 5.4 3.4 5.4 4.5V6ZM6.3 8.2V10.5H7.7V8.2H6.3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6V4.5C4 2.6 5.3 1.4 7 1.4C8.7 1.4 10 2.6 10 4.5V6H11.2V12.6H2.8V6H4ZM5.4 6H8.6V4.5C8.6 3.4 7.9 2.8 7 2.8C6.1 2.8 5.4 3.4 5.4 4.5V6ZM6.3 8.2V10.5H7.7V8.2H6.3Z'/%3E%3C/svg%3E");
}

.hc-icon-columns {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 2H13V12H1V2ZM3 4V10H5V4H3ZM7 4V10H11V4H7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 2H13V12H1V2ZM3 4V10H5V4H3ZM7 4V10H11V4H7Z'/%3E%3C/svg%3E");
}

.hc-icon-export {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 1H8L11 4V6H9V5H7V3H4V11H10V9H12V13H3V1ZM10 6.5V5L13 8L10 11V9.5H6V6.5H10Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 1H8L11 4V6H9V5H7V3H4V11H10V9H12V13H3V1ZM10 6.5V5L13 8L10 11V9.5H6V6.5H10Z'/%3E%3C/svg%3E");
}

.hc-icon-upload {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1L11 5H8.2V9H5.8V5H3L7 1ZM2 10H4V11.5H10V10H12V13H2V10Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1L11 5H8.2V9H5.8V5H3L7 1ZM2 10H4V11.5H10V10H12V13H2V10Z'/%3E%3C/svg%3E");
}

.hc-icon-send {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 2L13 7L1 12V8.2L8.2 7L1 5.8V2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 2L13 7L1 12V8.2L8.2 7L1 5.8V2Z'/%3E%3C/svg%3E");
}

.hc-icon-print {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 1H11V4H3V1ZM2 5H12C12.6 5 13 5.4 13 6V10H10.5V8.5H3.5V10H1V6C1 5.4 1.4 5 2 5ZM4.5 9.5H9.5V13H4.5V9.5ZM10.8 6.2C10.4 6.2 10.1 6.5 10.1 6.9C10.1 7.3 10.4 7.6 10.8 7.6C11.2 7.6 11.5 7.3 11.5 6.9C11.5 6.5 11.2 6.2 10.8 6.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 1H11V4H3V1ZM2 5H12C12.6 5 13 5.4 13 6V10H10.5V8.5H3.5V10H1V6C1 5.4 1.4 5 2 5ZM4.5 9.5H9.5V13H4.5V9.5ZM10.8 6.2C10.4 6.2 10.1 6.5 10.1 6.9C10.1 7.3 10.4 7.6 10.8 7.6C11.2 7.6 11.5 7.3 11.5 6.9C11.5 6.5 11.2 6.2 10.8 6.2Z'/%3E%3C/svg%3E");
}

.hc-icon-open-full {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2H6V3.5H4.6L6.8 5.7L5.7 6.8L3.5 4.6V6H2V2ZM8 2H12V6H10.5V4.6L8.3 6.8L7.2 5.7L9.4 3.5H8V2ZM5.7 7.2L6.8 8.3L4.6 10.5H6V12H2V8H3.5V9.4L5.7 7.2ZM8.3 7.2L10.5 9.4V8H12V12H8V10.5H9.4L7.2 8.3L8.3 7.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2H6V3.5H4.6L6.8 5.7L5.7 6.8L3.5 4.6V6H2V2ZM8 2H12V6H10.5V4.6L8.3 6.8L7.2 5.7L9.4 3.5H8V2ZM5.7 7.2L6.8 8.3L4.6 10.5H6V12H2V8H3.5V9.4L5.7 7.2ZM8.3 7.2L10.5 9.4V8H12V12H8V10.5H9.4L7.2 8.3L8.3 7.2Z'/%3E%3C/svg%3E");
}

.hc-icon-zoom-actual {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 1.5A4.7 4.7 0 0 1 10.9 6.2C10.9 7.2 10.6 8.2 10 9L12.7 11.7L11.7 12.7L9 10C8.2 10.6 7.2 10.9 6.2 10.9A4.7 4.7 0 1 1 6.2 1.5ZM6.2 3A3.2 3.2 0 1 0 6.2 9.4A3.2 3.2 0 0 0 6.2 3ZM5 4.8H7.3V6.1H6.5V7.8H5.2V6.1H5V4.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 1.5A4.7 4.7 0 0 1 10.9 6.2C10.9 7.2 10.6 8.2 10 9L12.7 11.7L11.7 12.7L9 10C8.2 10.6 7.2 10.9 6.2 10.9A4.7 4.7 0 1 1 6.2 1.5ZM6.2 3A3.2 3.2 0 1 0 6.2 9.4A3.2 3.2 0 0 0 6.2 3ZM5 4.8H7.3V6.1H6.5V7.8H5.2V6.1H5V4.8Z'/%3E%3C/svg%3E");
}

.hc-icon-zoom-fit {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2H5.2V3.4H3.4V5.2H2V2ZM8.8 2H12V5.2H10.6V3.4H8.8V2ZM2 8.8H3.4V10.6H5.2V12H2V8.8ZM10.6 8.8H12V12H8.8V10.6H10.6V8.8ZM4.6 4.6H9.4V9.4H4.6V4.6ZM6 6V8H8V6H6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2H5.2V3.4H3.4V5.2H2V2ZM8.8 2H12V5.2H10.6V3.4H8.8V2ZM2 8.8H3.4V10.6H5.2V12H2V8.8ZM10.6 8.8H12V12H8.8V10.6H10.6V8.8ZM4.6 4.6H9.4V9.4H4.6V4.6ZM6 6V8H8V6H6Z'/%3E%3C/svg%3E");
}

.hc-icon-compress {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2H12V4.5H10.5V3.5H3.5V4.5H2V2ZM4.3 5.2L5.4 6.3L4.7 7H6.4V8.4H4.7L5.4 9.1L4.3 10.2L1.9 7.8L4.3 5.2ZM9.7 5.2L12.1 7.8L9.7 10.2L8.6 9.1L9.3 8.4H7.6V7H9.3L8.6 6.3L9.7 5.2ZM2 10.5H3.5V11.5H10.5V10.5H12V13H2V10.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2H12V4.5H10.5V3.5H3.5V4.5H2V2ZM4.3 5.2L5.4 6.3L4.7 7H6.4V8.4H4.7L5.4 9.1L4.3 10.2L1.9 7.8L4.3 5.2ZM9.7 5.2L12.1 7.8L9.7 10.2L8.6 9.1L9.3 8.4H7.6V7H9.3L8.6 6.3L9.7 5.2ZM2 10.5H3.5V11.5H10.5V10.5H12V13H2V10.5Z'/%3E%3C/svg%3E");
}

.hc-icon-back {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 2L1.2 7L6.2 12L7.6 10.6L5 8H12.5V6H5L7.6 3.4L6.2 2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 2L1.2 7L6.2 12L7.6 10.6L5 8H12.5V6H5L7.6 3.4L6.2 2Z'/%3E%3C/svg%3E");
}

.hc-icon-panel-hide {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2H12.5V12H1.5V2ZM3 3.5V10.5H8.4V3.5H3ZM9.8 3.5V10.5H11V3.5H9.8ZM4.1 6.25H7.2V7.75H4.1V6.25Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2H12.5V12H1.5V2ZM3 3.5V10.5H8.4V3.5H3ZM9.8 3.5V10.5H11V3.5H9.8ZM4.1 6.25H7.2V7.75H4.1V6.25Z'/%3E%3C/svg%3E");
}

.hc-icon-panel-show {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2H12.5V12H1.5V2ZM3 3.5V10.5H8.4V3.5H3ZM9.8 3.5V10.5H11V3.5H9.8ZM5.1 4.9H6.4V6.4H7.9V7.7H6.4V9.1H5.1V7.7H3.6V6.4H5.1V4.9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2H12.5V12H1.5V2ZM3 3.5V10.5H8.4V3.5H3ZM9.8 3.5V10.5H11V3.5H9.8ZM5.1 4.9H6.4V6.4H7.9V7.7H6.4V9.1H5.1V7.7H3.6V6.4H5.1V4.9Z'/%3E%3C/svg%3E");
}

.hc-icon-csv,
.hc-icon-xlsx,
.hc-icon-xls,
.hc-icon-pdf {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 1H8.5L11 3.5V13H3V1ZM8 2.5V4H9.5L8 2.5ZM4.5 6V7.2H9.5V6H4.5ZM4.5 8.2V9.4H9.5V8.2H4.5ZM4.5 10.4V11.6H8V10.4H4.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 1H8.5L11 3.5V13H3V1ZM8 2.5V4H9.5L8 2.5ZM4.5 6V7.2H9.5V6H4.5ZM4.5 8.2V9.4H9.5V8.2H4.5ZM4.5 10.4V11.6H8V10.4H4.5Z'/%3E%3C/svg%3E");
}

.hc-autocomplete-field {
  position: relative;
  z-index: 21;
}

.hc-autocomplete-field.hc-autocomplete-open {
  z-index: 40;
}

.hc-autocomplete-field:focus-within {
  z-index: 50;
}

.hc-autocomplete-dismiss {
  background: transparent;
  border: 0;
  inset: 0;
  padding: 0;
  position: fixed;
  z-index: 20;
}

.hc-autocomplete-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(46, 51, 46, 0.16);
  display: grid;
  left: 0;
  max-height: 280px;
  overflow: auto;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 22;
}

.hc-lookup-menu-compact {
  max-height: 13rem;
}

.hc-autocomplete-menu button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--hc-text);
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.hc-autocomplete-menu button small {
  color: #7a846d;
  font-size: 0.78rem;
  font-weight: 650;
}

.hc-autocomplete-menu button:hover {
  background: rgba(168, 185, 154, 0.18);
}

.hc-autocomplete-menu button.hc-lookup-option-selected,
.hc-autocomplete-menu button.hc-lookup-option-active {
  background: rgba(95, 127, 95, 0.14);
}

.hc-autocomplete-menu button.hc-lookup-option-active {
  outline: 2px solid rgba(95, 127, 95, 0.32);
  outline-offset: -2px;
}

.hc-autocomplete-menu button.hc-lookup-clear {
  color: var(--hc-text-muted);
}

.hc-autocomplete-menu span,
.hc-autocomplete-empty {
  color: #687060;
  font-size: 0.9rem;
}

.hc-autocomplete-empty {
  padding: 0.65rem;
}

.hc-clickable-grid {
  --hc-grid-selected-row-accent: #7FA06F;
  --hc-grid-selected-row-bg: #EEF7EA;
  --hc-grid-selected-row-border: rgba(63, 95, 69, 0.22);
  min-width: 0;
}

.hc-clickable-grid .hc-grid-row {
  cursor: pointer;
}

.hc-clickable-grid .hc-grid-row:hover > td {
  background: rgba(168, 185, 154, 0.18) !important;
}

.hc-clickable-grid .hc-grid-row-selected {
  --dxbl-grid-focused-row-bg: var(--hc-grid-selected-row-bg);
  --dxbl-grid-focused-row-color: var(--hc-text);
  --dxbl-grid-row-bg: var(--hc-grid-selected-row-bg);
  --dxbl-grid-row-color: var(--hc-text);
  --dxbl-grid-selected-row-bg: var(--hc-grid-selected-row-bg);
  --dxbl-grid-selected-row-color: var(--hc-text);
  --dxbl-grid-selection-bg: var(--hc-grid-selected-row-bg);
  cursor: pointer;
}

.hc-clickable-grid .hc-grid-row-selected,
.hc-clickable-grid .hc-grid-row-selected > td {
  background: var(--hc-grid-selected-row-bg) !important;
  color: var(--hc-text) !important;
}

.hc-clickable-grid .hc-grid-row-selected > td {
  box-shadow: inset 0 1px 0 var(--hc-grid-selected-row-border), inset 0 -1px 0 var(--hc-grid-selected-row-border);
}

.hc-clickable-grid .hc-grid-row-selected > td:first-child {
  box-shadow:
    inset 4px 0 0 var(--hc-grid-selected-row-accent),
    inset 0 1px 0 var(--hc-grid-selected-row-border),
    inset 0 -1px 0 var(--hc-grid-selected-row-border);
}

.hc-clickable-grid .hc-grid-row-selected .hc-status-success {
  background: rgba(95, 127, 95, 0.14) !important;
  color: var(--hc-success) !important;
}

.hc-clickable-grid .hc-grid-row-selected .hc-status-warning {
  background: rgba(217, 168, 92, 0.18) !important;
  color: #7A561F !important;
}

.hc-clickable-grid .hc-grid-row-selected .hc-status-danger {
  background: rgba(166, 94, 85, 0.14) !important;
  color: var(--hc-danger) !important;
}

.hc-clickable-grid .hc-grid-row-selected .hc-status-neutral {
  background: rgba(122, 140, 99, 0.16) !important;
  color: #586848 !important;
}

.hc-clickable-grid .hc-grid-row-missing-receipt > td {
  background: color-mix(in srgb, var(--hc-danger), transparent 90%) !important;
}

.hc-clickable-grid .hc-grid-row-missing-receipt:hover > td {
  background: color-mix(in srgb, var(--hc-danger), transparent 84%) !important;
}

.hc-clickable-grid .hc-grid-row-selected.hc-grid-row-missing-receipt > td {
  --dxbl-grid-row-bg: color-mix(in srgb, var(--hc-danger), transparent 84%);
  background: color-mix(in srgb, var(--hc-danger), transparent 84%) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--hc-danger), transparent 70%),
    inset 0 -1px 0 color-mix(in srgb, var(--hc-danger), transparent 70%);
}

.hc-clickable-grid .hc-grid-row-selected.hc-grid-row-missing-receipt > td:first-child {
  box-shadow:
    inset 4px 0 0 var(--hc-danger),
    inset 0 1px 0 color-mix(in srgb, var(--hc-danger), transparent 70%),
    inset 0 -1px 0 color-mix(in srgb, var(--hc-danger), transparent 70%);
}

.hc-empty-state {
  align-items: center;
  background: rgba(255, 255, 255, 0.64);
  border: 1px dashed var(--hc-border);
  border-radius: 8px;
  color: #687060;
  display: grid;
  gap: 0.25rem;
  min-height: 220px;
  padding: 1.25rem;
  place-items: center;
  text-align: center;
}

.hc-empty-state strong {
  color: var(--hc-text);
  font-size: 1.16rem;
}

.hc-empty-state-inline {
  background: var(--hc-surface);
  border: 1px dashed var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text-muted);
  padding: 0.85rem;
  text-align: center;
}

.hc-modal-popup {
  color: var(--hc-text);
  max-height: calc(100dvh - 2rem);
}

.hc-modal-body {
  background: var(--hc-sand);
  max-height: calc(100dvh - 9rem);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hc-modal-body:has(.hc-autocomplete-open) {
  overflow: visible;
}

.hc-modal-footer {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

.hc-map-details-popup {
  max-height: calc(100dvh - 2rem);
}

.hc-map-details-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hc-map-details-footer {
  background: var(--hc-surface);
  border-top: 1px solid var(--hc-border);
  box-shadow: 0 -8px 18px rgba(46, 51, 46, 0.08);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.hc-map-details-footer-link {
  flex: 0 0 auto;
  margin-right: auto;
}

.hc-map-details-footer-actions {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.hc-cash-transaction-popup {
  max-height: calc(100dvh - 2rem);
}

.hc-cash-transaction-modal-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hc-cash-transaction-modal-body form {
  min-height: 0;
}

.hc-cash-transaction-modal-footer {
  background: var(--hc-surface);
  border-top: 1px solid var(--hc-border);
  box-shadow: 0 -8px 18px rgba(46, 51, 46, 0.08);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hc-metric-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hc-metric {
  background: var(--hc-sand);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  padding: 0.85rem;
}

.hc-metric span {
  color: #6c745f;
  display: block;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.15;
}

.hc-metric strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.18;
  margin-top: 0.15rem;
  overflow-wrap: anywhere;
}

.hc-money-value,
.hc-metric strong.hc-money-value {
  font-variant-numeric: tabular-nums;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hc-metric small {
  color: #6c745f;
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.15;
  margin-top: 0.2rem;
}

.hc-dashboard-grid {
  align-items: stretch;
  display: grid;
  gap: 0.85rem;
  grid-auto-flow: row;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-dashboard-widget-span-1 {
  grid-column: span 1;
}

.hc-dashboard-widget-span-2 {
  grid-column: 1 / -1;
}

.hc-dashboard-grid-editing {
  grid-auto-rows: auto;
}

.hc-dashboard-toolbar-actions {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  min-width: min(100%, 320px);
}

.hc-dashboard-quick-actions,
.hc-dashboard-custom-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.hc-dashboard-custom-actions {
  background: rgba(168, 185, 154, 0.16);
  border: 1px solid rgba(73, 93, 73, 0.18);
  border-radius: 8px;
  padding: 0.4rem;
}

.hc-dashboard-toolbar-icon {
  height: 2.5rem;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  width: 2.5rem;
}

.hc-dashboard-toolbar-icon .hc-icon {
  height: 1rem;
  width: 1rem;
}

.hc-dashboard-message {
  margin-bottom: 0.85rem;
}

.hc-dashboard-message-error,
.hc-dashboard-inline-error {
  background: rgba(166, 94, 85, 0.12);
  border-color: rgba(166, 94, 85, 0.3);
  color: var(--hc-danger);
}

.hc-dashboard-message-success {
  background: rgba(73, 93, 73, 0.12);
  border-color: rgba(73, 93, 73, 0.28);
}

.hc-dashboard-module {
  align-content: start;
  display: grid;
  gap: 0.85rem;
  height: 100%;
}

.hc-dashboard-module-editing {
  border-color: rgba(73, 93, 73, 0.32);
}

.hc-dashboard-widget-editbar {
  align-items: center;
  background: rgba(73, 93, 73, 0.08);
  border: 1px solid rgba(73, 93, 73, 0.16);
  border-radius: 8px;
  cursor: grab;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.45rem 0.55rem;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.hc-dashboard-widget-editbar-draggable:hover,
.hc-dashboard-widget-editbar-draggable:focus-within,
.hc-dashboard-widget-editbar-draggable.is-selected {
  background: rgba(73, 93, 73, 0.14);
  border-color: rgba(73, 93, 73, 0.42);
}

.hc-dashboard-widget-editbar-draggable:active {
  cursor: grabbing;
}

.hc-dashboard-drag-indicator {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(73, 93, 73, 0.2);
  border-radius: 8px;
  color: var(--hc-accent);
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.hc-dashboard-drag-indicator .hc-icon {
  height: 1rem;
  width: 1rem;
}

.hc-dashboard-drag-handle {
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(73, 93, 73, 0.2);
  border-radius: 8px;
  color: var(--hc-accent);
  cursor: grab;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 780;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  min-width: 2rem;
  padding: 0;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.hc-dashboard-drag-handle::before {
  content: "☰";
}

.hc-dashboard-drag-handle.is-selected,
.hc-dashboard-drag-handle:focus-visible {
  background: rgba(73, 93, 73, 0.14);
  border-color: rgba(73, 93, 73, 0.42);
  outline: none;
}

.hc-dashboard-module.is-dragging,
.hc-app-dashboard-layout-item.is-dragging {
  opacity: 0.62;
}

.hc-dashboard-sortable-ghost {
  background: rgba(168, 185, 154, 0.1) !important;
  border: 2px dashed rgba(73, 93, 73, 0.46) !important;
  box-shadow: none !important;
  min-height: 5rem;
  opacity: 1 !important;
}

.hc-dashboard-sortable-ghost > * {
  visibility: hidden;
}

.hc-dashboard-sortable-chosen {
  cursor: grabbing;
}

.hc-dashboard-sortable-drag {
  box-shadow: 0 18px 42px rgba(15, 21, 18, 0.22) !important;
  cursor: grabbing;
  opacity: 0.96 !important;
}

.hc-dashboard-grid.is-sortable-dragging,
.hc-app-dashboard-layout-grid.is-sortable-dragging {
  cursor: grabbing;
}

.hc-dashboard-drop-zone {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(168, 185, 154, 0.08);
  border: 2px dashed rgba(73, 93, 73, 0.34);
  border-radius: 8px;
  color: var(--hc-accent);
  display: inline-flex;
  grid-column: 1 / -1;
  justify-content: center;
  justify-self: center;
  min-height: 4.25rem;
  margin: 0.1rem 0;
  padding: 0;
  width: min(5.5rem, 100%);
}

.hc-dashboard-drop-zone span {
  border: 2px solid currentColor;
  border-radius: 6px;
  display: block;
  height: 1.6rem;
  opacity: 0.72;
  width: 1.6rem;
}

.hc-dashboard-drop-zone:hover,
.hc-dashboard-drop-zone:focus-visible,
.hc-dashboard-drop-zone.is-active {
  background: rgba(73, 93, 73, 0.14);
  border-color: var(--hc-accent);
  outline: none;
}

.hc-dashboard-widget-edit-title {
  color: var(--hc-text);
  font-weight: 720;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-dashboard-widget-edit-actions {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  touch-action: manipulation;
  -webkit-user-select: auto;
  user-select: auto;
}

.hc-icon-action {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 760;
  height: 2rem;
  justify-content: center;
  min-width: 2rem;
  padding: 0;
}

.hc-icon-action .hc-icon {
  height: 0.95rem;
  width: 0.95rem;
}

.hc-icon-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hc-dashboard-module header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.hc-dashboard-module h2 {
  font-size: 1.08rem;
  font-weight: 720;
  margin: 0;
}

.hc-dashboard-module p {
  color: var(--hc-text-muted);
  margin: 0.12rem 0 0;
}

.hc-dashboard-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hc-dashboard-widget-span-1 .hc-dashboard-metric-grid,
.hc-app-dashboard-layout-item.is-width-1 .hc-dashboard-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.hc-dashboard-cash-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.hc-app-dashboard-cash-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-app-dashboard-cash-grid .hc-dashboard-cash-grand-total {
  grid-column: 1 / -1;
}

.hc-dashboard-cash-total {
  background: rgba(168, 185, 154, 0.18);
}

.hc-dashboard-cash-grand-total {
  background: rgba(73, 93, 73, 0.12);
  border-color: rgba(73, 93, 73, 0.28);
}

.hc-dashboard-template-list {
  display: grid;
  gap: 0.75rem;
}

.hc-dashboard-template-card {
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.75rem;
}

.hc-dashboard-template-card h3 {
  font-size: 1rem;
  font-weight: 720;
  margin: 0;
}

.hc-dashboard-template-card p {
  color: var(--hc-text-muted);
  margin: 0.15rem 0 0;
}

.hc-dashboard-template-status,
.hc-dashboard-template-actions {
  justify-self: end;
}

.hc-dashboard-template-note,
.hc-dashboard-weather-form {
  grid-column: 1 / -1;
}

.hc-dashboard-weather-form {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: minmax(180px, 1.4fr) repeat(2, minmax(120px, 0.8fr)) minmax(150px, 1fr);
}

.hc-dashboard-weather-state {
  background: rgba(168, 185, 154, 0.14);
  border: 1px solid rgba(73, 93, 73, 0.18);
  border-radius: 8px;
  color: var(--hc-text-muted);
  font-weight: 650;
  padding: 0.75rem;
}

.hc-dashboard-weather-periods {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hc-dashboard-weather-periods > div {
  background: rgba(168, 185, 154, 0.14);
  border: 1px solid rgba(73, 93, 73, 0.14);
  border-radius: 8px;
  padding: 0.6rem;
}

.hc-dashboard-weather-periods span,
.hc-dashboard-weather-periods small,
.hc-dashboard-weather-attribution {
  color: var(--hc-text-muted);
}

.hc-dashboard-weather-periods strong {
  display: block;
  font-size: 1rem;
  margin-top: 0.15rem;
}

.hc-dashboard-weather-attribution {
  font-size: 0.82rem;
  font-weight: 650;
  margin: 0;
}

.hc-membership-fees-summary {
  padding: 0.65rem;
}

.hc-membership-fees-summary .hc-metric-grid {
  gap: 0.55rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hc-membership-fees-summary .hc-metric {
  min-height: 72px;
  padding: 0.55rem 0.65rem;
}

.hc-membership-fees-summary .hc-metric span {
  font-size: 0.78rem;
}

.hc-membership-fees-summary .hc-metric strong {
  font-size: 1.15rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.hc-points-summary {
  padding: 0.65rem 0.75rem;
}

.hc-points-summary-grid {
  gap: 0.5rem;
  grid-template-columns: minmax(140px, 1.25fr) repeat(5, minmax(78px, 0.8fr));
}

.hc-points-summary-grid .hc-metric {
  min-width: 0;
  padding: 0.48rem 0.58rem;
}

.hc-points-summary-grid .hc-metric span {
  font-size: 0.72rem;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-points-summary-grid .hc-metric strong {
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 0.08rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-form-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-form-grid .wide {
  grid-column: 1 / -1;
}

.hc-sms-gateway-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.hc-sms-gateway-copy {
  min-width: 0;
}

.hc-sms-gateway-copy p {
  overflow-wrap: anywhere;
}

.hc-sms-gateway-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.hc-sms-settings-button {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-forest);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  width: 36px;
}

.hc-sms-settings-button:hover,
.hc-sms-settings-button:focus-visible {
  background: color-mix(in srgb, var(--hc-forest), transparent 88%);
  border-color: color-mix(in srgb, var(--hc-forest), transparent 55%);
  color: var(--hc-forest);
  transform: translateY(-1px);
}

.hc-sms-settings-button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--hc-forest), transparent 48%);
  outline-offset: 2px;
}

.hc-sms-settings-button .hc-icon {
  height: 17px;
  width: 17px;
}

.hc-sms-config-form {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.hc-sms-config-modal-body {
  min-height: 13.5rem;
}

.hc-sms-config-editor-line {
  align-items: center;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.hc-sms-info-hover {
  align-items: center;
  align-self: stretch;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-forest);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  position: relative;
  width: 38px;
}

.hc-sms-info-hover:hover,
.hc-sms-info-hover:focus-visible,
.hc-sms-info-hover:focus-within {
  background: color-mix(in srgb, var(--hc-forest), transparent 88%);
  border-color: color-mix(in srgb, var(--hc-forest), transparent 55%);
  color: var(--hc-forest);
}

.hc-sms-info-hover:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--hc-forest), transparent 48%);
  outline-offset: 2px;
}

.hc-sms-info-icon {
  align-items: center;
  background: var(--hc-forest);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  height: 1.15rem;
  justify-content: center;
  line-height: 1;
  width: 1.15rem;
}

.hc-sms-info-popup {
  background: var(--hc-surface);
  border: 1px solid color-mix(in srgb, var(--hc-forest), transparent 70%);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(46, 51, 46, 0.18);
  color: var(--hc-text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  padding: 0.65rem 0.75rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
  visibility: hidden;
  width: min(320px, calc(100vw - 4rem));
  z-index: 30;
}

.hc-sms-info-popup::before {
  background: var(--hc-surface);
  border-left: 1px solid color-mix(in srgb, var(--hc-forest), transparent 70%);
  border-top: 1px solid color-mix(in srgb, var(--hc-forest), transparent 70%);
  content: "";
  height: 0.6rem;
  position: absolute;
  right: 0.85rem;
  top: -0.35rem;
  transform: rotate(45deg);
  width: 0.6rem;
}

.hc-sms-info-hover:hover .hc-sms-info-popup,
.hc-sms-info-hover:focus-visible .hc-sms-info-popup,
.hc-sms-info-hover:focus-within .hc-sms-info-popup {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (max-width: 575.98px) {
  .hc-sms-gateway-head {
    display: grid;
  }

  .hc-sms-gateway-actions {
    justify-content: flex-start;
  }
}

.hc-trophy-utility-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 2fr 1fr;
  margin-bottom: 1rem;
}

.hc-trophy-detail-preview {
  background: rgba(248, 243, 231, 0.48);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  overflow: auto;
  padding: 0.75rem;
}

.hc-trophy-sheet {
  background: #fff;
  border: 1px solid #1f1f1f;
  color: #111;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.86rem;
  line-height: 1.2;
  margin: 0 auto;
  max-width: 1080px;
  min-width: 940px;
  padding: 1rem;
}

.hc-trophy-sheet-editor {
  box-shadow: 0 14px 32px rgba(30, 35, 25, 0.12);
}

.hc-trophy-sheet-readonly {
  min-width: 860px;
}

.hc-trophy-sheet-header {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 150px 1fr 210px;
  margin-bottom: 1rem;
}

.hc-trophy-form-number,
.hc-trophy-list-number span,
.hc-trophy-line-field span,
.hc-trophy-commission span,
.hc-trophy-score-box span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hc-trophy-title {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.hc-trophy-species {
  font-size: 1.65rem;
  font-weight: 900;
  text-align: center;
}

.hc-trophy-latin {
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
}

.hc-trophy-list-number,
.hc-trophy-line-field {
  display: grid;
  gap: 0.25rem;
}

.hc-trophy-common-grid {
  display: grid;
  gap: 0.5rem 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.hc-trophy-common-grid .wide,
.hc-trophy-footer .wide {
  grid-column: 1 / -1;
}

.hc-trophy-common-grid .wide-half {
  grid-column: span 2;
}

.hc-trophy-line-field strong,
.hc-trophy-line-field .form-control,
.hc-trophy-line-field .hc-date-edit,
.hc-trophy-list-number .form-control,
.hc-trophy-list-number strong {
  border-bottom: 1px dotted #111;
  min-height: 28px;
}

.hc-trophy-line-input,
.hc-trophy-inline-input,
.hc-trophy-cell-input {
  background: #fffef8 !important;
  border: 1px solid #222 !important;
  border-radius: 0 !important;
  color: #111 !important;
  font-family: "Times New Roman", Times, serif;
  min-height: 30px;
  padding: 0.2rem 0.35rem;
}

.hc-trophy-measure-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
}

.hc-trophy-measure-layout h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  text-align: center;
  text-transform: uppercase;
}

.hc-trophy-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.hc-trophy-table th,
.hc-trophy-table td {
  border: 1px solid #111;
  padding: 0.22rem;
  text-align: center;
  vertical-align: middle;
  word-break: normal;
}

.hc-trophy-table th {
  background: #ececec;
  font-size: 0.72rem;
  font-weight: 800;
}

.hc-trophy-table td:nth-child(2) {
  text-align: left;
}

.hc-trophy-cell-value {
  display: inline-block;
  font-weight: 700;
  min-height: 22px;
  min-width: 42px;
}

.hc-trophy-total-row td,
.hc-trophy-final-row td {
  background: #f3f3f3;
  font-weight: 800;
}

.hc-trophy-final-row td:last-child,
.hc-trophy-score-box strong {
  font-size: 1.15rem;
}

.hc-trophy-check-row {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.hc-trophy-footer {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 180px;
  margin-top: 1rem;
}

.hc-trophy-score-box {
  border: 2px solid #111;
  display: grid;
  min-height: 54px;
  padding: 0.35rem;
  place-items: center;
}

.hc-trophy-commission {
  display: grid;
  gap: 0.4rem;
  grid-column: 2;
}

.hc-trophy-commission div {
  border-bottom: 1px solid #111;
  min-height: 24px;
}

.hc-member-payment-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.hc-member-payment-row {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) 145px auto;
  padding: 0.45rem;
}

.hc-member-payment-row > span {
  color: var(--hc-text);
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-compact-action {
  min-height: 34px;
  padding: 0.35rem 0.65rem;
}

.hc-inline-check {
  align-items: center;
  color: var(--hc-muted);
  display: inline-flex;
  font-size: 0.9rem;
  gap: 0.4rem;
}

.hc-positive {
  color: var(--hc-success) !important;
}

.hc-negative {
  color: var(--hc-danger) !important;
}

.hc-date-edit {
  width: 100%;
}

.hc-date-edit .dxbl-text-edit-input {
  font-size: 1.1rem !important;
  line-height: 1.5 !important;
}

.hc-date-picker-popup {
  font-size: 1.15rem;
  min-width: 350px;
}

.hc-date-picker-popup .dxbl-calendar {
  min-width: 330px;
}

.hc-date-picker-popup .dxbl-calendar-day > a,
.hc-date-picker-popup .dxbl-calendar-month > a,
.hc-date-picker-popup .dxbl-calendar-year > a,
.hc-date-picker-popup .dxbl-calendar-decade > a {
  align-items: center;
  display: inline-flex;
  font-size: 1.08rem;
  justify-content: center;
  min-height: 2.45rem;
  min-width: 2.45rem;
}

.hc-date-picker-popup .dxbl-calendar-header,
.hc-date-picker-popup .dxbl-calendar-view-title {
  font-size: 1.12rem;
}

.hc-cash-commandbar {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.hc-cash-filter {
  align-items: end;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(155px, 220px);
}

.hc-cash-pivot-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: space-between;
}

.hc-cash-pivot-toolbar-group {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hc-cash-pivot-toolbar .hc-secondary-action {
  min-height: 42px;
}

.hc-cash-pivot-pdf-splash {
  align-items: center;
  background: rgba(248, 243, 231, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: auto;
  position: fixed;
  z-index: 2147482600;
}

html[data-hc-theme="dark"] .hc-cash-pivot-pdf-splash {
  background: rgba(18, 22, 18, 0.64);
}

.hc-pivot-viewbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.hc-pivot-group-toggles {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hc-pivot-group-toggle {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text-muted);
  font-weight: 800;
  min-height: 36px;
  padding: 0.4rem 0.7rem;
}

.hc-pivot-group-toggle.is-active {
  background: var(--hc-accent);
  border-color: color-mix(in srgb, var(--hc-accent), #000 12%);
  color: #fff;
}

.hc-pivot-group-toggle:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: 2px;
}

.hc-pivot-item-form {
  display: grid;
  gap: 1rem;
}

.hc-pivot-item-section {
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.hc-pivot-item-section h3 {
  color: var(--hc-text);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.hc-pivot-item-grid {
  display: grid;
  gap: 0.8rem;
}

.hc-pivot-item-grid-cash {
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
}

.hc-pivot-condition-row {
  align-items: end;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
}

.hc-pivot-sign-toggle {
  background: color-mix(in srgb, var(--hc-surface), var(--hc-border) 12%);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  max-width: 360px;
  padding: 0.25rem;
}

.hc-pivot-sign-toggle button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--hc-text-muted);
  font-weight: 800;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
}

.hc-pivot-sign-toggle button.active {
  background: var(--hc-accent);
  color: #fff;
}

.hc-pivot-sign-toggle .hc-pivot-sign-exclude {
  color: var(--hc-danger);
}

.hc-pivot-sign-toggle .hc-pivot-sign-exclude.active {
  background: #f4d6d2;
  color: #71362f;
}

html[data-hc-theme="dark"] .hc-pivot-sign-toggle .hc-pivot-sign-exclude.active {
  background: rgba(255, 123, 114, 0.24);
  color: #ffd3cf;
}

.hc-pivot-sign-toggle button:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: 2px;
}

.hc-pivot-config-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--hc-border);
  --bs-table-color: var(--hc-text);
  color: var(--hc-text);
  min-width: 980px;
}

.hc-pivot-saved-config-table {
  min-width: 620px;
}

.hc-pivot-config-table thead th {
  background: color-mix(in srgb, var(--hc-surface), var(--hc-border) 18%);
  color: var(--hc-text);
  font-weight: 700;
  white-space: nowrap;
}

.hc-pivot-config-table tbody td {
  color: var(--hc-text);
}

.hc-pivot-config-row {
  cursor: pointer;
}

.hc-pivot-config-table tbody tr:hover td {
  background: color-mix(in srgb, var(--hc-accent-soft), transparent 42%);
}

.hc-pivot-config-actions-header,
.hc-pivot-config-actions-cell {
  width: 92px;
}

.hc-pivot-config-actions {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  justify-content: flex-start;
}

.hc-pivot-config-action {
  min-height: 32px;
  min-width: 34px;
  padding: 0.35rem;
}

.hc-pivot-config-action .hc-icon {
  height: 13px;
  width: 13px;
}

.hc-pivot-config-table .hc-pivot-config-text {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hc-pivot-item-grid-cash,
  .hc-pivot-condition-row {
    grid-template-columns: 1fr;
  }

  .hc-pivot-sign-toggle {
    max-width: none;
    width: 100%;
  }
}

.hc-pivot-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.6rem;
}

.hc-pivot-actions .hc-secondary-action {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.hc-pivot-scroll {
  overflow-x: auto;
  width: 100%;
}

.hc-cash-pivot {
  min-width: 720px;
}

.hc-money {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hc-money-totals-footer .hc-status {
  align-items: baseline;
  display: inline-flex;
  gap: 0.4rem;
  line-height: 1.15;
  max-width: 100%;
}

.hc-money-totals-footer small {
  color: inherit;
  font-size: 0.78rem;
  opacity: 0.78;
}

.hc-money-totals-footer strong {
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hc-cash-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.hc-cash-more-menu .hc-quick-actions-trigger {
  border-radius: 8px;
}

.hc-cash-more-menu-separator {
  border-top: 1px solid var(--hc-border);
  margin: 0.3rem 0.25rem;
}

.hc-quick-actions-panel button.hc-cash-more-menu-danger {
  color: var(--hc-danger);
}

.hc-quick-actions-panel button:disabled {
  cursor: default;
  opacity: 0.5;
}

.hc-quick-actions-panel button:disabled:hover {
  background: transparent;
  color: var(--hc-text);
}

.hc-quick-actions-panel button.hc-cash-more-menu-danger:disabled:hover {
  color: var(--hc-danger);
}

.hc-cash-transaction-action {
  background: var(--hc-transaction-bg);
  border-color: var(--hc-transaction-border);
  color: var(--hc-transaction-color);
}

.hc-cash-transaction-action:hover,
.hc-cash-transaction-action:focus-visible {
  background: var(--hc-transaction-bg-hover);
  border-color: var(--hc-transaction-border);
  color: var(--hc-transaction-color);
}

.hc-cash-transaction-action-income {
  --hc-transaction-bg: rgba(95, 127, 95, 0.14);
  --hc-transaction-bg-hover: rgba(95, 127, 95, 0.22);
  --hc-transaction-border: color-mix(in srgb, var(--hc-success), transparent 48%);
  --hc-transaction-color: var(--hc-success);
}

.hc-cash-transaction-action-expense {
  --hc-transaction-bg: rgba(217, 168, 92, 0.18);
  --hc-transaction-bg-hover: rgba(217, 168, 92, 0.26);
  --hc-transaction-border: color-mix(in srgb, var(--hc-warning), transparent 42%);
  --hc-transaction-color: #7a561f;
}

.hc-cash-advance-action-open {
  background: color-mix(in srgb, var(--hc-amber), var(--hc-surface) 78%);
  border-color: color-mix(in srgb, var(--hc-amber), var(--hc-border) 35%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hc-amber), transparent 62%);
  color: #6f4a11;
}

.hc-cash-advance-action-open:not(:disabled):hover,
.hc-cash-advance-action-open:not(:disabled):focus-visible {
  background: color-mix(in srgb, var(--hc-amber), var(--hc-surface) 68%);
  border-color: var(--hc-amber);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hc-amber), transparent 35%),
    0 8px 18px rgba(122, 86, 31, 0.16);
  color: #5f3f0f;
}

.hc-cash-ipad-lock-banner {
  align-items: center;
  background: color-mix(in srgb, #fef3c7, var(--hc-surface) 36%);
  border: 1px solid color-mix(in srgb, #d97706, var(--hc-border) 45%);
  border-radius: 8px;
  color: #713f12;
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  padding: 0.75rem 0.85rem;
}

.hc-cash-ipad-lock-banner div {
  display: grid;
  gap: 0.15rem;
}

.hc-cash-ipad-lock-banner span {
  font-size: 0.9rem;
}

.hc-form-stack {
  display: grid;
  gap: 0.85rem;
}

.hc-cash-commandbar .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.16rem;
}

.hc-cash-commandbar .form-select {
  min-height: 36px;
  padding-bottom: 0.25rem;
  padding-top: 0.25rem;
}

.hc-stand-reservation-filter {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(130px, 160px) minmax(130px, 160px) minmax(170px, 240px) auto;
}

.hc-cash-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hc-cash-workspace {
  overflow: hidden;
  padding: 0;
}

.hc-cash-workspace > p {
  padding: 0.85rem 1rem;
}

.hc-cash-tabs {
  align-items: stretch;
  border-bottom: 1px solid var(--hc-border);
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(2, minmax(145px, 0.72fr));
  padding: 0.55rem 0.55rem 0;
}

.hc-cash-account-picker {
  background: color-mix(in srgb, var(--hc-surface-muted), var(--hc-surface) 42%);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0.45rem;
}

.hc-cash-transaction-tabs {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border-strong);
  border-radius: 8px;
  overflow: hidden;
}

.hc-cash-transaction-member-lookup .hc-lookup-menu {
  max-height: min(25rem, calc(100dvh - 12rem));
}

.hc-cash-transaction-tabs [role="tablist"] {
  background: color-mix(in srgb, var(--hc-surface-muted), var(--hc-surface) 40%);
  border-bottom: 1px solid var(--hc-border-strong);
  gap: 0.25rem;
  padding: 0.45rem 0.45rem 0;
}

.hc-cash-transaction-tabs [role="tab"] {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-bottom-color: var(--hc-border-strong);
  border-radius: 8px 8px 0 0;
  color: var(--hc-text);
  font-weight: 750;
  min-height: 38px;
}

.hc-cash-transaction-tabs [role="tab"]:hover,
.hc-cash-transaction-tabs [role="tab"]:focus-visible {
  border-color: var(--hc-border-strong);
}

.hc-cash-transaction-tabs [role="tab"][aria-selected="true"],
.hc-cash-transaction-tabs [role="tab"].active,
.hc-cash-transaction-tabs [role="tab"].dxbl-active {
  background: var(--hc-surface);
  border-color: var(--hc-border-strong);
  border-bottom-color: var(--hc-surface);
  box-shadow: inset 0 3px 0 var(--hc-accent);
  color: var(--hc-accent);
  position: relative;
  z-index: 1;
}

.hc-cash-transaction-tab-panel {
  background: var(--hc-surface);
  padding: 0.95rem;
}

.hc-cash-advance-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
}

.hc-cash-advance-list,
.hc-cash-advance-detail,
.hc-cash-advance-line,
.hc-cash-advance-control,
.hc-cash-advance-cancel,
.hc-cash-advance-settled-lines > div {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  padding: 0.75rem;
}

.hc-cash-advance-list,
.hc-cash-advance-detail {
  align-content: start;
  display: grid;
  gap: 0.75rem;
}

.hc-cash-advance-list-header,
.hc-cash-advance-lines-header,
.hc-cash-advance-detail-header,
.hc-cash-advance-control {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.hc-cash-advance-list-header div:first-child,
.hc-cash-advance-detail-header div,
.hc-cash-advance-control {
  min-width: 0;
}

.hc-cash-advance-list-header span,
.hc-cash-advance-control span,
.hc-cash-advance-control small {
  color: var(--hc-muted);
  display: block;
  font-size: 0.86rem;
}

.hc-cash-advance-items,
.hc-cash-advance-lines,
.hc-cash-advance-settled-lines {
  display: grid;
  gap: 0.55rem;
}

.hc-cash-advance-item {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem;
  text-align: left;
  width: 100%;
}

.hc-cash-advance-item:hover,
.hc-cash-advance-item:focus-visible,
.hc-cash-advance-item.active {
  border-color: var(--hc-accent);
  box-shadow: inset 3px 0 0 var(--hc-accent);
}

.hc-cash-advance-item strong,
.hc-cash-advance-item span,
.hc-cash-advance-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-cash-advance-line {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(120px, 0.55fr) minmax(180px, 1fr) minmax(110px, 0.5fr);
}

.hc-cash-advance-line .wide,
.hc-cash-advance-line-actions {
  grid-column: 1 / -1;
}

.hc-cash-advance-line-actions {
  display: flex;
  justify-content: flex-end;
}

.hc-cash-advance-lines-grid {
  min-height: 250px;
}

.hc-cash-advance-account-badge {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  min-height: 1.65rem;
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
}

.hc-cash-advance-account-badge-white {
  background: #fff7d6;
  border-color: #ead58a;
  color: #332600;
}

.hc-cash-advance-account-badge-black {
  background: #3d444d;
  border-color: #2f363e;
  color: #ffffff;
}

.hc-cash-advance-line-editor {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  padding: 0.75rem;
}

.hc-cash-advance-line-editor-white {
  background: #fff7d6;
  border-color: #ead58a;
  box-shadow: inset 0 0 0 1px #f4e4a9;
}

.hc-cash-advance-line-editor-black {
  background: #3d444d;
  border-color: #2f363e;
  box-shadow: inset 0 0 0 1px #4b5563;
  color: #ffffff;
}

.hc-cash-advance-line-editor-black .form-label,
.hc-cash-advance-line-editor-black small {
  color: rgba(255, 255, 255, 0.78);
}

.hc-camt-import {
  display: grid;
  gap: 0.85rem;
}

.hc-loading-inline {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
  min-height: 32px;
}

.hc-camt-import-summary {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hc-camt-import-summary > div,
.hc-camt-import-list > div {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  min-width: 0;
  padding: 0.6rem 0.7rem;
}

.hc-camt-import-summary span,
.hc-camt-import-list small {
  color: var(--hc-text-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
}

.hc-camt-import-summary strong,
.hc-camt-import-list strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-camt-import-list {
  display: grid;
  gap: 0.45rem;
}

.hc-camt-import-list > div {
  display: grid;
  gap: 0.3rem;
}

.hc-cash-tab,
.hc-cash-total-pill {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px 8px 0 0;
  color: var(--hc-text);
  display: grid;
  gap: 0.12rem;
  min-height: 62px;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.hc-cash-tab {
  cursor: pointer;
}

.hc-cash-account-option {
  align-content: center;
  border-radius: 8px;
  justify-items: center;
  min-height: 58px;
  padding-bottom: 0.48rem;
  padding-top: 0.48rem;
  text-align: center;
}

.hc-cash-account-option strong {
  font-size: 1.18rem;
}

.hc-cash-tab:hover {
  border-color: var(--hc-border-strong);
}

.hc-cash-tab-white {
  background: #fff7d6;
  border-color: #ead58a;
  color: #332600;
}

.hc-cash-tab-black {
  background: #7a828c;
  border-color: #636b75;
  color: #ffffff;
}

.hc-cash-tab-bank {
  background: color-mix(in srgb, var(--hc-success), var(--hc-surface) 88%);
  border-color: color-mix(in srgb, var(--hc-success), var(--hc-border) 72%);
  color: var(--hc-text);
}

.hc-cash-tab-active {
  border-color: var(--hc-accent);
  box-shadow: inset 0 3px 0 var(--hc-accent);
  transform: translateY(1px);
}

.hc-cash-tab-white.hc-cash-tab-active {
  background: #fff0b8;
  border-color: #d5ae3f;
  box-shadow: inset 0 3px 0 #d5a21f;
}

.hc-cash-tab-black.hc-cash-tab-active {
  background: #3d444d;
  border-color: #4b5563;
  box-shadow: inset 0 3px 0 #f2c94c;
}

.hc-cash-tab-total.hc-cash-tab-active {
  background: color-mix(in srgb, var(--hc-accent), var(--hc-surface) 68%);
  border-color: color-mix(in srgb, var(--hc-accent), var(--hc-border) 40%);
  box-shadow: inset 0 3px 0 var(--hc-accent);
}

.hc-cash-tab-bank.hc-cash-tab-active {
  background: color-mix(in srgb, var(--hc-success), var(--hc-surface) 74%);
  border-color: color-mix(in srgb, var(--hc-success), var(--hc-border) 46%);
  box-shadow: inset 0 3px 0 var(--hc-success);
}

.hc-cash-total-pill {
  background: linear-gradient(180deg, var(--hc-surface), var(--hc-surface-muted));
  border-color: var(--hc-border-strong);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff, transparent 28%);
  cursor: default;
  padding-left: 1.85rem;
  position: relative;
}

.hc-cash-total-pill::before {
  border-right: 2px solid var(--hc-text-muted);
  border-top: 2px solid var(--hc-text-muted);
  content: "";
  height: 0.62rem;
  left: 0.7rem;
  opacity: 0.48;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 0.62rem;
}

.hc-cash-tab span,
.hc-cash-total-pill span {
  font-size: 0.82rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-cash-total-pill span,
.hc-cash-total-pill small {
  color: var(--hc-text-muted);
}

.hc-cash-tab span {
  color: color-mix(in srgb, currentColor 68%, #6b7280);
}

.hc-cash-tab.hc-cash-tab-active span {
  color: currentColor;
}

.hc-cash-tab-white span {
  color: #5c5748;
}

.hc-cash-tab-white.hc-cash-tab-active span {
  color: #332600;
}

.hc-cash-tab-black span {
  color: rgba(255, 255, 255, 0.72);
}

.hc-cash-tab-black.hc-cash-tab-active span {
  color: rgba(255, 255, 255, 0.92);
}

.hc-cash-tab strong,
.hc-cash-total-pill strong {
  font-size: 1.08rem;
  line-height: 1.15;
}

.hc-cash-tab small,
.hc-cash-total-pill small {
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-cash-tab small {
  color: color-mix(in srgb, currentColor 55%, #6b7280);
}

.hc-cash-tab.hc-cash-tab-active small {
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.hc-cash-tab-white small {
  color: #6e685c;
}

.hc-cash-tab-white.hc-cash-tab-active small {
  color: #5a5346;
}

.hc-cash-tab-black small {
  color: rgba(255, 255, 255, 0.72);
}

.hc-cash-tab-black.hc-cash-tab-active small {
  color: rgba(255, 255, 255, 0.92);
}

.hc-cash-grid-panel {
  --hc-cash-grid-available-height: calc(100dvh - 320px);
  --hc-cash-grid-min-height: 360px;
  border: 1px solid transparent;
  border-radius: 0 0 8px 8px;
  margin: 0 0.55rem 0.55rem;
  padding: 0.65rem;
}

.hc-cash-grid-panel .hc-admin-grid {
  height: max(var(--hc-cash-grid-min-height), var(--hc-cash-grid-available-height));
}

.hc-cash-grid-panel-white {
  background: #fff7d6;
  border-color: #ead58a;
  box-shadow: inset 0 0 0 1px #f4e4a9;
}

.hc-cash-grid-panel-black {
  background: #3d444d;
  border-color: #2f363e;
  box-shadow: inset 0 0 0 1px #4b5563;
}

.hc-cash-grid-panel-bank {
  background: color-mix(in srgb, var(--hc-success), var(--hc-surface) 90%);
  border-color: color-mix(in srgb, var(--hc-success), var(--hc-border) 58%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hc-success), transparent 76%);
}

.hc-cash-grid-panel-black .dxbl-grid {
  border-color: #2f363e;
}

.hc-cash-grid-panel-black .hc-money-totals-footer .hc-status {
  background: rgba(255, 255, 255, 0.14);
  color: #eef1e8;
}

.hc-metric small {
  color: #687060;
  display: block;
  font-size: 0.86rem;
  margin-top: 0.2rem;
}

.hc-cash-report-workspace {
  align-items: start;
}

.hc-report-rules-modal-body {
  max-height: calc(100vh - 12rem);
  overflow: auto;
}

.hc-rule-definition-modal-body {
  height: min(880px, calc(100dvh - 7.5rem));
  overflow: hidden;
  padding: 0.3rem !important;
}

.hc-report-rules-popup .dxbl-popup-header {
  padding-bottom: 0.4rem !important;
  padding-top: 0.4rem !important;
}

.hc-rule-definition-modal-body .hc-report-rules-section {
  padding: 0.3rem;
}

.hc-report-lines-splitter {
  background: transparent;
  border: 0;
  min-height: 0;
}

.hc-report-lines-pane {
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0.1rem;
}

.hc-report-lines-caption {
  color: var(--hc-text-muted);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  padding: 0 0.15rem 0.25rem;
}

.hc-rule-definition-modal-body .hc-grid-toolbar-integrated {
  padding: 0.05rem 0.2rem !important;
}

.hc-rule-definition-modal-body .hc-grid-toolbar-integrated.dxbl-toolbar,
.hc-rule-definition-modal-body .hc-grid-toolbar-integrated .dxbl-toolbar {
  min-height: 28px !important;
}

.hc-rule-definition-modal-body .hc-grid-toolbar-integrated .dxbl-btn {
  font-size: 0.95rem;
  min-height: 26px !important;
  padding: 0.12rem 0.42rem !important;
}

.hc-rule-definition-modal-body .hc-grid-toolbar-integrated .hc-grid-toolbar-icon-action .dxbl-btn,
.hc-rule-definition-modal-body .hc-grid-toolbar-integrated .dxbl-btn.hc-grid-toolbar-icon-action {
  min-width: 26px !important;
}

.hc-rule-definition-layout {
  height: 100%;
  min-height: 0;
  min-width: 0;
}

.hc-report-rules-splitter {
  background: transparent;
  border: 0;
  min-height: 0;
}

.hc-report-rules-pane {
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0.1rem;
}

.hc-report-rules-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.hc-report-rules-section > .hc-admin-grid {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
}

.hc-report-rules-pane > .hc-empty-state {
  height: 100%;
  min-height: 0;
}

.hc-report-line-detail {
  background: #fbfaf6;
}

.hc-attachment-panel {
  background: #fbfaf6;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.hc-attachment-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
}

.hc-attachment-summary span:first-child {
  font-weight: 700;
}

.hc-attachment-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hc-file-drop-zone {
  background: var(--hc-surface);
  border: 1px dashed color-mix(in srgb, var(--hc-accent) 55%, var(--hc-border));
  border-radius: 8px;
  cursor: pointer;
  min-height: 92px;
  overflow: hidden;
  position: relative;
}

.hc-file-drop-zone:hover,
.hc-file-drop-zone:focus-within {
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hc-accent) 18%, transparent);
}

.hc-file-drop-input {
  cursor: pointer;
  height: 100%;
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.hc-file-drop-content {
  align-items: center;
  display: grid;
  gap: 0.25rem;
  height: 100%;
  justify-items: center;
  min-height: 92px;
  padding: 1rem;
  text-align: center;
}

.hc-file-drop-content span {
  color: var(--hc-text-muted);
  font-size: 0.92rem;
}

.hc-attachment-preview {
  align-items: start;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(120px, 180px) auto;
}

.hc-attachment-preview img {
  border: 1px solid var(--hc-border);
  border-radius: 6px;
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
}

.hc-attachment-viewer {
  display: grid;
  gap: 0.65rem;
}

.hc-attachment-viewer-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
}

.hc-attachment-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hc-attachment-thumbnail-toolbar {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.hc-attachment-thumbnail-toolbar > span {
  color: var(--hc-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hc-attachment-thumbnail-size-actions {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.hc-attachment-thumbnail-size-actions > span {
  color: var(--hc-text-muted);
  font-size: 0.82rem;
  min-width: 3.5rem;
  text-align: center;
}

.hc-attachment-thumbnail-size-button {
  align-items: center;
  display: inline-flex;
  font-size: 1.25rem;
  height: 32px;
  justify-content: center;
  line-height: 1;
  min-width: 32px;
  padding: 0;
  width: 32px;
}

.hc-attachment-thumbnail-grid {
  --hc-attachment-thumbnail-width: 176px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, var(--hc-attachment-thumbnail-width));
  max-height: min(52dvh, 560px);
  overflow-y: auto;
  padding: 0.2rem;
}

.hc-attachment-thumbnail-grid.is-small {
  --hc-attachment-thumbnail-width: 124px;
}

.hc-attachment-thumbnail-grid.is-large {
  --hc-attachment-thumbnail-width: 240px;
}

.hc-attachment-thumbnail-grid > .hc-empty-state-inline {
  grid-column: 1 / -1;
}

.hc-attachment-thumbnail-card {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(46, 51, 46, 0.08);
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  overflow: hidden;
}

.hc-attachment-thumbnail-card.is-pending {
  border-color: color-mix(in srgb, var(--hc-accent) 46%, var(--hc-border));
}

.hc-attachment-thumbnail-card.is-deleted {
  opacity: 0.62;
}

.hc-attachment-thumbnail-card.is-deleted strong {
  text-decoration: line-through;
}

.hc-attachment-thumbnail-preview {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(45deg, rgba(104, 112, 96, 0.07) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(104, 112, 96, 0.07) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(104, 112, 96, 0.07) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(104, 112, 96, 0.07) 75%);
  background-color: var(--hc-surface-muted);
  background-position: 0 0, 8px 8px, 8px -8px, 0 16px;
  background-size: 16px 16px;
  border-bottom: 1px solid var(--hc-border);
  overflow: hidden;
  position: relative;
}

.hc-attachment-thumbnail-preview img,
.hc-attachment-thumbnail-preview iframe {
  border: 0;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
}

.hc-attachment-thumbnail-type {
  background: rgba(37, 43, 37, 0.82);
  border-radius: 4px;
  bottom: 0.35rem;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  left: 0.35rem;
  padding: 0.16rem 0.35rem;
  position: absolute;
  z-index: 1;
}

.hc-attachment-thumbnail-open {
  background: transparent;
  border: 0;
  cursor: pointer;
  inset: 0;
  padding: 0;
  position: absolute;
  z-index: 2;
}

.hc-attachment-thumbnail-open:hover {
  background: color-mix(in srgb, var(--hc-accent), transparent 92%);
}

.hc-attachment-thumbnail-open:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hc-accent) 72%, #fff);
  outline-offset: -4px;
}

.hc-attachment-thumbnail-meta {
  display: grid;
  gap: 0.25rem;
  min-height: 4.6rem;
  padding: 0.55rem 0.6rem 0.4rem;
}

.hc-attachment-thumbnail-meta strong {
  display: -webkit-box;
  font-size: 0.88rem;
  line-height: 1.25;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hc-attachment-thumbnail-meta small {
  color: var(--hc-text-muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.hc-attachment-thumbnail-actions {
  align-items: end;
  align-self: end;
  display: flex;
  gap: 0.4rem;
  justify-content: space-between;
  min-height: 2.5rem;
  padding: 0 0.6rem 0.55rem;
}

.hc-attachment-auto-badge {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  color: var(--hc-text-muted);
  flex: 0 0 auto;
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
}

.hc-attachment-popup-frame {
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  height: 100%;
  width: 100%;
}

.hc-attachment-preview-popup {
  height: calc(100dvh - 2rem) !important;
  left: 1rem !important;
  margin: 0 !important;
  max-height: calc(100dvh - 2rem);
  max-width: calc(100vw - 2rem);
  position: fixed !important;
  top: 1rem !important;
  transform: none !important;
  width: calc(100vw - 2rem) !important;
}

.hc-attachment-preview-modal-body {
  display: flex;
  height: 100%;
  max-height: none;
  overflow: hidden;
  padding: 0.5rem;
}

.hc-attachment-gallery {
  display: flex;
  flex: 1 1 auto;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.hc-attachment-gallery-stage {
  --hc-attachment-image-left: calc(50% - 170px);
  --hc-attachment-image-right: calc(50% - 170px);
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.hc-attachment-gallery-counter {
  backdrop-filter: blur(8px);
  background: rgba(30, 36, 30, 0.76);
  border-radius: 999px;
  bottom: 0.75rem;
  color: #fff;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  left: 50%;
  min-width: 3.6rem;
  padding: 0.28rem 0.65rem;
  pointer-events: none;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  z-index: 4;
}

.hc-attachment-gallery-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 112px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  z-index: 4;
}

.hc-attachment-gallery-arrow > span {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(30, 36, 30, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 2.3rem;
  height: 58px;
  justify-content: center;
  line-height: 1;
  opacity: 0.08;
  padding-bottom: 0.2rem;
  transition: background-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
  width: 42px;
}

.hc-attachment-gallery-arrow:hover > span,
.hc-attachment-gallery-arrow:focus-visible > span {
  background: rgba(30, 36, 30, 0.9);
  opacity: 1;
  transform: scale(1.05);
}

.hc-attachment-gallery-stage.is-near-previous .hc-attachment-gallery-arrow.is-previous:not(:disabled) > span,
.hc-attachment-gallery-stage.is-near-next .hc-attachment-gallery-arrow.is-next:not(:disabled) > span {
  background: rgba(30, 36, 30, 0.72);
  opacity: 0.9;
}

.hc-attachment-gallery-arrow:focus-visible > span {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 2px;
}

.hc-attachment-gallery-arrow:disabled {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}

.hc-attachment-gallery-arrow.is-previous {
  left: max(-36px, calc(var(--hc-attachment-image-left) - 36px));
}

.hc-attachment-gallery-arrow.is-next {
  right: max(-36px, calc(var(--hc-attachment-image-right) - 36px));
}

@media (hover: none) {
  .hc-attachment-gallery-arrow:not(:disabled) > span {
    opacity: 0.72;
  }
}

.hc-attachment-popup-image {
  align-items: center;
  background:
    linear-gradient(45deg, rgba(104, 112, 96, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(104, 112, 96, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(104, 112, 96, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(104, 112, 96, 0.08) 75%);
  background-color: var(--hc-surface);
  background-position: 0 0, 10px 10px, 10px -10px, 0 20px;
  background-size: 20px 20px;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: auto;
  padding: 0.75rem;
  width: 100%;
}

.hc-attachment-popup-image img {
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(46, 51, 46, 0.16);
  display: block;
}

.hc-attachment-popup-image.is-fit {
  overflow: hidden;
}

.hc-attachment-popup-image.is-fit img {
  cursor: zoom-in;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.hc-attachment-popup-image:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hc-accent) 72%, #fff);
  outline-offset: -4px;
}

.hc-attachment-popup-image.is-actual-size {
  align-items: flex-start;
  cursor: grab;
  justify-content: flex-start;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  user-select: none;
}

.hc-attachment-popup-image.is-actual-size.is-panning {
  cursor: grabbing;
}

.hc-attachment-popup-image.is-actual-size img {
  -webkit-user-drag: none;
  height: auto;
  margin: auto;
  max-height: none;
  max-width: none;
  user-select: none;
  width: auto;
}

.hc-attachment-tool {
  align-items: center;
  aspect-ratio: 1;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  min-width: 38px;
  padding: 0;
}

.hc-attachment-tool.active {
  background: var(--hc-accent-soft);
  border-color: color-mix(in srgb, var(--hc-accent) 42%, var(--hc-border));
  color: var(--hc-accent);
}

.hc-attachment-compression-note {
  background: var(--hc-accent-soft);
  border: 1px solid color-mix(in srgb, var(--hc-accent) 34%, var(--hc-border));
  border-radius: 6px;
  color: var(--hc-text);
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
}

.hc-attachment-compression-preview {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-attachment-compression-preview div {
  background: #fbfaf6;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
}

.hc-attachment-compression-preview span {
  color: var(--hc-text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hc-attachment-compression-preview strong {
  font-size: 1.05rem;
}

.hc-attachment-compression-preview small {
  color: var(--hc-text-muted);
}

.hc-attachment-image-frame {
  background:
    linear-gradient(45deg, rgba(104, 112, 96, 0.12) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(104, 112, 96, 0.12) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(104, 112, 96, 0.12) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(104, 112, 96, 0.12) 75%);
  background-color: var(--hc-surface);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  min-height: min(52vh, 520px);
  overflow: auto;
  padding: 0.75rem;
}

.hc-attachment-image-frame img {
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(46, 51, 46, 0.16);
  display: block;
}

.hc-attachment-image-frame-fit {
  display: grid;
  overflow: hidden;
  place-items: center;
}

.hc-attachment-image-frame-fit img {
  max-height: min(48vh, 500px);
  max-width: 100%;
  object-fit: contain;
}

.hc-attachment-image-frame-actual {
  cursor: grab;
  max-height: min(62vh, 680px);
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  user-select: none;
}

.hc-attachment-image-frame-actual.is-panning {
  cursor: grabbing;
}

.hc-attachment-image-frame-actual img {
  height: auto;
  max-height: none;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  width: auto;
}

.hc-attachment-print-area {
  height: 0;
  left: -10000px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 0;
}

.hc-attachment-print-area img {
  display: block;
  max-height: 100vh;
  max-width: 100%;
  object-fit: contain;
}

.hc-pos-receipt {
  background: white;
  box-sizing: border-box;
  color: #111;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.35;
  margin: 0 auto;
  max-width: 72mm;
  padding: 9px;
  width: 72mm;
}

.hc-pos-center {
  display: grid;
  gap: 1px;
  justify-items: center;
  text-align: center;
}

.hc-pos-center strong {
  font-size: 13.6px;
  font-weight: 650;
}

.hc-pos-center span {
  font-size: 13px;
}

.hc-pos-title {
  font-size: 16.8px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: center;
}

.hc-pos-separator {
  color: #111;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  white-space: pre;
}

.hc-pos-line,
.hc-pos-label-value {
  color: #111;
  overflow-wrap: anywhere;
}

.hc-pos-label-value span {
  font-weight: 400;
}

.hc-pos-label-value strong {
  font-size: 15.2px;
  font-weight: 800;
}

.hc-pos-counterparty-row span {
  font-size: 13.6px;
  font-weight: 800;
}

.hc-pos-counterparty-row strong {
  font-size: 16.2px;
  font-weight: 800;
}

.hc-pos-detail {
  display: grid;
  gap: 0;
  margin-top: 3px;
}

.hc-pos-purpose-block {
  margin-top: 8px;
}

.hc-pos-detail span {
  font-size: 13.6px;
  font-weight: 800;
}

.hc-pos-detail strong {
  font-size: 16.2px;
  font-weight: 800;
}

.hc-pos-amount {
  font-size: 16.8px;
  font-weight: 800;
}

.hc-pos-signatures {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  text-align: center;
}

.hc-pos-signatures-single {
  grid-template-columns: 1fr;
}

.hc-pos-signature-column {
  display: grid;
  gap: 2px;
  min-height: 94px;
}

.hc-pos-signatures img {
  align-self: end;
  height: 58px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.hc-pos-signatures span,
.hc-pos-signatures small {
  font: inherit;
}

.hc-signature-workflow,
.hc-signature-editor {
  display: grid;
  gap: 0.85rem;
}

.hc-signature-status-grid,
.hc-signature-preview-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-signature-status-grid-single,
.hc-signature-preview-grid-single {
  grid-template-columns: 1fr;
}

.hc-signature-status-grid > div,
.hc-signature-preview-grid > div,
.hc-signature-current {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
}

.hc-signature-status-grid span,
.hc-signature-preview-grid span,
.hc-signature-current span,
.hc-signature-request-box span {
  color: var(--hc-muted);
  font-size: 0.88rem;
}

.hc-signature-preview-grid img,
.hc-signature-current img {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 6px;
  height: 64px;
  object-fit: contain;
  width: 100%;
}

.hc-signature-request-box {
  align-items: center;
  border: 1px dashed var(--hc-border-strong);
  border-radius: 8px;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 132px minmax(0, 1fr);
  padding: 0.75rem;
}

.hc-signature-request-box a {
  overflow-wrap: anywhere;
}

.hc-signature-request-box small {
  color: var(--hc-muted);
  display: block;
  margin-top: 0.35rem;
}

.hc-signature-qr {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 6px;
  padding: 0.35rem;
}

.hc-signature-qr svg {
  display: block;
  height: auto;
  width: 100%;
}

.hc-signature-canvas {
  background: #fff;
  border: 1px solid var(--hc-border-strong);
  border-radius: 8px;
  display: block;
  height: 210px;
  touch-action: none;
  width: 100%;
}

.hc-sign-page {
  display: grid;
  min-height: calc(100vh - 4rem);
  place-items: center;
}

.hc-sign-panel {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow);
  display: grid;
  gap: 1rem;
  max-width: 860px;
  padding: 1rem;
  width: min(100%, 860px);
}

.hc-sign-header {
  display: grid;
  gap: 0.15rem;
}

.hc-sign-header strong {
  font-size: 1.25rem;
}

.hc-sign-header span {
  color: var(--hc-muted);
}

.hc-sign-document {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-sign-document > div {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
}

.hc-sign-document .wide {
  grid-column: 1 / -1;
}

.hc-sign-document span,
.hc-sign-document small {
  color: var(--hc-muted);
}

.hc-sign-canvas-panel {
  display: grid;
  gap: 0.4rem;
}

.hc-sign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.hc-assembly-report-print {
  background: white;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: #1b1f18;
  padding: 1rem;
}

.hc-assembly-report-header {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.hc-assembly-report-header strong {
  font-size: 1.38rem;
}

.hc-assembly-report-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-assembly-report-grid h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.hc-assembly-report-grid table {
  border-collapse: collapse;
  width: 100%;
}

.hc-assembly-report-grid th,
.hc-assembly-report-grid td {
  border-bottom: 1px solid var(--hc-border);
  padding: 0.38rem 0.45rem;
  vertical-align: top;
}

.hc-assembly-report-grid th {
  background: #f6f1e5;
  font-size: 0.95rem;
  text-align: left;
}

.hc-assembly-report-grid .amount {
  text-align: right;
  white-space: nowrap;
}

.hc-assembly-report-grid tfoot td {
  font-weight: 800;
}

.hc-assembly-report-grid td[class*="hc-assembly-sub-"] {
  font-style: italic;
}

.hc-assembly-report-grid td.hc-assembly-sub-1:first-child {
  padding-left: 0.85rem;
}

.hc-assembly-report-grid td.hc-assembly-sub-2:first-child {
  padding-left: 1.4rem;
}

.hc-assembly-report-grid td.hc-assembly-sub-3:first-child {
  padding-left: 1.95rem;
}

.hc-assembly-report-grid td.hc-assembly-sub-1:nth-child(2) {
  padding-left: 1.5rem;
}

.hc-assembly-report-grid td.hc-assembly-sub-2:nth-child(2) {
  padding-left: 2.6rem;
}

.hc-assembly-report-grid td.hc-assembly-sub-3:nth-child(2) {
  padding-left: 3.7rem;
}

.hc-assembly-pair-ref {
  color: #6c7566;
  font-size: 0.82rem;
  margin-left: 0.4rem;
  white-space: nowrap;
}

.hc-assembly-activity {
  break-inside: avoid;
  margin-top: 1rem;
  page-break-inside: avoid;
}

.hc-assembly-activity h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.hc-assembly-activity table {
  border-collapse: collapse;
  width: 100%;
}

.hc-assembly-activity th,
.hc-assembly-activity td {
  border-bottom: 1px solid var(--hc-border);
  padding: 0.38rem 0.45rem;
  vertical-align: top;
}

.hc-assembly-activity th {
  background: #f6f1e5;
  font-size: 0.95rem;
  text-align: left;
}

.hc-assembly-activity .amount {
  text-align: right;
  white-space: nowrap;
}

.hc-assembly-activity .amount.is-negative {
  color: #9d2f2f;
}

.hc-assembly-activity tfoot td {
  font-weight: 800;
}

.hc-assembly-balance {
  break-inside: avoid;
  margin-top: 1rem;
  page-break-inside: avoid;
}

.hc-assembly-balance table {
  border-collapse: collapse;
  width: 100%;
}

.hc-assembly-balance td {
  border-bottom: 1px solid var(--hc-border);
  padding: 0.38rem 0.45rem;
}

.hc-assembly-balance .amount {
  text-align: right;
  white-space: nowrap;
}

.hc-assembly-balance .amount.is-negative {
  color: #9d2f2f;
}

.hc-assembly-result {
  align-items: center;
  background: #f6f1e5;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
}

.hc-assembly-result strong {
  font-size: 1.27rem;
}

.hc-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.hc-settings-season-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.hc-check-row {
  align-items: center;
  display: inline-flex;
  font-weight: 600;
  gap: 0.5rem;
  min-height: 38px;
}

.hc-check-row input {
  accent-color: var(--hc-forest);
  height: 1rem;
  width: 1rem;
}

.hc-requirement-editor {
  display: grid;
  gap: 0.65rem;
}

.hc-requirement-row {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(160px, 1fr) 120px 120px auto;
}

.hc-row-action {
  align-items: end;
  display: flex;
}

.hc-report-viewer {
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  height: 760px;
  min-height: 560px;
  overflow: hidden;
}

.hc-report-workspace {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
}

.hc-report-workspace.is-params-collapsed {
  grid-template-columns: minmax(0, 1fr) 52px;
}

.hc-report-main {
  min-width: 0;
  padding: 1rem;
}

.hc-report-main-topbar {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-bottom: 0.75rem;
}

.hc-report-back-action,
.hc-report-print-action {
  min-height: 38px;
  padding: 0.42rem 0.72rem;
}

.hc-report-print-action {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.hc-report-viewer button:has(.dxd-icon-ReportViewer_Toolbar_Print),
.hc-report-viewer button:has(.dxd-icon-blazor-viewer-print),
.hc-report-viewer [role="button"]:has(.dxd-icon-ReportViewer_Toolbar_Print),
.hc-report-viewer [role="button"]:has(.dxd-icon-blazor-viewer-print),
.hc-report-viewer button[title="Print"],
.hc-report-viewer [role="button"][title="Print"] {
  display: none !important;
}

.hc-report-main-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hc-report-params {
  background: rgba(248, 243, 231, 0.55);
  border-left: 1px solid var(--hc-border);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: auto;
}

.hc-report-params.is-collapsed {
  overflow: hidden;
}

.hc-report-params-header {
  align-items: center;
  border-bottom: 1px solid var(--hc-border);
  color: var(--hc-text);
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  min-height: 52px;
  padding: 0.42rem;
}

.hc-report-params-header strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hc-report-params.is-collapsed .hc-report-params-header {
  border-bottom: 0;
  flex-direction: column;
  justify-content: flex-start;
}

.hc-report-panel-icon {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--hc-text);
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  width: 38px;
}

.hc-report-panel-icon:hover,
.hc-report-panel-icon:focus-visible {
  background: rgba(62, 95, 68, 0.1);
  border-color: var(--hc-border);
  color: var(--hc-forest);
  outline: 0;
}

.hc-report-params-body {
  align-content: start;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.hc-report-run-action {
  justify-content: center;
  width: 100%;
}

.hc-detail-section {
  display: grid;
  gap: 1rem;
}

.hc-two-column {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hc-one-column {
  display: grid;
  gap: 1rem;
  max-width: 860px;
}

.hc-selection-list {
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  max-height: 220px;
  overflow: auto;
  padding: 0.65rem 0.75rem;
}

.hc-data-list {
  display: grid;
  gap: 0.55rem;
}

.hc-data-row {
  align-items: center;
  background: rgba(248, 243, 231, 0.65);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
}

.hc-data-row-stacked {
  align-items: flex-start;
  gap: 0.75rem;
}

.hc-data-row-stacked > div:first-child {
  display: grid;
  gap: 0.2rem;
}

.hc-notification-list {
  display: grid;
  gap: 0.85rem;
}

.hc-app-feed {
  display: grid;
  gap: 0.85rem;
}

.hc-portal-widget-grid {
  display: grid;
  gap: 0.85rem;
  grid-auto-flow: row dense;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.hc-portal-widget {
  min-width: 0;
}

.hc-portal-widget-fill {
  grid-column: 1 / -1;
}

.hc-app-dashboard-toolbar {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(12rem, 0.9fr);
}

.hc-app-dashboard-toolbar > div:first-child {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.hc-app-dashboard-toolbar-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  grid-column: 2;
  justify-content: flex-end;
}

.hc-app-dashboard-live-message {
  color: var(--hc-text-muted);
  font-size: 0.82rem;
  grid-column: 3;
  margin: 0;
  min-height: 1.1rem;
  text-align: right;
}

.hc-app-dashboard-toolbar > .hc-dashboard-toolbar-icon {
  grid-column: 3;
  justify-self: end;
}

.hc-app-dashboard-status {
  align-items: center;
  background: rgba(63, 95, 69, 0.08);
  border: 1px solid rgba(63, 95, 69, 0.14);
  border-radius: 8px;
  color: var(--hc-text-muted);
  display: flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: space-between;
  line-height: 1.35;
  min-height: 36px;
  padding: 0.45rem 0.65rem;
}

.hc-app-dashboard-layout-grid {
  align-items: stretch;
  display: grid;
  gap: 0.85rem;
  grid-auto-flow: row;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-app-dashboard-layout-item.is-width-1 {
  grid-column: span 1;
}

.hc-app-dashboard-layout-item.is-width-2,
.hc-app-dashboard-layout-grid > .hc-empty-state,
.hc-app-dashboard-layout-grid > .hc-app-dashboard-sync-compact {
  grid-column: 1 / -1;
}

.hc-app-dashboard-layout-grid.is-customizing {
  align-items: stretch;
}

.hc-app-dashboard-layout-item {
  display: grid;
  gap: 0.45rem;
  height: 100%;
  min-width: 0;
}

.hc-app-dashboard-layout-item > .hc-card {
  height: 100%;
  min-width: 0;
}

.hc-app-dashboard-layout-item.is-editing {
  grid-template-rows: auto minmax(0, 1fr);
}

.hc-app-dashboard-editbar {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px dashed rgba(63, 95, 69, 0.34);
  border-radius: 8px;
  cursor: grab;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.45rem;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.hc-app-dashboard-editbar-draggable:hover,
.hc-app-dashboard-editbar-draggable:focus-within,
.hc-app-dashboard-editbar-draggable.is-selected {
  background: rgba(63, 95, 69, 0.12);
  border-color: rgba(63, 95, 69, 0.5);
}

.hc-app-dashboard-editbar-draggable:active {
  cursor: grabbing;
}

.hc-app-dashboard-editbar strong {
  font-size: 0.86rem;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-app-dashboard-edit-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  justify-content: flex-end;
  touch-action: manipulation;
  -webkit-user-select: auto;
  user-select: auto;
}

.hc-app-dashboard-edit-actions .hc-icon-only {
  height: 36px;
  min-width: 36px;
  padding: 0;
  width: 36px;
}

.hc-app-dashboard-drop-zone {
  min-height: 3.75rem;
  width: min(4.75rem, 100%);
}

@media (max-width: 760px) {
  .hc-app-dashboard-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .hc-app-dashboard-toolbar-actions {
    grid-column: auto;
    justify-content: flex-start;
  }

  .hc-app-dashboard-live-message {
    grid-column: auto;
    text-align: left;
  }

  .hc-app-dashboard-toolbar > .hc-dashboard-toolbar-icon {
    grid-column: auto;
    justify-self: start;
  }

  .hc-dashboard-grid,
  .hc-app-dashboard-layout-grid {
    grid-template-columns: 1fr;
  }

  .hc-dashboard-widget-span-1,
  .hc-dashboard-widget-span-2,
  .hc-app-dashboard-layout-item.is-width-1,
  .hc-app-dashboard-layout-item.is-width-2 {
    grid-column: 1 / -1;
  }

  .hc-dashboard-drop-zone {
    min-height: 4rem;
    width: 4rem;
  }

  .hc-dashboard-toolbar-icon {
    flex: 0 0 auto;
    width: 2.5rem;
  }
}

.hc-app-dashboard-sync-compact {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px solid rgba(217, 168, 92, 0.44);
  border-radius: 8px;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
}

.hc-app-dashboard-sync-compact > div {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.hc-app-dashboard-sync-compact strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.hc-app-dashboard-add-dialog {
  max-width: min(620px, calc(100vw - 1.2rem));
}

.hc-app-dashboard-template-list {
  max-height: min(58dvh, 520px);
  overflow: auto;
  padding-right: 0.15rem;
}

.hc-app-dashboard-template-list .hc-dashboard-template-card {
  align-items: center;
}

.hc-app-dashboard-template-list .hc-dashboard-template-card small {
  color: var(--hc-danger);
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.hc-app-dashboard-weather-form {
  margin: 0;
}

.hc-app-weather-widget header {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.hc-app-version {
  color: var(--hc-text-muted);
  font-size: 0.78rem;
  font-weight: 650;
  margin-top: 0.25rem;
}

.hc-app-version strong {
  color: var(--hc-text);
  font-weight: 780;
}

.hc-app-tabs {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.25rem;
}

.hc-app-tabs a,
.hc-app-tabs button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--hc-muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 760;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.6rem;
  text-decoration: none;
}

.hc-app-tabs a.is-active,
.hc-app-tabs button.is-active {
  background: var(--hc-surface);
  border-color: rgba(63, 95, 69, 0.28);
  color: var(--hc-forest);
  box-shadow: 0 4px 14px rgba(46, 51, 46, 0.09);
}

.hc-app-tabs span {
  color: inherit;
  font-size: 0.78rem;
  margin-left: 0.35rem;
  opacity: 0.76;
}

.hc-app-tabs a.has-unread {
  position: relative;
}

.hc-app-tabs a.has-unread span.hc-tab-unread-badge {
  align-items: center;
  background: #c4552a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  justify-content: center;
  margin-left: 0.4rem;
  min-height: 1.15rem;
  min-width: 1.15rem;
  opacity: 1;
  padding: 0 0.35rem;
}

.hc-app-tabs a.has-unread:not(.is-active) {
  color: var(--hc-forest);
  font-weight: 820;
}

.hc-offline-message {
  border-color: rgba(217, 168, 92, 0.55);
}

.hc-offline-message.is-success {
  background: rgba(95, 127, 95, 0.12);
  border-color: rgba(95, 127, 95, 0.55);
}

.hc-offline-message.is-error {
  background: rgba(176, 67, 55, 0.10);
  border-color: rgba(176, 67, 55, 0.55);
}

.hc-local-sync-card {
  position: relative;
}

.hc-sync-panel {
  align-items: flex-start;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
}

.hc-local-sync-content {
  display: grid;
  flex: 1 1 auto;
  gap: 0.65rem;
  min-width: 0;
}

.hc-sync-actions {
  align-items: stretch;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.45rem;
}

.hc-local-sync-list {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  max-width: 100%;
}

.hc-local-sync-chip {
  align-items: center;
  background: rgba(63, 95, 69, 0.08);
  border: 1px solid rgba(63, 95, 69, 0.2);
  border-radius: 8px;
  color: var(--hc-text);
  display: grid;
  gap: 0.15rem 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 50px;
  padding: 0.52rem 0.65rem;
}

.hc-local-sync-chip.has-error {
  background: rgba(166, 94, 85, 0.1);
  border-color: rgba(166, 94, 85, 0.28);
}

.hc-local-sync-chip span {
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.hc-local-sync-chip strong {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  justify-content: center;
  line-height: 1;
  min-width: 1.8rem;
  padding: 0.28rem 0.48rem;
}

.hc-local-sync-chip em {
  color: var(--hc-danger);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  grid-column: 1 / -1;
  line-height: 1.1;
}

.hc-local-sync-empty {
  align-items: flex-start;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  padding: 0.62rem 0.7rem;
}

.hc-offline-map-status-list {
  display: grid;
  gap: 0.45rem;
}

.hc-offline-map-status-row {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  padding: 0.58rem 0.65rem;
}

.hc-offline-map-status-row div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hc-offline-map-status-row strong {
  font-size: 0.9rem;
}

.hc-offline-map-status-row > span {
  color: var(--hc-text-muted);
  font-size: 0.78rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.hc-local-sync-errors {
  display: grid;
  gap: 0.45rem;
}

.hc-local-sync-error {
  background: rgba(166, 94, 85, 0.1);
  border: 1px solid rgba(166, 94, 85, 0.28);
  border-radius: 8px;
  color: var(--hc-text);
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem 0.65rem;
}

.hc-local-sync-error span {
  color: var(--hc-danger);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hc-local-sync-error strong {
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.hc-offline-map-download {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem 2.35rem 0.65rem 0.75rem;
  position: relative;
}

.hc-offline-map-download-close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--hc-text-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 650;
  height: 1.8rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 0.4rem;
  top: 0.35rem;
  width: 1.8rem;
}

.hc-offline-map-download-close:hover,
.hc-offline-map-download-close:focus-visible {
  background: var(--hc-surface);
  color: var(--hc-text);
}

.hc-offline-map-download div:first-child {
  display: grid;
  gap: 0.15rem;
}

.hc-offline-map-download strong {
  font-size: 0.86rem;
}

.hc-offline-map-download span {
  color: var(--hc-text-muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.hc-sync-settings-backdrop {
  align-items: center;
  background: rgba(25, 31, 27, 0.38);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  position: fixed;
  right: 0;
  top: 0;
  z-index: 90;
}

.hc-sync-settings-dialog {
  display: grid;
  gap: 0.85rem;
  max-height: min(86dvh, 680px);
  max-width: 560px;
  overflow: auto;
  width: 100%;
}

.hc-sync-settings-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--hc-border);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding-bottom: 0.85rem;
}

.hc-sync-settings-body {
  display: grid;
  gap: 0.75rem;
}

.hc-sync-settings-footer {
  align-items: center;
  border-top: 1px solid var(--hc-border);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding-top: 0.85rem;
}

.hc-group-hunt-new-button {
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.hc-sync-dialog-backdrop {
  background: rgba(46, 51, 46, 0.32);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 88;
}

.hc-sync-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  left: max(0.75rem, env(safe-area-inset-left));
  margin: 0 auto;
  max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  max-width: 680px;
  overflow: hidden;
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  top: max(0.75rem, env(safe-area-inset-top));
  z-index: 89;
}

.hc-sync-dialog-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--hc-border);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding-bottom: 0.85rem;
}

.hc-sync-dialog-body {
  display: grid;
  gap: 0.35rem;
  overflow: auto;
  padding: 0.85rem 0;
}

.hc-sync-hub-section {
  display: grid;
  gap: 0.75rem;
}

.hc-sync-hub-section + .hc-sync-hub-section {
  border-top: 1px solid var(--hc-border);
  margin-top: 0.15rem;
  padding-top: 0.85rem;
}

.hc-sync-hub-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hc-sync-dialog-footer {
  align-items: stretch;
  border-top: 1px solid var(--hc-border);
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
  padding-top: 0.85rem;
}

.hc-sync-inline-message {
  background: rgba(95, 127, 95, 0.12);
  border: 1px solid rgba(95, 127, 95, 0.24);
  border-radius: 8px;
  color: var(--hc-text);
  font-weight: 650;
  margin-bottom: 0.75rem;
  padding: 0.6rem 0.7rem;
}

.hc-sync-operation-list {
  display: grid;
  gap: 0.75rem;
}

.hc-sync-operation {
  background: rgba(248, 243, 231, 0.48);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  padding: 0.75rem;
}

.hc-sync-operation-head {
  align-items: flex-start;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.hc-sync-operation-head h3 {
  overflow-wrap: anywhere;
}

.hc-sync-operation-actions,
.hc-sync-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.hc-sync-edit-panel {
  display: grid;
  gap: 0.55rem;
}

.hc-sync-edit-panel textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  min-height: 180px;
  resize: vertical;
}

.hc-sync-edit-message {
  color: var(--hc-danger);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.hc-sync-confirmation {
  background: rgba(217, 168, 92, 0.12);
  border: 1px solid rgba(217, 168, 92, 0.35);
  border-radius: 8px;
  display: grid;
  flex: 1 1 auto;
  gap: 0.45rem;
  padding: 0.75rem;
}

.hc-sync-confirmation p {
  margin: 0;
}

.hc-sync-confirmation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.hc-mobile-ops-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.hc-mobile-op-card {
  display: grid;
  gap: 0.85rem;
}

.hc-mobile-op-card header {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.hc-mobile-op-card h2 {
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0.35rem 0 0;
}

@media (min-width: 560px) {
  .hc-portal-widget-fill.hc-mobile-op-card {
    align-items: center;
    grid-template-columns: minmax(11rem, 0.9fr) minmax(15rem, 1.1fr) auto;
  }

  .hc-portal-widget-fill.hc-mobile-op-card header {
    align-items: center;
  }

  .hc-portal-widget-fill.hc-mobile-op-card .hc-dashboard-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-portal-widget-fill.hc-mobile-op-card > .hc-secondary-action {
    min-width: 8rem;
    width: auto !important;
  }
}

.hc-mobile-op-list {
  display: grid;
  gap: 0.65rem;
}

.hc-mobile-op-row {
  align-items: flex-start;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.72rem;
}

.hc-mobile-op-row.is-delete-pending {
  background: rgba(217, 168, 92, 0.12);
  border-color: rgba(217, 168, 92, 0.34);
}

.hc-mobile-op-row h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0.35rem 0 0.2rem;
  overflow-wrap: anywhere;
}

.hc-mobile-op-row p {
  color: var(--hc-text-muted);
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere;
}

.hc-mobile-op-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.hc-mobile-op-error {
  color: var(--hc-danger);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
}

.hc-mobile-op-form .hc-form-grid {
  align-items: start;
}

.hc-mobile-op-form .hc-lookup {
  min-width: 0;
  position: relative;
}

.hc-lookup-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(46, 51, 46, 0.16);
  display: grid;
  left: 0;
  max-height: 15rem;
  overflow: auto;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 95;
}

/* Keep the existing menu height while exposing overflow on desktop and PWA. */
.hc-lookup-menu {
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.hc-lookup-menu::-webkit-scrollbar {
  width: 12px;
}

.hc-lookup-menu::-webkit-scrollbar-track {
  background: var(--hc-surface, #f3f5f0);
  border-radius: 8px;
}

.hc-lookup-menu::-webkit-scrollbar-thumb {
  background: var(--hc-text-muted, #68745f);
  border: 3px solid var(--hc-surface, #f3f5f0);
  border-radius: 8px;
}

.hc-lookup-menu .hc-lookup-option {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--hc-text);
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.hc-lookup-menu .hc-lookup-option:hover,
.hc-lookup-menu .hc-lookup-option:focus-visible {
  background: rgba(168, 185, 154, 0.18);
  outline: none;
}

.hc-lookup-menu .hc-lookup-option span {
  color: var(--hc-text-muted);
  font-size: 0.82rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hc-readonly-note {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.15rem;
  padding: 0.62rem 0.7rem;
}

.hc-readonly-note span {
  color: var(--hc-text-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hc-readonly-note strong {
  color: var(--hc-text);
  font-size: 1rem;
  line-height: 1.2;
}

.hc-engagement-tools {
  align-items: end;
  display: grid;
  flex: 0 0 auto;
  gap: 0.45rem;
  justify-items: end;
}

.hc-engagement-tool-row {
  display: flex;
  gap: 0.4rem;
}

.hc-settings-icon {
  align-items: center;
  display: inline-flex;
  font-size: 1.15rem;
  height: 20px;
  justify-content: center;
  line-height: 1;
  width: 20px;
}

.hc-settings-icon::before {
  content: "⚙";
}

.hc-push-status-icon {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  line-height: 1;
  min-width: 36px;
  padding: 0;
}

button.hc-push-status-icon {
  cursor: pointer;
}

.hc-push-status-icon.is-active {
  background: var(--hc-success);
  border-color: rgba(47, 117, 81, 0.45);
}

.hc-push-status-icon.is-problem {
  background: var(--hc-danger);
  border-color: rgba(184, 74, 72, 0.45);
}

.hc-push-status-summary {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
}

.hc-push-status-summary strong,
.hc-push-status-summary small {
  display: block;
}

.hc-push-status-summary small {
  color: var(--hc-muted);
  margin-top: 0.12rem;
}

.hc-modal-layer {
  position: relative;
  z-index: 90;
}

.hc-modal-backdrop,
.hc-map-editor-backdrop {
  background: rgba(20, 27, 22, 0.5);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 80;
}

.hc-push-settings-modal {
  left: 50%;
  max-height: min(620px, calc(100dvh - 2rem));
  overflow: auto;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 1.5rem));
  z-index: 91;
}

.hc-notification-card {
  position: relative;
}

.hc-notification-card.is-unread {
  background: linear-gradient(90deg, rgba(196, 85, 42, 0.12) 0 0.28rem, var(--hc-surface) 0.28rem);
  border-color: rgba(196, 85, 42, 0.55);
  box-shadow: 0 8px 20px rgba(196, 85, 42, 0.08);
}

.hc-notification-card.is-unread h2 {
  font-weight: 860;
}

.hc-notification-card.is-seen:not(.is-read) {
  background: linear-gradient(90deg, rgba(217, 168, 92, 0.18) 0 0.28rem, var(--hc-surface) 0.28rem);
  border-color: rgba(217, 168, 92, 0.55);
}

.hc-notification-card.is-read {
  opacity: 0.86;
}

.hc-push-diagnostics {
  align-items: center;
  border-top: 1px solid var(--hc-border);
  color: var(--hc-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 0.45rem 0.85rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
}

.hc-push-diagnostics strong {
  color: var(--hc-text);
  font-weight: 700;
}

.hc-push-diagnostics-error {
  color: var(--hc-danger);
}

.hc-notification-detail {
  align-content: start;
  display: grid;
  gap: 1rem;
  min-height: calc(100dvh - 9rem);
}

.hc-notification-detail-body {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
}

.hc-work-card {
  display: grid;
}

.hc-stand-card {
  display: grid;
}

.hc-stand-filter {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.hc-admin-slot-actions {
  align-items: end;
  background: rgba(248, 243, 231, 0.68);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(220px, 360px) auto;
  padding: 0.75rem;
}

.hc-stands-map {
  aspect-ratio: 4 / 3;
  background: var(--hc-sand);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  min-height: 320px;
  overflow: hidden;
}

.hc-stand-thumb {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hc-border);
  border-radius: 6px;
  display: block;
  height: 46px;
  object-fit: cover;
  width: 64px;
}

.hc-stand-photo-preview {
  align-items: start;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(160px, 260px) auto;
}

.hc-stand-photo-preview img {
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  max-height: 220px;
  max-width: 100%;
  object-fit: cover;
}

.hc-stands-map.is-empty::before {
  align-items: center;
  color: #687060;
  content: "Nema koordinata za prikaz.";
  display: flex;
  font-weight: 650;
  height: 100%;
  justify-content: center;
}

.hc-portal-map {
  aspect-ratio: 3 / 4;
  background: var(--hc-sand);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  min-height: 440px;
  overflow: hidden;
  position: relative;
}

.hc-portal-map .ol-control,
.hc-portal-map .ol-attribution {
  display: none !important;
}

.hc-app-map-feed {
  margin-left: -1rem;
  margin-right: -1rem;
}

.hc-app-map-surface {
  background: var(--hc-sand);
  border-bottom: 1px solid var(--hc-border);
  border-top: 1px solid var(--hc-border);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.hc-app-map-surface .hc-portal-map {
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  height: calc(100vh - 175px);
  height: calc(100dvh - 175px - env(safe-area-inset-bottom));
  min-height: 420px;
  max-width: 100%;
  width: 100%;
}

.hc-app-shell-no-header .hc-app-map-surface .hc-portal-map {
  height: calc(100vh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 0.85rem);
  height: calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 0.85rem);
  min-height: 420px;
}

.hc-portal-map-shell {
  isolation: isolate;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.hc-map-attribution-badge {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(45, 61, 45, 0.18);
  border-radius: 4px;
  bottom: 0.45rem;
  color: #283328;
  font-size: 0.68rem;
  line-height: 1.2;
  max-width: min(78vw, 28rem);
  overflow: hidden;
  padding: 0.18rem 0.35rem;
  pointer-events: none;
  position: absolute;
  right: 0.45rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 6;
}

.hc-map-label-layer {
  filter:
    invert(1)
    grayscale(1)
    contrast(1.35)
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.9))
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.8));
}

.hc-map-loading-overlay {
  align-items: center;
  background: rgba(248, 243, 231, 0.88);
  border: 1px solid rgba(216, 204, 184, 0.86);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(46, 51, 46, 0.16);
  color: var(--hc-text);
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  left: 50%;
  max-width: min(300px, calc(100% - 2rem));
  padding: 0.8rem 0.9rem;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  z-index: 28;
}

.hc-map-loading-overlay strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.hc-map-loading-overlay small {
  color: var(--hc-text-muted);
  font-weight: 650;
  line-height: 1.3;
}

.hc-portal-map-commandbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(46, 51, 46, 0.14);
  display: flex;
  gap: 0.32rem;
  left: 0.75rem;
  padding: 0.34rem;
  position: absolute;
  top: 0.75rem;
  z-index: 5;
}

.hc-app-shell-route-app-map .hc-portal-map-commandbar {
  top: max(0.75rem, calc(env(safe-area-inset-top) + 0.75rem));
}

.hc-app-map-filter-backdrop {
  background: rgba(16, 20, 18, 0.04);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 58;
}

.hc-app-map-filter-sheet {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--hc-border);
  border-radius: 14px 14px 0 0;
  bottom: 0;
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 0.85rem;
  left: 0;
  max-height: min(78dvh, 620px);
  overflow: auto;
  padding: 0.9rem max(0.9rem, env(safe-area-inset-right)) calc(var(--hc-app-nav-height) + var(--hc-app-nav-bottom-gap) + max(1rem, env(safe-area-inset-bottom))) max(0.9rem, env(safe-area-inset-left));
  position: fixed;
  right: 0;
  z-index: 60;
}

.hc-app-map-filter-sheet header {
  align-items: flex-start;
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
}

.hc-app-map-filter-header-actions {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.hc-app-map-filter-body {
  display: grid;
  gap: 0.75rem;
}

.hc-app-map-filter-range {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-map-touch-pin {
  background: var(--hc-forest);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  height: 28px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -100%);
  width: 28px;
  z-index: 20;
}

.hc-map-touch-pin::after {
  background: inherit;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  bottom: -9px;
  content: "";
  height: 14px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
}

.hc-map-touch-pin::before {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
}

.hc-map-move-pin {
  align-items: center;
  background: var(--hc-map-marker-color, var(--hc-forest));
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  color: #fff;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  left: 50%;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  z-index: 22;
}

.hc-map-move-pin::after {
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  content: "";
  height: 46px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
}

.hc-map-longtouch-picker {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--hc-border);
  border-radius: 12px;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 0.65rem;
  left: 0.75rem;
  max-height: min(42vh, 340px);
  overflow: auto;
  padding: 0.75rem;
  position: absolute;
  right: 0.75rem;
  z-index: 30;
}

.hc-map-longtouch-picker-head {
  align-items: start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.hc-map-longtouch-picker-head strong,
.hc-map-longtouch-picker-head small {
  display: block;
}

.hc-map-longtouch-picker-head small {
  color: var(--hc-text-muted);
  font-size: 0.88rem;
  margin-top: 0.1rem;
}

.hc-map-longtouch-actions {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: none;
}

.hc-map-longtouch-actions::-webkit-scrollbar {
  display: none;
}

.hc-map-longtouch-scroll {
  min-width: 0;
  position: relative;
}

.hc-map-longtouch-scroll::before,
.hc-map-longtouch-scroll::after {
  bottom: 0;
  content: "";
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: opacity 0.16s ease;
  width: 2rem;
  z-index: 2;
}

.hc-map-longtouch-scroll::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  left: 0;
}

.hc-map-longtouch-scroll::after {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  right: 0;
}

.hc-map-longtouch-scroll.can-scroll-left::before,
.hc-map-longtouch-scroll.can-scroll-right::after {
  opacity: 1;
}

.hc-map-longtouch-scroll-arrow {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(46, 51, 46, 0.18);
  color: var(--hc-text);
  display: flex;
  height: 1.7rem;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.16s ease;
  width: 1.7rem;
  z-index: 3;
}

.hc-map-longtouch-scroll-arrow::before {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 0.46rem;
  width: 0.46rem;
}

.hc-map-longtouch-scroll-arrow.is-left {
  left: 0.15rem;
}

.hc-map-longtouch-scroll-arrow.is-left::before {
  transform: rotate(-135deg);
}

.hc-map-longtouch-scroll-arrow.is-right {
  right: 0.15rem;
}

.hc-map-longtouch-scroll-arrow.is-right::before {
  transform: rotate(45deg);
}

.hc-map-longtouch-scroll.can-scroll-left .hc-map-longtouch-scroll-arrow.is-left,
.hc-map-longtouch-scroll.can-scroll-right .hc-map-longtouch-scroll-arrow.is-right {
  opacity: 1;
}

.hc-map-longtouch-action {
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: flex;
  flex: 0 0 auto;
  font: inherit;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 136px;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.hc-map-longtouch-action:hover,
.hc-map-longtouch-action:focus {
  background: var(--hc-forest);
  border-color: var(--hc-forest);
  color: #fff;
}

.hc-app-shell .hc-map-longtouch-picker {
  bottom: calc(var(--hc-app-nav-height) + var(--hc-app-nav-bottom-gap) + 0.65rem);
  left: max(0.75rem, env(safe-area-inset-left));
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 60;
}

.hc-app-shell-route-app-map .hc-map-longtouch-picker {
  bottom: calc(var(--hc-app-nav-height) + var(--hc-app-nav-bottom-gap) + 0.85rem);
  position: fixed;
}

.hc-map-zoom-button {
  font-size: 1.38rem;
  font-weight: 780;
  line-height: 1;
}

.hc-map-editor-card {
  bottom: 78px;
  left: max(0.75rem, calc((100vw - 680px) / 2 + 0.75rem));
  max-height: min(58vh, 520px);
  overflow: auto;
  position: fixed;
  right: max(0.75rem, calc((100vw - 680px) / 2 + 0.75rem));
  z-index: 60;
}

.hc-map-editor-backdrop {
  z-index: 70;
}

.hc-map-editor-modal {
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(0.75rem, calc((100vw - 640px) / 2));
  max-height: calc(100dvh - 2rem);
  right: max(0.75rem, calc((100vw - 640px) / 2));
  top: max(1rem, env(safe-area-inset-top));
  z-index: 81;
}

.hc-map-form {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hc-map-popup-form {
  align-items: start;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hc-map-form-wide,
.hc-map-form-actions {
  grid-column: 1 / -1;
}

.hc-map-lto-type-grid {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
}

.hc-map-lto-type {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: flex;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.hc-map-lto-type.is-active {
  background: var(--hc-forest);
  border-color: var(--hc-forest);
  color: #fff;
}

.hc-map-lto-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hc-map-lto-icon {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: inline-flex;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.5rem 0.6rem;
}

.hc-map-lto-icon.is-active {
  background: var(--hc-forest);
  border-color: var(--hc-forest);
  color: #fff;
}

.hc-map-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hc-map-color-choice {
  background: var(--hc-map-choice-color);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--hc-border);
  height: 34px;
  width: 34px;
}

.hc-map-color-choice.is-active {
  box-shadow: 0 0 0 3px var(--hc-forest);
}

.hc-map-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hc-map-offline-status {
  color: var(--hc-muted);
  font-size: 0.92rem;
  min-height: 1.35rem;
}

.hc-map-detail-card {
  gap: 0.75rem;
}

.hc-map-note-photo {
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  display: block;
  margin-top: 0.8rem;
  max-height: 360px;
  max-width: 100%;
  object-fit: cover;
}

.hc-map-marker {
  align-items: center;
  border: 2px solid white;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(46, 51, 46, 0.22);
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.79rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  line-height: 1;
  min-width: 34px;
  padding: 0 0.42rem;
}

.hc-map-marker-icon {
  height: 18px;
  width: 18px;
}

.hc-map-marker.is-free {
  background: var(--hc-success);
}

.hc-map-marker.is-busy {
  background: var(--hc-danger);
}

.hc-map-marker.is-mine {
  background: var(--hc-clay);
}

.hc-map-marker.is-stand {
  background: var(--hc-clay);
}

.hc-map-marker.is-feature {
  background: var(--hc-map-marker-color, var(--hc-forest));
}

.hc-map-marker.is-blind {
  background: #4B7D8A;
}

.hc-map-marker.is-feedingsite {
  background: var(--hc-success);
}

.hc-map-marker.is-saltlick {
  background: #7A6AA0;
}

.hc-map-marker.is-wateringplace {
  background: #4F7F8F;
}

.hc-map-marker.is-note {
  background: var(--hc-warning);
  color: #2E332E;
}

.hc-map-marker.is-current {
  background: #2F74A8;
  font-size: 0.68rem;
}

.hc-map-popup {
  color: var(--hc-text);
  display: grid;
  gap: 0.2rem;
  min-width: 190px;
}

.hc-map-popup strong,
.hc-map-popup span,
.hc-map-popup small {
  display: block;
}

.hc-offline-map-popup {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(46, 51, 46, 0.18);
  max-width: min(340px, calc(100vw - 1.5rem));
  padding: 0.82rem;
}

.hc-map-popup-head {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 0.42rem;
}

.hc-map-popup-actions {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.35rem;
}

.hc-map-popup-action {
  align-items: center;
  background: var(--hc-forest);
  border: 1px solid var(--hc-forest);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 30px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  touch-action: manipulation;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  width: 30px;
}

.hc-map-popup-action:hover,
.hc-map-popup-action:focus-visible,
.hc-map-popup-action.is-active {
  background: #2F4D36;
  border-color: #2F4D36;
  color: #fff;
}

.hc-map-popup-close {
  background: transparent;
  border-color: var(--hc-border);
  color: var(--hc-muted);
}

.hc-map-popup-close:hover,
.hc-map-popup-close:focus-visible {
  background: rgba(166, 94, 85, 0.12);
  border-color: rgba(166, 94, 85, 0.42);
  color: #A65E55;
}

.hc-map-popup-action .hc-map-tool-icon {
  height: 16px;
  width: 16px;
}

.hc-map-shell {
  display: grid;
  gap: 0.75rem;
}

.hc-map-commandbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(46, 51, 46, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  left: 0.8rem;
  max-width: calc(100% - 1.6rem);
  padding: 0.34rem;
  position: absolute;
  top: 0.8rem;
  z-index: 500;
}

.hc-map-generation-status {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--hc-border);
  border-radius: 10px;
  bottom: 0.9rem;
  box-shadow: 0 12px 32px rgba(46, 51, 46, 0.18);
  display: flex;
  gap: 0.65rem;
  left: 50%;
  max-width: min(640px, calc(100% - 1.6rem));
  padding: 0.65rem 0.75rem;
  position: absolute;
  top: auto;
  transform: translateX(-50%);
  width: max-content;
  z-index: 500;
}

.hc-map-generation-status div {
  display: grid;
  flex: 1 1 auto;
  gap: 0.1rem;
  min-width: 0;
}

.hc-map-generation-status strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.hc-map-generation-status div span:last-child {
  color: var(--hc-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hc-map-generation-status .hc-toast-close {
  flex-shrink: 0;
  margin: -0.15rem -0.2rem 0 0;
}

.hc-file-action {
  cursor: pointer;
  position: relative;
}

.hc-file-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.hc-map-canvas-wrap {
  background: var(--hc-sand);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  min-height: calc(100vh - 165px);
  overflow: hidden;
  position: relative;
}

.hc-hunting-map {
  height: 100%;
  min-height: calc(100vh - 165px);
  width: 100%;
}

.hc-map-tool-button {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(216, 204, 184, 0.92);
  border-radius: 8px;
  color: var(--hc-text);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  position: relative;
  touch-action: manipulation;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  width: 40px;
  -webkit-tap-highlight-color: transparent;
}

.hc-map-tool-button:hover,
.hc-map-tool-button.is-active {
  background: var(--hc-forest);
  border-color: var(--hc-forest);
  color: #fff;
}

.hc-map-locate-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(216, 204, 184, 0.92);
  border-radius: 8px;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  box-shadow: 0 8px 22px rgba(46, 51, 46, 0.16);
  color: var(--hc-text);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: max(0.75rem, env(safe-area-inset-right));
  touch-action: manipulation;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  width: 44px;
  -webkit-tap-highlight-color: transparent;
  z-index: 25;
}

.hc-map-basemap-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(216, 204, 184, 0.92);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(46, 51, 46, 0.16);
  color: var(--hc-text);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: max(0.75rem, env(safe-area-inset-right));
  top: max(0.75rem, env(safe-area-inset-top));
  touch-action: manipulation;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  width: 44px;
  -webkit-tap-highlight-color: transparent;
  z-index: 25;
}

.hc-map-basemap-button:hover,
.hc-map-basemap-button:focus-visible,
.hc-map-basemap-button.is-active {
  background: var(--hc-forest);
  border-color: var(--hc-forest);
  color: #fff;
}

.hc-map-locate-button:hover,
.hc-map-locate-button:focus-visible {
  background: var(--hc-forest);
  border-color: var(--hc-forest);
  color: #fff;
}

.hc-map-locate-button:disabled {
  cursor: progress;
}

.hc-map-locate-button.is-loading .hc-map-tool-icon {
  animation: hc-spin 0.8s linear infinite;
}

.hc-map-tool-file {
  margin: 0;
}

.hc-map-tool-menu {
  position: relative;
}

.hc-map-tool-menu-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(46, 51, 46, 0.16);
  display: flex;
  gap: 0.28rem;
  left: 0;
  padding: 0.34rem;
  position: absolute;
  top: calc(100% + 0.35rem);
  z-index: 520;
}

.hc-map-tool-menu-panel-actions {
  align-items: stretch;
  flex-direction: column;
  min-width: 11rem;
}

.hc-map-tool-menu-action {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--hc-text);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 720;
  gap: 0.5rem;
  justify-content: flex-start;
  line-height: 1.2;
  min-height: 36px;
  padding: 0.45rem 0.55rem;
  text-align: left;
  white-space: nowrap;
}

.hc-map-tool-menu-action:hover,
.hc-map-tool-menu-action:focus-visible {
  background: rgba(63, 95, 69, 0.1);
  color: var(--hc-forest);
}

.hc-map-tool-menu-action:disabled {
  cursor: progress;
  opacity: 0.58;
}

.hc-map-toolbar-separator {
  align-self: stretch;
  background: var(--hc-border);
  display: inline-block;
  margin: 0 0.16rem;
  width: 1px;
}

.hc-map-tool-icon {
  background-color: currentColor;
  display: inline-block;
  height: 20px;
  width: 20px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.hc-map-icon-boundary {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5L12 2L20 5V19L12 22L4 19V5ZM6 6.4V17.6L12 19.8L18 17.6V6.4L12 4.2L6 6.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5L12 2L20 5V19L12 22L4 19V5ZM6 6.4V17.6L12 19.8L18 17.6V6.4L12 4.2L6 6.4Z'/%3E%3C/svg%3E");
}

.hc-map-icon-region {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7L9 3L15 6L21 4V17L15 20L9 17L3 20V7ZM5 8.1V16.9L9 14.9V5.6L5 8.1ZM11 5.7V15.1L15 17.1V7.9L11 5.7ZM17 8V17.1L19 16.1V6.9L17 8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7L9 3L15 6L21 4V17L15 20L9 17L3 20V7ZM5 8.1V16.9L9 14.9V5.6L5 8.1ZM11 5.7V15.1L15 17.1V7.9L11 5.7ZM17 8V17.1L19 16.1V6.9L17 8Z'/%3E%3C/svg%3E");
}

.hc-map-icon-object {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2A7 7 0 0 0 5 9C5 14.2 12 22 12 22S19 14.2 19 9A7 7 0 0 0 12 2ZM12 6A3 3 0 1 1 12 12A3 3 0 0 1 12 6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2A7 7 0 0 0 5 9C5 14.2 12 22 12 22S19 14.2 19 9A7 7 0 0 0 12 2ZM12 6A3 3 0 1 1 12 12A3 3 0 0 1 12 6Z'/%3E%3C/svg%3E");
}

.hc-map-icon-stand,
.hc-map-icon-stand-high {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3H16L19 8V11H17V21H15V16H9V21H7V11H5V8L8 3ZM9.1 5L7.5 8H16.5L14.9 5H9.1ZM7 10V12H17V10H7ZM9 14H15V12H9V14Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3H16L19 8V11H17V21H15V16H9V21H7V11H5V8L8 3ZM9.1 5L7.5 8H16.5L14.9 5H9.1ZM7 10V12H17V10H7ZM9 14H15V12H9V14Z'/%3E%3C/svg%3E");
}

.hc-map-icon-stand-low {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 11L12 5L19 11V14H17V20H7V14H5V11ZM8 12V18H16V12L12 8.4L8 12ZM10 14H14V17H10V14Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 11L12 5L19 11V14H17V20H7V14H5V11ZM8 12V18H16V12L12 8.4L8 12ZM10 14H14V17H10V14Z'/%3E%3C/svg%3E");
}

.hc-map-icon-perch {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 3H13V8H17V11H13V21H11V11H7V8H11V3ZM8 13H10V15H8V13ZM14 13H16V15H14V13ZM8 17H16V19H8V17ZM5 5H8V7H5V5ZM16 5H19V7H16V5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 3H13V8H17V11H13V21H11V11H7V8H11V3ZM8 13H10V15H8V13ZM14 13H16V15H14V13ZM8 17H16V19H8V17ZM5 5H8V7H5V5ZM16 5H19V7H16V5Z'/%3E%3C/svg%3E");
}

.hc-map-icon-blind {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12L7 7H17L20 12V20H4V12ZM8.1 9L6.3 12H17.7L15.9 9H8.1ZM7 14V18H17V14H7ZM9 15H11V17H9V15ZM13 15H15V17H13V15Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12L7 7H17L20 12V20H4V12ZM8.1 9L6.3 12H17.7L15.9 9H8.1ZM7 14V18H17V14H7ZM9 15H11V17H9V15ZM13 15H15V17H13V15Z'/%3E%3C/svg%3E");
}

.hc-map-icon-feeding {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 4H19V7H17L15 20H9L7 7H5V4ZM9 7L10.7 18H13.3L15 7H9ZM3 9H6L7 20H4L3 9ZM18 9H21L20 20H17L18 9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 4H19V7H17L15 20H9L7 7H5V4ZM9 7L10.7 18H13.3L15 7H9ZM3 9H6L7 20H4L3 9ZM18 9H21L20 20H17L18 9Z'/%3E%3C/svg%3E");
}

.hc-map-icon-feeding-large {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6H20V9H18.8L16.6 20H7.4L5.2 9H4V6ZM7.3 9L9 18H15L16.7 9H7.3ZM2 11H5L6 20H3.5L2 11ZM19 11H22L20.5 20H18L19 11ZM7 3H9V6H7V3ZM15 3H17V6H15V3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6H20V9H18.8L16.6 20H7.4L5.2 9H4V6ZM7.3 9L9 18H15L16.7 9H7.3ZM2 11H5L6 20H3.5L2 11ZM19 11H22L20.5 20H18L19 11ZM7 3H9V6H7V3ZM15 3H17V6H15V3Z'/%3E%3C/svg%3E");
}

.hc-map-icon-feeding-small {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 5H18V8H16.5L14.8 18H9.2L7.5 8H6V5ZM9.5 8L10.8 16H13.2L14.5 8H9.5ZM5 19H19V21H5V19ZM8 3H10V5H8V3ZM14 3H16V5H14V3ZM4 10H7L8 18H5.2L4 10ZM17 10H20L18.8 18H16L17 10Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 5H18V8H16.5L14.8 18H9.2L7.5 8H6V5ZM9.5 8L10.8 16H13.2L14.5 8H9.5ZM5 19H19V21H5V19ZM8 3H10V5H8V3ZM14 3H16V5H14V3ZM4 10H7L8 18H5.2L4 10ZM17 10H20L18.8 18H16L17 10Z'/%3E%3C/svg%3E");
}

.hc-map-icon-salt {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3H16V6H18V21H6V6H8V3ZM10 5V6H14V5H10ZM8 8V19H16V8H8ZM10 10H14V12H10V10ZM10 14H14V16H10V14Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3H16V6H18V21H6V6H8V3ZM10 5V6H14V5H10ZM8 8V19H16V8H8ZM10 10H14V12H10V10ZM10 14H14V16H10V14Z'/%3E%3C/svg%3E");
}

.hc-map-icon-water {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2S5 9.6 5 15A7 7 0 0 0 19 15C19 9.6 12 2 12 2ZM12 20A5 5 0 0 1 7 15C7 11.9 10.2 7.2 12 4.8C13.8 7.2 17 11.9 17 15A5 5 0 0 1 12 20Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2S5 9.6 5 15A7 7 0 0 0 19 15C19 9.6 12 2 12 2ZM12 20A5 5 0 0 1 7 15C7 11.9 10.2 7.2 12 4.8C13.8 7.2 17 11.9 17 15A5 5 0 0 1 12 20Z'/%3E%3C/svg%3E");
}

.hc-map-icon-note {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 3H19V15L14 21H5V3ZM7 5V19H12V13H17V5H7ZM14 15V18.1L16.6 15H14ZM9 8H15V10H9V8ZM9 11H14V13H9V11Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 3H19V15L14 21H5V3ZM7 5V19H12V13H17V5H7ZM14 15V18.1L16.6 15H14ZM9 8H15V10H9V8ZM9 11H14V13H9V11Z'/%3E%3C/svg%3E");
}

.hc-map-icon-work {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.2 3L21 8.8L19.6 10.2L17.9 8.5L12.5 13.9L14 15.4L12.6 16.8L8.6 12.8L10 11.4L11.1 12.5L16.5 7.1L13.8 4.4L15.2 3ZM5 15L9 19L7.6 20.4L3.6 16.4L5 15ZM4 21H20V23H4V21Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.2 3L21 8.8L19.6 10.2L17.9 8.5L12.5 13.9L14 15.4L12.6 16.8L8.6 12.8L10 11.4L11.1 12.5L16.5 7.1L13.8 4.4L15.2 3ZM5 15L9 19L7.6 20.4L3.6 16.4L5 15ZM4 21H20V23H4V21Z'/%3E%3C/svg%3E");
}

.hc-map-icon-filter {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5H20V7L14 13V20L10 18V13L4 7V5ZM7.2 7L12 11.8L16.8 7H7.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5H20V7L14 13V20L10 18V13L4 7V5ZM7.2 7L12 11.8L16.8 7H7.2Z'/%3E%3C/svg%3E");
}

.hc-map-icon-harvest {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2H13V5.1A7 7 0 0 1 18.9 11H22V13H18.9A7 7 0 0 1 13 18.9V22H11V18.9A7 7 0 0 1 5.1 13H2V11H5.1A7 7 0 0 1 11 5.1V2ZM12 7A5 5 0 1 0 12 17A5 5 0 0 0 12 7ZM12 10A2 2 0 1 1 12 14A2 2 0 0 1 12 10Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2H13V5.1A7 7 0 0 1 18.9 11H22V13H18.9A7 7 0 0 1 13 18.9V22H11V18.9A7 7 0 0 1 5.1 13H2V11H5.1A7 7 0 0 1 11 5.1V2ZM12 7A5 5 0 1 0 12 17A5 5 0 0 0 12 7ZM12 10A2 2 0 1 1 12 14A2 2 0 0 1 12 10Z'/%3E%3C/svg%3E");
}

.hc-map-icon-track {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 3.2C10.1 2.8 11.5 4.5 11.1 6.5L10.6 9.2C10.2 11.1 8.5 12.3 6.8 11.9C5 11.5 4 9.7 4.6 7.8L5.5 5.1C5.9 4.1 6.8 3.5 8.2 3.2ZM15.8 3.2C17.2 3.5 18.1 4.1 18.5 5.1L19.4 7.8C20 9.7 19 11.5 17.2 11.9C15.5 12.3 13.8 11.1 13.4 9.2L12.9 6.5C12.5 4.5 13.9 2.8 15.8 3.2ZM8 14C9.8 14 11 15.4 11 17.2V20H5V17.2C5 15.4 6.2 14 8 14ZM16 14C17.8 14 19 15.4 19 17.2V20H13V17.2C13 15.4 14.2 14 16 14Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 3.2C10.1 2.8 11.5 4.5 11.1 6.5L10.6 9.2C10.2 11.1 8.5 12.3 6.8 11.9C5 11.5 4 9.7 4.6 7.8L5.5 5.1C5.9 4.1 6.8 3.5 8.2 3.2ZM15.8 3.2C17.2 3.5 18.1 4.1 18.5 5.1L19.4 7.8C20 9.7 19 11.5 17.2 11.9C15.5 12.3 13.8 11.1 13.4 9.2L12.9 6.5C12.5 4.5 13.9 2.8 15.8 3.2ZM8 14C9.8 14 11 15.4 11 17.2V20H5V17.2C5 15.4 6.2 14 8 14ZM16 14C17.8 14 19 15.4 19 17.2V20H13V17.2C13 15.4 14.2 14 16 14Z'/%3E%3C/svg%3E");
}

.hc-map-icon-wallow {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3C14.6 5.7 17 8.8 17 12.2A5 5 0 0 1 7 12.2C7 8.8 9.4 5.7 12 3ZM12 6.2C10.3 8.3 9 10.4 9 12.2A3 3 0 0 0 15 12.2C15 10.4 13.7 8.3 12 6.2ZM4 18C5.8 16.8 7.6 16.8 9.4 18C11.1 19.1 12.9 19.1 14.6 18C16.4 16.8 18.2 16.8 20 18V20C18.2 18.8 16.4 18.8 14.6 20C12.9 21.1 11.1 21.1 9.4 20C7.6 18.8 5.8 18.8 4 20V18Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3C14.6 5.7 17 8.8 17 12.2A5 5 0 0 1 7 12.2C7 8.8 9.4 5.7 12 3ZM12 6.2C10.3 8.3 9 10.4 9 12.2A3 3 0 0 0 15 12.2C15 10.4 13.7 8.3 12 6.2ZM4 18C5.8 16.8 7.6 16.8 9.4 18C11.1 19.1 12.9 19.1 14.6 18C16.4 16.8 18.2 16.8 20 18V20C18.2 18.8 16.4 18.8 14.6 20C12.9 21.1 11.1 21.1 9.4 20C7.6 18.8 5.8 18.8 4 20V18Z'/%3E%3C/svg%3E");
}

.hc-map-icon-route {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3A3 3 0 1 0 6 9A3 3 0 0 0 6 3ZM6 5A1 1 0 1 1 6 7A1 1 0 0 1 6 5ZM18 15A3 3 0 1 0 18 21A3 3 0 0 0 18 15ZM18 17A1 1 0 1 1 18 19A1 1 0 0 1 18 17ZM8.5 6H14A4 4 0 0 1 14 14H10A2 2 0 0 0 10 18H15V16H10A4 4 0 0 1 10 12H14A2 2 0 0 0 14 8H8.5V6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3A3 3 0 1 0 6 9A3 3 0 0 0 6 3ZM6 5A1 1 0 1 1 6 7A1 1 0 0 1 6 5ZM18 15A3 3 0 1 0 18 21A3 3 0 0 0 18 15ZM18 17A1 1 0 1 1 18 19A1 1 0 0 1 18 17ZM8.5 6H14A4 4 0 0 1 14 14H10A2 2 0 0 0 10 18H15V16H10A4 4 0 0 1 10 12H14A2 2 0 0 0 14 8H8.5V6Z'/%3E%3C/svg%3E");
}

.hc-map-icon-regions-visible {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5C7 5 3.1 8.1 1.5 12C3.1 15.9 7 19 12 19C17 19 20.9 15.9 22.5 12C20.9 8.1 17 5 12 5ZM12 17C8.3 17 5.2 14.9 3.7 12C5.2 9.1 8.3 7 12 7C15.7 7 18.8 9.1 20.3 12C18.8 14.9 15.7 17 12 17ZM12 9A3 3 0 1 0 12 15A3 3 0 0 0 12 9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5C7 5 3.1 8.1 1.5 12C3.1 15.9 7 19 12 19C17 19 20.9 15.9 22.5 12C20.9 8.1 17 5 12 5ZM12 17C8.3 17 5.2 14.9 3.7 12C5.2 9.1 8.3 7 12 7C15.7 7 18.8 9.1 20.3 12C18.8 14.9 15.7 17 12 17ZM12 9A3 3 0 1 0 12 15A3 3 0 0 0 12 9Z'/%3E%3C/svg%3E");
}

.hc-map-icon-refresh {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6A8 8 0 1 0 20 12H18A6 6 0 1 1 16.2 7.7L13 11H21V3L18 6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6A8 8 0 1 0 20 12H18A6 6 0 1 1 16.2 7.7L13 11H21V3L18 6Z'/%3E%3C/svg%3E");
}

.hc-map-icon-map-refresh {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5L8 3L13 5L21 3V12H19V5.8L14 7.1V12H12V6.9L9 5.7V18.2L12 19.3V17H14V21L8 19L3 21V5ZM5 6.4V18.1L7 17.3V5.6L5 6.4ZM18 14A5 5 0 1 0 23 19H21A3 3 0 1 1 20.1 16.9L18.5 18.5H23V14L21.5 15.5A5 5 0 0 0 18 14Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5L8 3L13 5L21 3V12H19V5.8L14 7.1V12H12V6.9L9 5.7V18.2L12 19.3V17H14V21L8 19L3 21V5ZM5 6.4V18.1L7 17.3V5.6L5 6.4ZM18 14A5 5 0 1 0 23 19H21A3 3 0 1 1 20.1 16.9L18.5 18.5H23V14L21.5 15.5A5 5 0 0 0 18 14Z'/%3E%3C/svg%3E");
}

.hc-map-icon-export {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 20H19V18H5V20ZM13 4H11V12.2L8.4 9.6L7 11L12 16L17 11L15.6 9.6L13 12.2V4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 20H19V18H5V20ZM13 4H11V12.2L8.4 9.6L7 11L12 16L17 11L15.6 9.6L13 12.2V4Z'/%3E%3C/svg%3E");
}

.hc-map-icon-import {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 20H19V18H5V20ZM11 16H13V7.8L15.6 10.4L17 9L12 4L7 9L8.4 10.4L11 7.8V16Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 20H19V18H5V20ZM11 16H13V7.8L15.6 10.4L17 9L12 4L7 9L8.4 10.4L11 7.8V16Z'/%3E%3C/svg%3E");
}

.hc-map-icon-locate {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2H13V5.1A7 7 0 0 1 18.9 11H22V13H18.9A7 7 0 0 1 13 18.9V22H11V18.9A7 7 0 0 1 5.1 13H2V11H5.1A7 7 0 0 1 11 5.1V2ZM12 7A5 5 0 1 0 12 17A5 5 0 0 0 12 7ZM12 9.5A2.5 2.5 0 1 1 12 14.5A2.5 2.5 0 0 1 12 9.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2H13V5.1A7 7 0 0 1 18.9 11H22V13H18.9A7 7 0 0 1 13 18.9V22H11V18.9A7 7 0 0 1 5.1 13H2V11H5.1A7 7 0 0 1 11 5.1V2ZM12 7A5 5 0 1 0 12 17A5 5 0 0 0 12 7ZM12 9.5A2.5 2.5 0 1 1 12 14.5A2.5 2.5 0 0 1 12 9.5Z'/%3E%3C/svg%3E");
}

.hc-map-icon-satellite {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5H20V19H4V5ZM6 7V17H18V7H6ZM8 15L10.4 12.2L12.1 14.2L14.4 11L17 15H8ZM8.5 9A1.5 1.5 0 1 1 8.5 12A1.5 1.5 0 0 1 8.5 9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5H20V19H4V5ZM6 7V17H18V7H6ZM8 15L10.4 12.2L12.1 14.2L14.4 11L17 15H8ZM8.5 9A1.5 1.5 0 1 1 8.5 12A1.5 1.5 0 0 1 8.5 9Z'/%3E%3C/svg%3E");
}

.hc-map-icon-labels {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4H20V7H18V6H13V18H15V20H9V18H11V6H6V7H4V4ZM16 10H21V12H19.5L18 20H16L17.5 12H16V10ZM4 12H9V14H7.5L6 20H4L5.5 14H4V12Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4H20V7H18V6H13V18H15V20H9V18H11V6H6V7H4V4ZM16 10H21V12H19.5L18 20H16L17.5 12H16V10ZM4 12H9V14H7.5L6 20H4L5.5 14H4V12Z'/%3E%3C/svg%3E");
}

.hc-map-icon-standard {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5L9 3L15 5L21 3V19L15 21L9 19L3 21V5ZM5 6.4V18.2L8 17.2V5.8L5 6.4ZM10 5.8V17.2L14 18.5V6.8L10 5.8ZM16 6.8V18.5L19 17.6V5.8L16 6.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5L9 3L15 5L21 3V19L15 21L9 19L3 21V5ZM5 6.4V18.2L8 17.2V5.8L5 6.4ZM10 5.8V17.2L14 18.5V6.8L10 5.8ZM16 6.8V18.5L19 17.6V5.8L16 6.8Z'/%3E%3C/svg%3E");
}

.hc-map-icon-edit {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.8 3.2L20.8 6.2L8.9 18.1L4 20L5.9 15.1L17.8 3.2ZM17.8 6L7.6 16.2L7 17.8L8.6 17.2L18.8 7L17.8 6ZM3 21H21V19H3V21Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.8 3.2L20.8 6.2L8.9 18.1L4 20L5.9 15.1L17.8 3.2ZM17.8 6L7.6 16.2L7 17.8L8.6 17.2L18.8 7L17.8 6ZM3 21H21V19H3V21Z'/%3E%3C/svg%3E");
}

.hc-map-icon-move {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2H13V6.2L14.6 4.6L16 6L12 10L8 6L9.4 4.6L11 6.2V2ZM12 14L16 18L14.6 19.4L13 17.8V22H11V17.8L9.4 19.4L8 18L12 14ZM2 11H6.2L4.6 9.4L6 8L10 12L6 16L4.6 14.6L6.2 13H2V11ZM17.8 11H22V13H17.8L19.4 14.6L18 16L14 12L18 8L19.4 9.4L17.8 11Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2H13V6.2L14.6 4.6L16 6L12 10L8 6L9.4 4.6L11 6.2V2ZM12 14L16 18L14.6 19.4L13 17.8V22H11V17.8L9.4 19.4L8 18L12 14ZM2 11H6.2L4.6 9.4L6 8L10 12L6 16L4.6 14.6L6.2 13H2V11ZM17.8 11H22V13H17.8L19.4 14.6L18 16L14 12L18 8L19.4 9.4L17.8 11Z'/%3E%3C/svg%3E");
}

.hc-map-icon-close {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19L5 17.6L10.6 12L5 6.4L6.4 5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19L5 17.6L10.6 12L5 6.4L6.4 5Z'/%3E%3C/svg%3E");
}

.hc-map-detail-form {
  display: grid;
  gap: 0.85rem;
}

.hc-map-popup-title {
  font-size: 1.22rem;
  font-weight: 760;
  line-height: 1.2;
  margin: 0.55rem 0 0.9rem;
}

.hc-icon-only {
  min-width: 42px;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.hc-leaflet-pin {
  align-items: center;
  background: var(--hc-forest);
  border: 2px solid white;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(46, 51, 46, 0.22);
  color: white;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 820;
  justify-content: center;
}

.hc-leaflet-pin span {
  line-height: 1;
  max-width: 34px;
  overflow: hidden;
  padding: 0 0.24rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-leaflet-pin.is-stand {
  background: var(--hc-clay);
}

.hc-leaflet-pin.is-work {
  background: var(--hc-danger);
}

.hc-leaflet-pin.is-blind {
  background: #4B7D8A;
}

.hc-leaflet-pin.is-feedingsite {
  background: var(--hc-success);
}

.hc-leaflet-pin.is-saltlick {
  background: #7A6AA0;
}

.hc-leaflet-pin.is-wateringplace {
  background: #4F7F8F;
}

.hc-hunting-map .ol-zoom {
  bottom: 0.8rem;
  left: auto;
  right: 0.8rem;
  top: auto;
}

.hc-hunting-map .ol-control button {
  background: rgba(255, 255, 255, 0.94);
  color: var(--hc-text);
}

.hc-hunting-map .ol-control button:hover,
.hc-hunting-map .ol-control button:focus {
  background: var(--hc-forest);
  color: #fff;
}

.hc-hunting-map .ol-attribution {
  bottom: 0.35rem;
  right: 3.8rem;
}

.hc-hunting-map .leaflet-draw-toolbar a,
.hc-hunting-map .leaflet-control-zoom a {
  color: #1f2a1f;
}

.hc-hunting-map .leaflet-popup-content {
  font-size: 0.95rem;
  margin: 0.7rem 0.85rem;
}

.hc-hunting-map .hc-leaflet-hover-popup {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(46, 51, 46, 0.16);
  color: var(--hc-text);
  font-size: 0.92rem;
  padding: 0.45rem 0.6rem;
}

.hc-hunting-map .hc-leaflet-hover-popup::before {
  border-top-color: rgba(255, 255, 255, 0.98);
}

.hc-map-hover-popup {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(46, 51, 46, 0.16);
  color: var(--hc-text);
  font-size: 0.92rem;
  max-width: min(280px, calc(100vw - 2rem));
  padding: 0.45rem 0.6rem;
  pointer-events: none;
  transform: translateY(-0.35rem);
}

.hc-map-vertex-delete-popup {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  display: inline-flex;
  box-shadow: 0 8px 18px rgba(46, 51, 46, 0.18);
  padding: 0.18rem;
  pointer-events: auto;
  z-index: 20;
}

.hc-map-vertex-delete-button {
  align-items: center;
  appearance: none;
  background: var(--hc-danger);
  border: 1px solid color-mix(in srgb, var(--hc-danger), transparent 25%);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-width: 26px;
  padding: 0;
  width: 26px;
}

.hc-map-vertex-delete-button:disabled {
  background: color-mix(in srgb, var(--hc-text), transparent 84%);
  border-color: color-mix(in srgb, var(--hc-border), transparent 45%);
  cursor: not-allowed;
  opacity: 0.7;
}

.hc-map-vertex-delete-button .hc-icon {
  height: 12px;
  width: 12px;
}

.hc-role-chip-list,
.hc-segmented-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hc-segmented-actions > button {
  flex: 1 1 120px;
}

.hc-public-shell {
  background:
    linear-gradient(rgba(246, 243, 234, 0.83), rgba(246, 243, 234, 0.93)),
    radial-gradient(circle at top left, rgba(168, 185, 154, 0.42), transparent 36%),
    var(--hc-mist);
  min-height: 100vh;
  padding: 2rem;
}

.hc-public-home,
.hc-public-document {
  max-width: 1040px;
}

.hc-public-info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-public-contact-list {
  display: grid;
  gap: 0.85rem;
}

.hc-public-contact-list div {
  border-bottom: 1px solid var(--hc-border);
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
}

.hc-public-contact-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hc-public-contact-list dt,
.hc-public-document-note {
  color: var(--hc-text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hc-public-contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.hc-public-document {
  display: grid;
  gap: 1rem;
}

.hc-public-document section {
  scroll-margin-top: 1rem;
}

.hc-public-document-list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.hc-app-shell {
  --hc-app-nav-bottom-gap: max(0.75rem, env(safe-area-inset-bottom));
  --hc-app-nav-height: 76px;
  background: var(--hc-mist);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: calc(var(--hc-app-nav-height) + var(--hc-app-nav-bottom-gap) + 0.85rem);
}

.hc-app-header {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(63, 95, 69, 0.96), rgba(63, 95, 69, 0.84)),
    var(--hc-forest);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 1rem 1rem 1.35rem;
}

.hc-app-header strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.1;
}

.hc-app-header span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 0.88rem;
}

.hc-app-header .hc-theme-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hc-app-header .hc-theme-toggle:hover,
.hc-app-header .hc-theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hc-app-header .hc-theme-toggle span {
  color: inherit;
}

.hc-app-header .hc-profile-trigger {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.hc-app-header .hc-profile-trigger:hover,
.hc-app-header .hc-profile-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.hc-app-header .hc-profile-panel strong {
  color: var(--hc-text);
  font-size: 0.98rem;
  line-height: 1.15;
}

.hc-app-header .hc-profile-panel span {
  color: var(--hc-text-muted);
  font-size: 0.84rem;
}

@media (max-width: 480px) {
  .hc-app-header {
    gap: 0.65rem;
    padding-inline: 0.75rem;
  }

  .hc-app-header > div:first-child {
    min-width: 0;
  }

  .hc-app-header strong,
  .hc-app-header > div:first-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hc-app-header strong {
    font-size: 1.02rem;
  }

  .hc-app-header > div:first-child span {
    font-size: 0.78rem;
  }

  .hc-app-header-actions {
    gap: 0.35rem;
    min-width: 0;
  }

  .hc-app-dashboard-header-actions {
    gap: 0.25rem;
  }

  .hc-app-header .hc-theme-toggle,
  .hc-app-header .hc-profile-trigger,
  .hc-app-header-actions > .hc-dashboard-toolbar-icon,
  .hc-app-dashboard-header-actions .hc-dashboard-toolbar-icon {
    height: 36px;
    min-height: 36px;
    min-width: 36px;
    width: 36px;
  }
}

.hc-app-main {
  display: grid;
  gap: 0.9rem;
  margin: -0.7rem auto 0;
  max-width: 680px;
  min-height: 0;
  padding: 0 1rem 1.5rem;
}

.hc-app-shell-no-header .hc-app-main {
  margin-top: 0;
  padding-top: max(0.75rem, env(safe-area-inset-top));
}

.hc-app-shell-no-header.hc-app-shell-route-app-map .hc-app-main {
  padding-top: 0;
}

.hc-app-shell-no-header.hc-app-shell-route-app-conversations:has(.hc-chat-shell.has-active-conversation),
.hc-app-shell-no-header.hc-app-shell-route-app-conversations.hc-app-shell-conversation-open {
  --hc-app-nav-bottom-gap: 0px;
  --hc-app-nav-height: 0px;
  height: 100dvh;
  overflow: hidden;
  padding-bottom: 0;
}

.hc-app-shell-no-header.hc-app-shell-route-app-conversations:has(.hc-chat-shell.has-active-conversation) .hc-app-main,
.hc-app-shell-no-header.hc-app-shell-route-app-conversations.hc-app-shell-conversation-open .hc-app-main {
  height: 100%;
  overflow: hidden;
}

.hc-app-shell-no-header.hc-app-shell-route-app-conversations:has(.hc-chat-shell.has-active-conversation) .hc-bottom-nav,
.hc-app-shell-no-header.hc-app-shell-route-app-conversations.hc-app-shell-conversation-open .hc-bottom-nav {
  display: none;
  pointer-events: none;
}

.hc-app-main .hc-metric-grid,
.hc-app-main .hc-dashboard-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.hc-bottom-nav {
  --hc-bottom-nav-active-index: 0;
  --hc-bottom-nav-gap: 0.2rem;
  --hc-bottom-nav-item-width: calc((100% - (var(--hc-bottom-nav-pad-x) * 2) - (var(--hc-bottom-nav-gap) * 4)) / 5);
  --hc-bottom-nav-pad-x: 0.45rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--hc-border);
  border-radius: 16px;
  bottom: var(--hc-app-nav-bottom-gap);
  box-shadow: 0 14px 32px rgba(38, 47, 41, 0.18);
  display: grid;
  gap: var(--hc-bottom-nav-gap);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  left: max(0.5rem, env(safe-area-inset-left));
  overflow: hidden;
  padding: 0.35rem var(--hc-bottom-nav-pad-x);
  position: fixed;
  right: max(0.5rem, env(safe-area-inset-right));
  z-index: 30;
}

.hc-bottom-nav::before {
  background: rgba(63, 95, 69, 0.1);
  border: 1px solid rgba(63, 95, 69, 0.28);
  border-radius: 0.85rem;
  bottom: 0.35rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
  content: "";
  left: var(--hc-bottom-nav-pad-x);
  pointer-events: none;
  position: absolute;
  top: 0.35rem;
  transform: translateX(calc(var(--hc-bottom-nav-active-index) * (100% + var(--hc-bottom-nav-gap))));
  transition: transform 260ms cubic-bezier(0.2, 0.85, 0.25, 1.08), opacity 160ms ease;
  width: var(--hc-bottom-nav-item-width);
  z-index: 0;
}

.hc-bottom-nav-active-1 {
  --hc-bottom-nav-active-index: 1;
}

.hc-bottom-nav-active-2 {
  --hc-bottom-nav-active-index: 2;
}

.hc-bottom-nav-active-3 {
  --hc-bottom-nav-active-index: 3;
}

.hc-bottom-nav-active-4 {
  --hc-bottom-nav-active-index: 4;
}

.hc-bottom-nav-active-none::before {
  opacity: 0;
}

.hc-bottom-nav a {
  align-content: center;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  color: #687060;
  display: grid;
  font-size: 0.81rem;
  font-weight: 700;
  gap: 0.15rem;
  justify-items: center;
  line-height: 1.1;
  min-height: 56px;
  min-width: 0;
  overflow: visible;
  padding: 0.4rem 0.16rem 0.32rem;
  position: relative;
  touch-action: manipulation;
  text-decoration: none;
  transform: translateY(0) scale(1);
  transition: color 170ms ease, transform 130ms ease;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}

.hc-bottom-nav a::after {
  background: radial-gradient(circle at center, rgba(63, 95, 69, 0.18), rgba(63, 95, 69, 0.04) 58%, transparent 72%);
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.68);
  transition: opacity 130ms ease, transform 180ms ease;
  z-index: 0;
}

.hc-bottom-nav a > span {
  position: relative;
  z-index: 1;
}

.hc-bottom-nav a:active {
  color: var(--hc-forest);
  transform: translateY(2px) scale(0.93);
}

.hc-bottom-nav a:active::after,
.hc-bottom-nav a.is-pressed::after {
  opacity: 1;
  transform: scale(1);
  transition-duration: 70ms;
}

.hc-bottom-nav a.is-pressed {
  color: var(--hc-forest);
  transform: translateY(2px) scale(0.93);
}

.hc-bottom-nav a.active {
  color: var(--hc-forest);
}

@media (prefers-reduced-motion: reduce) {
  .hc-bottom-nav::before,
  .hc-bottom-nav a,
  .hc-bottom-nav a::after {
    transition-duration: 1ms;
  }
}

.hc-bottom-nav .nav-icon {
  font-size: 1.19rem;
}

.hc-bottom-nav a > span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-bottom-nav .hc-nav-icon-wrap {
  display: inline-flex;
  padding: 0.2rem 0.35rem 0.05rem 0.1rem;
  position: relative;
}

.hc-bottom-nav .hc-nav-badge {
  align-items: center;
  background: #c4552a;
  border: 1.5px solid #fff;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(38, 47, 41, 0.35);
  color: #fff;
  display: inline-flex;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  height: 1.15rem;
  justify-content: center;
  line-height: 1;
  min-width: 1.15rem;
  padding: 0 0.32rem;
  position: absolute;
  right: -0.2rem;
  top: -0.15rem;
  z-index: 2;
}

.hc-app-splash {
  align-items: center;
  background: rgba(46, 51, 46, 0.24);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 1rem;
  pointer-events: auto;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 95;
}

.hc-app-splash-card {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow-strong);
  color: var(--hc-text);
  display: flex;
  gap: 0.75rem;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
}

.hc-app-splash-card strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.hc-app-splash-card p {
  color: var(--hc-text-muted);
  font-size: 0.85rem;
  line-height: 1.3;
  margin: 0.15rem 0 0;
}

.hc-app-update-card {
  align-items: flex-start;
  width: min(360px, calc(100vw - 2rem));
}

.hc-app-update-content {
  display: grid;
  flex: 1 1 auto;
  gap: 0.5rem;
  min-width: 0;
}

.hc-app-update-progress {
  background: rgba(63, 95, 69, 0.16);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  width: 100%;
}

.hc-app-update-progress span {
  background: var(--hc-forest);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.18s ease;
  width: 0;
}

.hc-app-update-progress.is-indeterminate span {
  animation: hc-app-update-progress 1.1s ease-in-out infinite;
  width: 42%;
}

@keyframes hc-app-update-progress {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(250%);
  }
}

.hc-app-spinner {
  animation: hc-spinner-rotate 0.8s linear infinite;
  border: 3px solid rgba(63, 95, 69, 0.18);
  border-top-color: var(--hc-forest);
  border-radius: 999px;
  flex: 0 0 auto;
  height: 28px;
  width: 28px;
}

@keyframes hc-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.hc-nav-icon {
  display: block;
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.hc-nav-icon-home {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 9.2L10 3L17 9.2V17H12V12H8V17H3V9.2ZM5 10.1V15H6V10H14V15H15V10.1L10 5.7L5 10.1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 9.2L10 3L17 9.2V17H12V12H8V17H3V9.2ZM5 10.1V15H6V10H14V15H15V10.1L10 5.7L5 10.1Z'/%3E%3C/svg%3E");
}

.hc-nav-icon-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 13.6L4.6 10L3.2 11.4L8.2 16.4L17.2 7.4L15.8 6L8.2 13.6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 13.6L4.6 10L3.2 11.4L8.2 16.4L17.2 7.4L15.8 6L8.2 13.6Z'/%3E%3C/svg%3E");
}

.hc-nav-icon-bell {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 18A2.5 2.5 0 0 0 12.4 16H7.6A2.5 2.5 0 0 0 10 18ZM4 14H16L14.5 12.2V8A4.5 4.5 0 0 0 11 3.6V2H9V3.6A4.5 4.5 0 0 0 5.5 8V12.2L4 14Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 18A2.5 2.5 0 0 0 12.4 16H7.6A2.5 2.5 0 0 0 10 18ZM4 14H16L14.5 12.2V8A4.5 4.5 0 0 0 11 3.6V2H9V3.6A4.5 4.5 0 0 0 5.5 8V12.2L4 14Z'/%3E%3C/svg%3E");
}

.hc-nav-icon-chat {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4H17V14H7.5L3 17.2V4ZM5 6V13.3L6.9 12H15V6H5ZM7 8H13V10H7V8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4H17V14H7.5L3 17.2V4ZM5 6V13.3L6.9 12H15V6H5ZM7 8H13V10H7V8Z'/%3E%3C/svg%3E");
}

.hc-nav-icon-stand {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3H14L16 7V11H14V18H12V11H8V18H6V11H4V7L6 3ZM7.2 5L6.2 7H13.8L12.8 5H7.2ZM6 9H14V8.8H6V9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3H14L16 7V11H14V18H12V11H8V18H6V11H4V7L6 3ZM7.2 5L6.2 7H13.8L12.8 5H7.2ZM6 9H14V8.8H6V9Z'/%3E%3C/svg%3E");
}

.hc-nav-icon-map {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L7.8 2.5L12.2 4.5L17 2.5V15.5L12.2 17.5L7.8 15.5L3 17.5V4.5ZM5 5.8V14.5L6.8 13.8V5L5 5.8ZM8.8 5V13.8L11.2 15V6.2L8.8 5ZM13.2 6.2V15L15 14.2V5.5L13.2 6.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L7.8 2.5L12.2 4.5L17 2.5V15.5L12.2 17.5L7.8 15.5L3 17.5V4.5ZM5 5.8V14.5L6.8 13.8V5L5 5.8ZM8.8 5V13.8L11.2 15V6.2L8.8 5ZM13.2 6.2V15L15 14.2V5.5L13.2 6.2Z'/%3E%3C/svg%3E");
}

.hc-chat-banner {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow-soft);
  max-height: 7.5rem;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 0.75rem 0.85rem;
}

.hc-chat-shell {
  --hc-chat-message-font-size: 0.96rem;
  --hc-chat-preview-font-size: 0.84rem;
  --hc-chat-meta-font-size: 0.7rem;
  display: grid;
  gap: 0.8rem;
  min-height: 0;
}

.hc-chat-font-tiny {
  --hc-chat-message-font-size: 0.82rem;
  --hc-chat-preview-font-size: 0.74rem;
  --hc-chat-meta-font-size: 0.62rem;
}

.hc-chat-font-small {
  --hc-chat-message-font-size: 0.88rem;
  --hc-chat-preview-font-size: 0.78rem;
  --hc-chat-meta-font-size: 0.66rem;
}

.hc-chat-font-large {
  --hc-chat-message-font-size: 1.06rem;
  --hc-chat-preview-font-size: 0.93rem;
  --hc-chat-meta-font-size: 0.76rem;
}

.hc-chat-font-huge {
  --hc-chat-message-font-size: 1.16rem;
  --hc-chat-preview-font-size: 1rem;
  --hc-chat-meta-font-size: 0.82rem;
}

.hc-chat-list-panel,
.hc-chat-detail-panel {
  min-height: 0;
  min-width: 0;
}

.hc-chat-detail-panel {
  display: grid;
}

.hc-chat-list-panel,
.hc-chat-thread,
.hc-chat-empty {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow-soft);
}

.hc-chat-list-panel {
  align-content: stretch;
  display: grid;
  gap: 0.7rem;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 1.5rem);
  max-height: calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 1.5rem);
  overflow: hidden;
  padding: 0.7rem;
}

.hc-chat-shell.has-active-conversation .hc-chat-list-panel,
.hc-chat-shell:not(.has-active-conversation) .hc-chat-detail-panel {
  display: none;
}

.hc-chat-inbox-head,
.hc-chat-head-actions,
.hc-chat-thread-head,
.hc-chat-list-title,
.hc-chat-composer-row,
.hc-chat-sheet header,
.hc-chat-sheet-tabs,
.hc-chat-inbox-tabs {
  align-items: center;
  display: flex;
}

.hc-chat-inbox-head,
.hc-chat-thread-head,
.hc-chat-list-title,
.hc-chat-sheet header {
  justify-content: space-between;
}

.hc-chat-inbox-head {
  gap: 0.75rem;
  min-height: 48px;
}

.hc-chat-inbox-head h1,
.hc-chat-thread-head h2,
.hc-chat-sheet h2 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0;
}

.hc-chat-inbox-head span,
.hc-chat-thread-head span,
.hc-chat-list-preview,
.hc-chat-list-title time,
.hc-chat-message footer,
.hc-chat-typing {
  color: var(--hc-text-muted);
}

.hc-chat-thread-head .hc-chat-avatar {
  color: #fff;
}

.hc-chat-head-actions {
  gap: 0.45rem;
  flex: 0 0 auto;
}

.hc-chat-icon-button,
.hc-chat-new-button,
.hc-chat-back-button,
.hc-chat-attach-button,
.hc-chat-send-button,
.hc-chat-load-more,
.hc-chat-sheet header button,
.hc-chat-sheet-tabs button,
.hc-chat-inbox-tabs button,
.hc-chat-member-option {
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  touch-action: manipulation;
}

.hc-chat-icon-button,
.hc-chat-back-button,
.hc-chat-load-more,
.hc-chat-sheet header button,
.hc-chat-sheet-tabs button,
.hc-chat-inbox-tabs button {
  background: var(--hc-surface-muted);
  color: var(--hc-text);
  padding: 0.45rem;
}

.hc-chat-new-button,
.hc-chat-send-button {
  background: var(--hc-forest);
  border-color: var(--hc-forest);
  color: #fff;
  padding: 0.45rem;
}

.hc-chat-new-button .hc-chat-action-icon,
.hc-chat-send-button .hc-chat-action-icon {
  background: #fff;
}

.hc-chat-icon-button,
.hc-chat-new-button,
.hc-chat-back-button,
.hc-chat-attach-button,
.hc-chat-send-button,
.hc-chat-sheet header button {
  display: inline-flex;
  height: 40px;
  width: 40px;
}

.hc-chat-action-icon {
  background: currentColor;
  display: block;
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.hc-chat-icon-search {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 3A5.5 5.5 0 0 1 13 11.7L17.2 15.9L15.9 17.2L11.7 13A5.5 5.5 0 1 1 8.5 3ZM8.5 4.8A3.7 3.7 0 1 0 8.5 12.2A3.7 3.7 0 0 0 8.5 4.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 3A5.5 5.5 0 0 1 13 11.7L17.2 15.9L15.9 17.2L11.7 13A5.5 5.5 0 1 1 8.5 3ZM8.5 4.8A3.7 3.7 0 1 0 8.5 12.2A3.7 3.7 0 0 0 8.5 4.8Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-refresh {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.4 6.6A6 6 0 0 0 5.2 5.2A6 6 0 0 0 4 7H2A8 8 0 0 1 16.8 4.8V2H18.8V8.2H12.6V6.2H15.1L15.4 6.6ZM4.6 13.4A6 6 0 0 0 14.8 14.8A6 6 0 0 0 16 13H18A8 8 0 0 1 3.2 15.2V18H1.2V11.8H7.4V13.8H4.9L4.6 13.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.4 6.6A6 6 0 0 0 5.2 5.2A6 6 0 0 0 4 7H2A8 8 0 0 1 16.8 4.8V2H18.8V8.2H12.6V6.2H15.1L15.4 6.6ZM4.6 13.4A6 6 0 0 0 14.8 14.8A6 6 0 0 0 16 13H18A8 8 0 0 1 3.2 15.2V18H1.2V11.8H7.4V13.8H4.9L4.6 13.4Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-plus {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 4H11V9H16V11H11V16H9V11H4V9H9V4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 4H11V9H16V11H11V16H9V11H4V9H9V4Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-back {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.4 4L9.8 5.4L6.2 9H17V11H6.2L9.8 14.6L8.4 16L2.4 10L8.4 4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.4 4L9.8 5.4L6.2 9H17V11H6.2L9.8 14.6L8.4 16L2.4 10L8.4 4Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-close {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.6 4.2L10 8.6L14.4 4.2L15.8 5.6L11.4 10L15.8 14.4L14.4 15.8L10 11.4L5.6 15.8L4.2 14.4L8.6 10L4.2 5.6L5.6 4.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.6 4.2L10 8.6L14.4 4.2L15.8 5.6L11.4 10L15.8 14.4L14.4 15.8L10 11.4L5.6 15.8L4.2 14.4L8.6 10L4.2 5.6L5.6 4.2Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-attach {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.1 15.8A4.3 4.3 0 0 1 7.1 9.7L12.2 4.6A2.6 2.6 0 1 1 15.9 8.3L10.5 13.7A1.2 1.2 0 0 1 8.8 12L13.6 7.2L12.2 5.8L7.4 10.6A3.2 3.2 0 0 0 11.9 15.1L17.3 9.7A4.6 4.6 0 1 0 10.8 3.2L5.7 8.3A6.3 6.3 0 1 0 14.6 17.2L19 12.8L17.6 11.4L13.2 15.8A4.3 4.3 0 0 1 7.1 15.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.1 15.8A4.3 4.3 0 0 1 7.1 9.7L12.2 4.6A2.6 2.6 0 1 1 15.9 8.3L10.5 13.7A1.2 1.2 0 0 1 8.8 12L13.6 7.2L12.2 5.8L7.4 10.6A3.2 3.2 0 0 0 11.9 15.1L17.3 9.7A4.6 4.6 0 1 0 10.8 3.2L5.7 8.3A6.3 6.3 0 1 0 14.6 17.2L19 12.8L17.6 11.4L13.2 15.8A4.3 4.3 0 0 1 7.1 15.8Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-send {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 3.4L18 10L2.5 16.6L4.1 11L10.8 10L4.1 9L2.5 3.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 3.4L18 10L2.5 16.6L4.1 11L10.8 10L4.1 9L2.5 3.4Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-settings {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.7 1.5H11.3L11.8 3.6C12.3 3.8 12.8 4 13.2 4.3L15.2 3.3L17 5.1L16 7C16.3 7.5 16.5 8 16.7 8.5L18.8 9V11.5L16.7 12C16.5 12.5 16.3 13 16 13.4L17 15.4L15.2 17.2L13.2 16.2C12.8 16.5 12.3 16.7 11.8 16.9L11.3 19H8.7L8.2 16.9C7.7 16.7 7.2 16.5 6.8 16.2L4.8 17.2L3 15.4L4 13.4C3.7 13 3.5 12.5 3.3 12L1.2 11.5V9L3.3 8.5C3.5 8 3.7 7.5 4 7L3 5.1L4.8 3.3L6.8 4.3C7.2 4 7.7 3.8 8.2 3.6L8.7 1.5ZM10 7A3 3 0 1 0 10 13A3 3 0 0 0 10 7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.7 1.5H11.3L11.8 3.6C12.3 3.8 12.8 4 13.2 4.3L15.2 3.3L17 5.1L16 7C16.3 7.5 16.5 8 16.7 8.5L18.8 9V11.5L16.7 12C16.5 12.5 16.3 13 16 13.4L17 15.4L15.2 17.2L13.2 16.2C12.8 16.5 12.3 16.7 11.8 16.9L11.3 19H8.7L8.2 16.9C7.7 16.7 7.2 16.5 6.8 16.2L4.8 17.2L3 15.4L4 13.4C3.7 13 3.5 12.5 3.3 12L1.2 11.5V9L3.3 8.5C3.5 8 3.7 7.5 4 7L3 5.1L4.8 3.3L6.8 4.3C7.2 4 7.7 3.8 8.2 3.6L8.7 1.5ZM10 7A3 3 0 1 0 10 13A3 3 0 0 0 10 7Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-edit {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.8 2.8L17.2 6.2L7.4 16H4V12.6L13.8 2.8ZM6 13.4V14H6.6L14.4 6.2L13.8 5.6L6 13.4ZM15.2 1.4C15.7 0.9 16.5 0.9 17 1.4L18.6 3C19.1 3.5 19.1 4.3 18.6 4.8L17.2 6.2L13.8 2.8L15.2 1.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.8 2.8L17.2 6.2L7.4 16H4V12.6L13.8 2.8ZM6 13.4V14H6.6L14.4 6.2L13.8 5.6L6 13.4ZM15.2 1.4C15.7 0.9 16.5 0.9 17 1.4L18.6 3C19.1 3.5 19.1 4.3 18.6 4.8L17.2 6.2L13.8 2.8L15.2 1.4Z'/%3E%3C/svg%3E");
}

.hc-chat-icon-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.1 14.2L3.8 9.9L5.2 8.5L8.1 11.4L15.8 3.7L17.2 5.1L8.1 14.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.1 14.2L3.8 9.9L5.2 8.5L8.1 11.4L15.8 3.7L17.2 5.1L8.1 14.2Z'/%3E%3C/svg%3E");
}

.hc-chat-ticks {
  align-items: center;
  color: var(--hc-text-muted);
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.hc-chat-ticks-single {
  color: var(--hc-text-muted);
}

.hc-chat-ticks .hc-chat-action-icon {
  background: currentColor;
  height: 14px;
  width: 14px;
}

.hc-chat-ticks-double .hc-chat-action-icon + .hc-chat-action-icon {
  margin-left: -8px;
}

.hc-chat-ticks-read {
  color: #1faa59;
}

.hc-chat-message-edit-button:has(.hc-chat-ticks-double) {
  width: 26px;
}

.hc-chat-search {
  display: block;
}

.hc-chat-head-search {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.hc-chat-search input,
.hc-chat-head-search input {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  width: 100%;
}

.hc-chat-inbox-tabs {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  gap: 0.2rem;
  overflow-x: auto;
  padding: 0.2rem;
}

.hc-chat-inbox-tabs button {
  background: transparent;
  border-color: transparent;
  display: inline-flex;
  flex: 1 1 0;
  gap: 0.35rem;
  min-width: 0;
}

.hc-chat-inbox-tabs button.active {
  background: var(--hc-surface);
  border-color: var(--hc-border);
  color: var(--hc-forest);
}

.hc-chat-inbox-tabs span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-chat-inbox-tabs em {
  align-items: center;
  background: var(--hc-forest);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 0.3rem;
}

.hc-chat-list-viewport {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.1rem;
}

.hc-chat-list {
  align-content: start;
  display: grid;
  gap: 0.18rem;
}

.hc-chat-list button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--hc-text);
  display: grid;
  gap: 0.55rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 64px;
  padding: 0.5rem;
  text-align: left;
}

.hc-chat-list button.active,
.hc-chat-list button:hover,
.hc-chat-member-option:hover {
  background: rgba(63, 95, 69, 0.1);
  border-color: rgba(63, 95, 69, 0.26);
}

.hc-chat-avatar {
  align-items: center;
  background: linear-gradient(135deg, rgba(63, 95, 69, 0.95), rgba(95, 124, 72, 0.9));
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.hc-chat-avatar.large {
  height: 46px;
  width: 46px;
}

.hc-chat-avatar.small {
  font-size: 0.7rem;
  height: 30px;
  width: 30px;
}

.hc-chat-list-main,
.hc-chat-list-title strong,
.hc-chat-list-preview,
.hc-chat-pdf strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-chat-list-main {
  display: grid;
  gap: 0.16rem;
}

.hc-chat-list-title {
  gap: 0.6rem;
}

.hc-chat-list-title strong {
  flex: 1 1 auto;
}

.hc-chat-list-title time {
  flex: 0 0 auto;
  font-size: 0.76rem;
}

.hc-chat-list-preview {
  display: block;
  font-size: var(--hc-chat-preview-font-size);
}

.hc-chat-list em {
  align-items: center;
  background: var(--hc-forest);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding: 0 0.35rem;
}

.hc-chat-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  height: calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 1.5rem);
  max-height: calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 1.5rem);
  min-height: 0;
  overflow: hidden;
}

.hc-chat-thread-head {
  border-bottom: 1px solid var(--hc-border);
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
}

.hc-chat-thread-head > div {
  flex: 1 1 auto;
  min-width: 0;
}

.hc-chat-thread-head > .hc-chat-head-actions {
  flex: 0 0 auto;
}

.hc-chat-thread-title {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.hc-chat-thread-summary {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex: 1 1 auto;
  gap: 0.65rem;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.hc-chat-thread-summary:focus-visible {
  outline: 2px solid rgba(63, 95, 69, 0.55);
  outline-offset: 2px;
}

.hc-chat-thread-summary .hc-chat-thread-title {
  flex: 1 1 auto;
}

.hc-chat-details-summary {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hc-chat-details-summary > div {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.hc-chat-details-summary strong {
  overflow-wrap: anywhere;
}

.hc-chat-details-summary span,
.hc-chat-details-note {
  color: var(--hc-text-muted);
  font-size: 0.9rem;
}

.hc-chat-details-members h3 {
  font-size: 0.92rem;
  margin: 0 0 0.65rem;
}

.hc-chat-selection-bar {
  align-items: center;
  border-top: 1px solid var(--hc-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  padding: 0.65rem 0.75rem;
}

.hc-chat-selection-bar > span {
  color: var(--hc-text-muted);
  flex: 1 1 auto;
  font-size: 0.9rem;
}

.hc-chat-message-select {
  align-self: center;
  flex: 0 0 auto;
  margin: 0;
}

.hc-chat-message.selected .hc-chat-bubble {
  outline: 2px solid rgba(63, 95, 69, 0.45);
}

.hc-chat-deleted-message {
  color: var(--hc-text-muted);
  font-style: italic;
  margin: 0;
}

.hc-chat-thread-title h2 {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
}

.hc-chat-thread-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-chat-back-button {
  display: inline-flex;
}

.hc-chat-messages {
  align-content: end;
  background:
    linear-gradient(180deg, rgba(63, 95, 69, 0.045), rgba(63, 95, 69, 0.015)),
    var(--hc-mist);
  display: grid;
  gap: 0.2rem;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.75rem;
}

.hc-chat-load-more {
  justify-self: center;
  margin-bottom: 0.45rem;
  min-height: 34px;
  padding: 0.28rem 0.65rem;
}

.hc-chat-date-separator {
  background: rgba(63, 95, 69, 0.12);
  border: 1px solid rgba(63, 95, 69, 0.16);
  border-radius: 999px;
  color: var(--hc-text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  justify-self: center;
  margin: 0.45rem 0;
  padding: 0.18rem 0.65rem;
}

.hc-chat-message {
  display: grid;
  gap: 0.42rem;
  grid-template-columns: 30px minmax(0, auto);
  justify-self: start;
  max-width: min(88%, 560px);
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.hc-chat-message,
.hc-chat-message * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.hc-chat-message input,
.hc-chat-message textarea,
.hc-chat-message [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

.hc-chat-message.own {
  grid-template-columns: minmax(0, auto);
  justify-self: end;
}

.hc-chat-message.grouped {
  margin-top: -0.08rem;
}

.hc-chat-message.grouped:not(.own) {
  padding-left: 34px;
}

.hc-chat-bubble {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(63, 95, 69, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.5rem 0.62rem 0.38rem;
}

.hc-chat-message.own .hc-chat-bubble {
  background: rgba(63, 95, 69, 0.15);
  border-color: rgba(63, 95, 69, 0.22);
}

.hc-chat-sender {
  color: var(--hc-forest);
  font-size: 0.78rem;
}

.hc-chat-bubble p {
  font-size: var(--hc-chat-message-font-size);
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.hc-chat-message footer {
  align-items: center;
  display: flex;
  font-size: var(--hc-chat-meta-font-size);
  gap: 0.35rem;
  justify-content: flex-end;
}

.hc-chat-message-edit-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--hc-text-muted);
  display: inline-flex;
  height: 22px;
  justify-content: center;
  padding: 0;
  width: 22px;
}

.hc-chat-message-select-button {
  align-items: center;
  background: rgba(63, 95, 69, 0.08);
  border: 0;
  border-radius: 999px;
  color: var(--hc-text-muted);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  letter-spacing: 0.04em;
  line-height: 1;
  min-width: 36px;
  padding: 0 0.45rem;
}

.hc-chat-message-select-button:hover,
.hc-chat-message-select-button:focus-visible {
  background: rgba(63, 95, 69, 0.16);
  color: var(--hc-text);
  outline: none;
}

.hc-chat-message-edit-button .hc-chat-action-icon {
  height: 15px;
  width: 15px;
}

.hc-chat-attachments,
.hc-chat-pending-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.hc-chat-photo {
  background: transparent;
  border: 0;
  border-radius: 8px;
  display: block;
  overflow: hidden;
  padding: 0;
}

.hc-chat-photo img {
  aspect-ratio: 4 / 3;
  display: block;
  max-width: min(72vw, 260px);
  object-fit: cover;
  width: 100%;
}

.hc-chat-pdf,
.hc-chat-pending-attachments span {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  display: inline-flex;
  gap: 0.45rem;
  min-height: 36px;
  max-width: 100%;
  padding: 0.34rem 0.52rem;
  text-decoration: none;
}

.hc-chat-pdf span {
  background: #a33d2b;
  border-radius: 4px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.12rem 0.25rem;
}

.hc-chat-typing {
  background: var(--hc-surface);
  border-top: 1px solid var(--hc-border);
  font-size: 0.8rem;
  min-height: 32px;
  padding: 0.45rem 0.75rem;
}

.hc-chat-composer {
  background: var(--hc-surface);
  border-top: 1px solid var(--hc-border);
  display: grid;
  gap: 0.42rem;
  padding: 0.55rem 0.7rem max(0.65rem, env(safe-area-inset-bottom));
  z-index: 2;
}

.hc-chat-editing-bar {
  align-items: center;
  background: rgba(63, 95, 69, 0.1);
  border: 1px solid rgba(63, 95, 69, 0.22);
  border-radius: 8px;
  color: var(--hc-text);
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: space-between;
  padding: 0.36rem 0.5rem;
}

.hc-chat-editing-bar button {
  background: transparent;
  border: 0;
  color: var(--hc-forest);
  font-weight: 900;
  padding: 0;
}

.hc-chat-composer-row {
  gap: 0.45rem;
}

.hc-chat-composer textarea {
  max-height: min(40vh, 220px);
  min-height: 42px;
  overflow-y: auto;
  resize: none;
}

.hc-chat-file-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.hc-chat-attach-button {
  align-items: center;
  background: var(--hc-surface-muted);
  color: var(--hc-text);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0.45rem;
}

.hc-chat-send-button {
  min-width: 40px;
}

.hc-chat-resolution-toggle {
  align-items: center;
  color: var(--hc-text-muted);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.38rem;
}

.hc-chat-empty {
  color: var(--hc-text-muted);
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 1.35rem;
  text-align: center;
}

.hc-chat-empty.compact {
  background: transparent;
  border: 0;
  box-shadow: none;
  justify-self: center;
  padding: 0.65rem;
}

.hc-chat-empty h2 {
  color: var(--hc-text);
  font-size: 1rem;
  margin: 0;
}

.desktop-only {
  display: none;
}

.hc-chat-sheet-backdrop {
  align-items: end;
  background: rgba(25, 31, 27, 0.38);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 1rem;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 80;
}

.hc-chat-sheet {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow);
  display: grid;
  gap: 0.75rem;
  max-height: min(82dvh, 640px);
  max-width: 520px;
  overflow: auto;
  padding: 0.85rem;
  width: 100%;
}

.hc-chat-sheet header {
  gap: 0.75rem;
}

.hc-chat-sheet-tabs {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  gap: 0.2rem;
  padding: 0.2rem;
}

.hc-chat-sheet-tabs button {
  background: transparent;
  border-color: transparent;
  flex: 1 1 0;
}

.hc-chat-sheet-tabs button.active {
  background: var(--hc-surface);
  border-color: var(--hc-border);
  color: var(--hc-forest);
}

.hc-chat-member-picker {
  display: grid;
  gap: 0.3rem;
  max-height: 260px;
  overflow: auto;
}

.hc-chat-member-option {
  align-items: center;
  background: transparent;
  color: var(--hc-text);
  display: flex;
  gap: 0.55rem;
  justify-content: flex-start;
  padding: 0.45rem 0.5rem;
  text-align: left;
}

.hc-chat-settings-sheet {
  max-width: 420px;
}

.hc-chat-read-status {
  display: grid;
  gap: 1rem;
}

.hc-chat-read-status-section {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.hc-chat-read-status-section h3 {
  align-items: center;
  color: var(--hc-text-muted);
  display: flex;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.45rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.hc-chat-read-status-count {
  align-items: center;
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  color: var(--hc-text);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
  min-width: 1.45rem;
  padding: 0.08rem 0.42rem;
  text-transform: none;
}

.hc-chat-read-status-row {
  align-items: center;
  border-bottom: 1px solid rgba(63, 95, 69, 0.12);
  display: flex;
  gap: 0.65rem;
  min-height: 44px;
  min-width: 0;
  padding: 0.35rem 0.1rem;
}

.hc-chat-read-status-row:last-child {
  border-bottom: 0;
}

.hc-chat-read-status-name {
  color: var(--hc-text);
  flex: 1 1 auto;
  font-size: 0.92rem;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-chat-read-status-meta {
  color: var(--hc-text-muted);
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

.hc-chat-read-status-meta.is-muted {
  opacity: 0.55;
}

.hc-chat-read-status-check {
  background: var(--hc-forest);
  flex: 0 0 auto;
  height: 14px;
  width: 14px;
}

.hc-chat-read-status-empty {
  color: var(--hc-text-muted);
  font-size: 0.86rem;
  margin: 0.2rem 0 0;
}

.hc-chat-read-status-section.is-unread .hc-chat-avatar {
  opacity: 0.72;
}

.hc-chat-read-status-section.is-unread .hc-chat-read-status-name {
  font-weight: 650;
}

.hc-chat-font-slider {
  display: grid;
  gap: 0.75rem;
}

.hc-chat-font-slider-output {
  color: var(--hc-text);
  font-weight: 850;
  justify-self: center;
}

.hc-chat-font-range {
  accent-color: var(--hc-forest);
  width: 100%;
}

.hc-chat-font-slider-labels {
  color: var(--hc-text-muted);
  display: grid;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.3rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  text-align: center;
}

.hc-chat-font-slider-labels span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-chat-font-slider-labels span.active {
  color: var(--hc-forest);
}

.hc-chat-font-options {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hc-chat-font-options button {
  background: var(--hc-surface-muted);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  font-weight: 800;
  min-height: 44px;
}

.hc-chat-font-options button.active {
  background: rgba(63, 95, 69, 0.12);
  border-color: rgba(63, 95, 69, 0.32);
  color: var(--hc-forest);
}

.hc-chat-image-viewer {
  align-items: center;
  background: rgba(10, 14, 12, 0.86);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 1rem;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.hc-chat-image-viewer section {
  display: grid;
  gap: 0.75rem;
  max-height: 94dvh;
  max-width: min(960px, 100%);
  min-width: 0;
  width: 100%;
}

.hc-chat-image-viewer header {
  align-items: center;
  color: #fff;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  min-width: 0;
}

.hc-chat-image-viewer header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-chat-image-viewer header button {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.hc-chat-image-viewer img {
  background: #111;
  border-radius: 8px;
  display: block;
  max-height: calc(94dvh - 7rem);
  max-width: 100%;
  object-fit: contain;
  place-self: center;
}

.hc-chat-image-viewer .hc-secondary-action {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  justify-self: start;
}

@media (min-width: 900px) {
  .hc-app-main:has(.hc-chat-shell) {
    max-width: 1120px;
  }

  .hc-chat-shell {
    grid-template-columns: minmax(290px, 350px) minmax(0, 1fr);
  }

  .hc-chat-shell.has-active-conversation .hc-chat-list-panel,
  .hc-chat-shell:not(.has-active-conversation) .hc-chat-detail-panel {
    display: grid;
  }

  .hc-chat-back-button {
    display: none;
  }

  .hc-chat-list-panel {
    height: min(720px, calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 5.5rem));
    max-height: min(720px, calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 5.5rem));
  }

  .hc-chat-thread {
    height: min(720px, calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 5.5rem));
    max-height: min(720px, calc(100dvh - var(--hc-app-nav-height) - var(--hc-app-nav-bottom-gap) - 5.5rem));
  }

  .desktop-only {
    display: grid;
  }

  .hc-chat-sheet-backdrop {
    align-items: center;
  }
}

html[data-hc-theme="dark"] body,
html[data-hc-theme="dark"] .hc-admin-shell,
html[data-hc-theme="dark"] .hc-app-shell,
html[data-hc-theme="dark"] .hc-admin-content {
  background: var(--hc-bg);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-admin-sidebar {
  background: var(--hc-surface);
  border-right: 1px solid var(--hc-border);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-admin-brand {
  border-bottom-color: var(--hc-border);
}

html[data-hc-theme="dark"] .hc-admin-brand strong,
html[data-hc-theme="dark"] .hc-admin-nav a,
html[data-hc-theme="dark"] .hc-page-title h1,
html[data-hc-theme="dark"] .hc-metric strong {
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-admin-brand span,
html[data-hc-theme="dark"] .hc-admin-nav-group summary,
html[data-hc-theme="dark"] .hc-admin-nav-group summary::before,
html[data-hc-theme="dark"] .hc-admin-nav-group summary::after,
html[data-hc-theme="dark"] .hc-page-title p,
html[data-hc-theme="dark"] .hc-metric span,
html[data-hc-theme="dark"] .hc-metric small,
html[data-hc-theme="dark"] .text-muted {
  color: var(--hc-text-muted) !important;
}

html[data-hc-theme="dark"] .hc-admin-nav-group summary:hover,
html[data-hc-theme="dark"] .hc-admin-nav a:hover,
html[data-hc-theme="dark"] .hc-admin-nav a.active {
  background: var(--hc-accent-soft);
  color: var(--hc-accent);
}

html[data-hc-theme="dark"] .hc-admin-nav .hc-admin-nav-badge {
  background: #4e8a5c;
  color: #f4fff6;
}

html[data-hc-theme="dark"] .hc-admin-nav-group > div::before {
  background: var(--hc-border);
}

html[data-hc-theme="dark"] .hc-admin-nav-group > div a::before {
  color: var(--hc-text-muted);
}

html[data-hc-theme="dark"] .hc-admin-topbar,
html[data-hc-theme="dark"] .hc-card,
html[data-hc-theme="dark"] .hc-bottom-nav,
html[data-hc-theme="dark"] .hc-autocomplete-menu,
html[data-hc-theme="dark"] .hc-empty-state,
html[data-hc-theme="dark"] .hc-push-status-summary,
html[data-hc-theme="dark"] .hc-portal-map-commandbar,
html[data-hc-theme="dark"] .hc-offline-map-popup,
html[data-hc-theme="dark"] .hc-map-commandbar,
html[data-hc-theme="dark"] .hc-map-filterbar,
html[data-hc-theme="dark"] .hc-admin-map-filter-sheet,
html[data-hc-theme="dark"] .hc-map-check-combo-trigger,
html[data-hc-theme="dark"] .hc-map-check-combo-menu,
html[data-hc-theme="dark"] .hc-map-tool-button,
html[data-hc-theme="dark"] .hc-map-locate-button,
html[data-hc-theme="dark"] .hc-map-basemap-button,
html[data-hc-theme="dark"] .hc-app-map-filter-sheet,
html[data-hc-theme="dark"] .hc-map-attribution-badge,
html[data-hc-theme="dark"] .hc-map-loading-overlay,
html[data-hc-theme="dark"] .hc-map-generation-status,
html[data-hc-theme="dark"] .hc-map-tool-menu-panel,
html[data-hc-theme="dark"] .hc-map-longtouch-picker,
html[data-hc-theme="dark"] .hc-map-longtouch-action,
html[data-hc-theme="dark"] .hc-map-hover-popup,
html[data-hc-theme="dark"] .hc-chat-banner,
html[data-hc-theme="dark"] .hc-chat-list-panel,
html[data-hc-theme="dark"] .hc-chat-list,
html[data-hc-theme="dark"] .hc-chat-thread,
html[data-hc-theme="dark"] .hc-chat-empty,
html[data-hc-theme="dark"] .hc-chat-sheet,
html[data-hc-theme="dark"] .hc-chat-sheet-tabs,
html[data-hc-theme="dark"] .hc-chat-inbox-tabs,
html[data-hc-theme="dark"] .hc-chat-icon-button,
html[data-hc-theme="dark"] .hc-chat-back-button,
html[data-hc-theme="dark"] .hc-chat-load-more,
html[data-hc-theme="dark"] .hc-chat-sheet header button,
html[data-hc-theme="dark"] .hc-chat-messages,
html[data-hc-theme="dark"] .hc-chat-typing,
html[data-hc-theme="dark"] .hc-chat-editing-bar,
html[data-hc-theme="dark"] .hc-chat-composer {
  background: var(--hc-surface);
  border-color: var(--hc-border);
  color: var(--hc-text);
  box-shadow: var(--hc-shadow);
}

html[data-hc-theme="dark"] .hc-map-longtouch-picker {
  background: rgba(22, 27, 31, 0.94);
}

html[data-hc-theme="dark"] .hc-map-range-track {
  background: rgba(232, 228, 217, 0.16);
}

html[data-hc-theme="dark"] .hc-map-range-input::-webkit-slider-thumb {
  background: var(--hc-surface);
  border-color: var(--hc-accent);
}

html[data-hc-theme="dark"] .hc-map-range-input::-moz-range-thumb {
  background: var(--hc-surface);
  border-color: var(--hc-accent);
}

html[data-hc-theme="dark"] .hc-map-range-shortcut {
  background: rgba(232, 228, 217, 0.08);
  border-color: rgba(232, 228, 217, 0.18);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-map-range-summary-toggle {
  background: rgba(232, 228, 217, 0.08);
  border-color: rgba(232, 228, 217, 0.18);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-admin-map-filter-backdrop,
html[data-hc-theme="dark"] .hc-app-map-filter-backdrop {
  background: rgba(0, 0, 0, 0.12);
}

html[data-hc-theme="dark"] .hc-admin-map-filter-sheet,
html[data-hc-theme="dark"] .hc-app-map-filter-sheet {
  background: rgba(35, 41, 35, 0.72);
}

html[data-hc-theme="dark"] .hc-map-check-combo-option:hover {
  background: var(--hc-accent-soft);
}

html[data-hc-theme="dark"] .hc-map-range-thumb {
  background: var(--hc-surface);
}

html[data-hc-theme="dark"] .hc-map-range-shortcut:hover,
html[data-hc-theme="dark"] .hc-map-range-shortcut.is-active,
html[data-hc-theme="dark"] .hc-map-range-summary-toggle:hover,
html[data-hc-theme="dark"] .hc-map-range-summary-toggle:focus-visible,
html[data-hc-theme="dark"] .hc-map-range-summary-toggle.is-active {
  background: var(--hc-accent);
  border-color: var(--hc-accent);
  color: #fff;
}

html[data-hc-theme="dark"] .hc-map-longtouch-scroll::before {
  background: linear-gradient(90deg, rgba(22, 27, 31, 0.94), rgba(22, 27, 31, 0));
}

html[data-hc-theme="dark"] .hc-map-longtouch-scroll::after {
  background: linear-gradient(270deg, rgba(22, 27, 31, 0.94), rgba(22, 27, 31, 0));
}

html[data-hc-theme="dark"] .hc-app-map-surface,
html[data-hc-theme="dark"] .hc-portal-map {
  background: var(--hc-bg);
}

html[data-hc-theme="dark"] .hc-app-header {
  background: var(--hc-surface);
  border-bottom: 1px solid var(--hc-border);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-app-header span,
html[data-hc-theme="dark"] .hc-bottom-nav a {
  color: var(--hc-text-muted);
}

html[data-hc-theme="dark"] .hc-app-header .hc-theme-toggle,
html[data-hc-theme="dark"] .hc-app-header-actions > .hc-dashboard-toolbar-icon,
html[data-hc-theme="dark"] .hc-app-dashboard-header-actions .hc-dashboard-toolbar-icon {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-app-header .hc-profile-trigger {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border);
}

html[data-hc-theme="dark"] .hc-bottom-nav::before {
  background: rgba(128, 169, 112, 0.14);
  border-color: rgba(128, 169, 112, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

html[data-hc-theme="dark"] .hc-bottom-nav a::after {
  background: radial-gradient(circle at center, rgba(128, 169, 112, 0.24), rgba(128, 169, 112, 0.07) 58%, transparent 72%);
}

html[data-hc-theme="dark"] .hc-bottom-nav a.active {
  color: var(--hc-accent);
}

html[data-hc-theme="dark"] .hc-bottom-nav .hc-nav-badge {
  background: #e07a4a;
  border-color: #1a221c;
  color: #102014;
}

html[data-hc-theme="dark"] .hc-app-tabs a.has-unread span.hc-tab-unread-badge {
  background: #e07a4a;
  color: #102014;
}

html[data-hc-theme="dark"] .hc-notification-card.is-unread {
  background: linear-gradient(90deg, rgba(224, 122, 74, 0.28) 0 0.28rem, var(--hc-surface) 0.28rem);
  border-color: rgba(224, 122, 74, 0.55);
}


html[data-hc-theme="dark"] .hc-metric,
html[data-hc-theme="dark"] .hc-compact-metrics span,
html[data-hc-theme="dark"] .hc-data-row,
html[data-hc-theme="dark"] .hc-admin-slot-actions,
html[data-hc-theme="dark"] .hc-attachment-panel,
html[data-hc-theme="dark"] .hc-attachment-image-frame,
html[data-hc-theme="dark"] .hc-attachment-compression-preview div,
html[data-hc-theme="dark"] .hc-report-line-detail,
html[data-hc-theme="dark"] .hc-assembly-result,
html[data-hc-theme="dark"] .hc-detail-pane,
html[data-hc-theme="dark"] .hc-member-payment-row,
html[data-hc-theme="dark"] .hc-chat-bubble,
html[data-hc-theme="dark"] .hc-chat-attach-button,
html[data-hc-theme="dark"] .hc-chat-pdf,
html[data-hc-theme="dark"] .hc-chat-pending-attachments span {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-chat-message.own .hc-chat-bubble,
html[data-hc-theme="dark"] .hc-chat-list button.active,
html[data-hc-theme="dark"] .hc-chat-sheet-tabs button.active,
html[data-hc-theme="dark"] .hc-chat-inbox-tabs button.active {
  background: var(--hc-accent-soft);
  border-color: rgba(84, 182, 137, 0.32);
}

html[data-hc-theme="dark"] .hc-chat-read-status-section h3,
html[data-hc-theme="dark"] .hc-chat-read-status-meta,
html[data-hc-theme="dark"] .hc-chat-read-status-empty {
  color: var(--hc-text-muted);
}

html[data-hc-theme="dark"] .hc-chat-read-status-count {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-chat-read-status-row {
  border-bottom-color: rgba(232, 228, 217, 0.1);
}

html[data-hc-theme="dark"] .hc-chat-read-status-name {
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-chat-read-status-check {
  background: var(--hc-accent);
}

html[data-hc-theme="dark"] .form-control,
html[data-hc-theme="dark"] .form-select,
html[data-hc-theme="dark"] .form-check-input,
html[data-hc-theme="dark"] .dxbl-text-edit,
html[data-hc-theme="dark"] .dxbl-memo-edit,
html[data-hc-theme="dark"] .dxbl-spin-edit,
html[data-hc-theme="dark"] .dxbl-combobox,
html[data-hc-theme="dark"] .dxbl-date-edit {
  background-color: var(--hc-surface) !important;
  border-color: var(--hc-border) !important;
  color: var(--hc-text) !important;
}

html[data-hc-theme="dark"] .hc-secondary-action {
  background: var(--hc-surface);
  border-color: var(--hc-border);
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-cash-advance-action-open {
  background: color-mix(in srgb, var(--hc-amber), var(--hc-surface) 80%);
  border-color: color-mix(in srgb, var(--hc-amber), var(--hc-border) 25%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hc-amber), transparent 55%);
  color: #ffd98a;
}

html[data-hc-theme="dark"] .hc-money-totals-footer .hc-status {
  background: rgba(255, 255, 255, 0.12);
  color: var(--hc-text);
}

/* Zuta blagajnicka ploca ostaje svijetla i u tamnoj temi, pa cuva tamni tekst. */
html[data-hc-theme="dark"] .hc-cash-grid-panel-white .hc-money-totals-footer .hc-status {
  background: rgba(122, 140, 99, 0.16);
  color: #586848;
}

html[data-hc-theme="dark"] .hc-status-warning {
  color: var(--hc-amber);
}

html[data-hc-theme="dark"] .hc-clickable-grid .hc-grid-row-selected .hc-status-warning {
  color: var(--hc-amber) !important;
}

html[data-hc-theme="dark"] .hc-secondary-action:hover,
html[data-hc-theme="dark"] .hc-secondary-action:focus-visible,
html[data-hc-theme="dark"] .hc-report-panel-icon:hover,
html[data-hc-theme="dark"] .hc-report-panel-icon:focus-visible,
html[data-hc-theme="dark"] .hc-autocomplete-menu button:hover,
html[data-hc-theme="dark"] .hc-autocomplete-menu button.hc-lookup-option-selected,
html[data-hc-theme="dark"] .hc-autocomplete-menu button.hc-lookup-option-active,
html[data-hc-theme="dark"] .hc-lookup-menu .hc-lookup-option:hover,
html[data-hc-theme="dark"] .hc-lookup-menu .hc-lookup-option:focus-visible {
  background: var(--hc-accent-soft);
  color: var(--hc-accent);
}

html[data-hc-theme="dark"] .hc-cash-advance-action-open:not(:disabled):hover,
html[data-hc-theme="dark"] .hc-cash-advance-action-open:not(:disabled):focus-visible {
  background: color-mix(in srgb, var(--hc-amber), var(--hc-surface) 70%);
  border-color: var(--hc-amber);
  color: #ffe4a8;
}

html[data-hc-theme="dark"] .hc-profile-panel,
html[data-hc-theme="dark"] .hc-profile-hero {
  background: var(--hc-surface-raised);
}

html[data-hc-theme="dark"] .hc-profile-hero-avatar {
  border-color: rgba(243, 246, 250, 0.18);
}

html[data-hc-theme="dark"] .hc-profile-photo-tools {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border);
}

html[data-hc-theme="dark"] .hc-profile-photo-preview {
  border-color: rgba(243, 246, 250, 0.18);
}

html[data-hc-theme="dark"] .hc-avatar-choice:hover,
html[data-hc-theme="dark"] .hc-avatar-choice:focus-visible {
  border-color: rgba(84, 182, 137, 0.5);
}

html[data-hc-theme="dark"] .hc-report-params {
  background: var(--hc-surface-muted);
  border-color: var(--hc-border);
}

html[data-hc-theme="dark"] .hc-admin-content .dxbl-grid,
html[data-hc-theme="dark"] .hc-admin-grid,
html[data-hc-theme="dark"] .hc-admin-grid-compact {
  background: var(--hc-surface);
  border-color: var(--hc-border);
  box-shadow: none;
}

html[data-hc-theme="dark"] .hc-clickable-grid {
  --hc-grid-selected-row-accent: var(--hc-accent);
  --hc-grid-selected-row-bg: rgba(84, 182, 137, 0.18);
  --hc-grid-selected-row-border: rgba(84, 182, 137, 0.32);
}

html[data-hc-theme="dark"] .hc-admin-content .dxbl-grid :is([role="columnheader"], .dxbl-grid-header-cell),
html[data-hc-theme="dark"] .hc-admin-grid :is([role="columnheader"], .dxbl-grid-header-cell),
html[data-hc-theme="dark"] .hc-admin-grid-compact :is([role="columnheader"], .dxbl-grid-header-cell) {
  background: var(--hc-surface-muted) !important;
  border-color: var(--hc-border) !important;
  color: var(--hc-text-muted) !important;
}

html[data-hc-theme="dark"] .hc-admin-content .dxbl-grid [role="gridcell"],
html[data-hc-theme="dark"] .hc-admin-grid [role="gridcell"],
html[data-hc-theme="dark"] .hc-admin-grid-compact [role="gridcell"] {
  border-color: var(--hc-border) !important;
  color: var(--hc-text);
}

html[data-hc-theme="dark"] .hc-pos-receipt,
html[data-hc-theme="dark"] .hc-assembly-report-print,
html[data-hc-theme="dark"] .hc-trophy-sheet {
  background: #fff;
  color: #111;
}

.hc-mobile-task-filters,
.hc-mobile-task-list,
.hc-mobile-admin-list {
  display: none;
}

@media (max-width: 900px) {
  .hc-cash-advance-layout,
  .hc-cash-advance-line {
    grid-template-columns: 1fr;
  }

  .hc-admin-shell {
    grid-template-columns: 1fr;
    overflow-x: clip;
  }

  .hc-admin-sidebar {
    bottom: 0;
    box-shadow: 18px 0 40px rgba(19, 32, 20, 0.28);
    height: 100dvh;
    left: 0;
    max-width: calc(100vw - 2.25rem);
    padding: max(0.85rem, env(safe-area-inset-top)) 0.9rem max(0.9rem, env(safe-area-inset-bottom));
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform 0.18s ease;
    width: min(340px, 88vw);
    z-index: 90;
  }

  .hc-admin-sidebar.is-open {
    transform: translateX(0);
  }

  .hc-admin-sidebar-head {
    align-items: start;
  }

  .hc-admin-brand {
    border-bottom: 0;
    margin-bottom: 0.75rem;
    padding: 0.1rem 0 0;
  }

  .hc-admin-brand strong {
    font-size: 1.24rem;
    line-height: 1.12;
  }

  .hc-admin-brand span {
    font-size: 0.86rem;
  }

  .hc-admin-menu-button,
  .hc-admin-drawer-close {
    align-items: center;
    appearance: none;
    background: var(--hc-surface);
    border: 1px solid var(--hc-border);
    border-radius: 8px;
    color: var(--hc-text);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 40px;
    justify-content: center;
    width: 40px;
  }

  .hc-admin-menu-button span,
  .hc-admin-menu-button span::before,
  .hc-admin-menu-button span::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    display: block;
    height: 2px;
    width: 18px;
  }

  .hc-admin-menu-button span {
    position: relative;
  }

  .hc-admin-menu-button span::before,
  .hc-admin-menu-button span::after {
    left: 0;
    position: absolute;
  }

  .hc-admin-menu-button span::before {
    top: -6px;
  }

  .hc-admin-menu-button span::after {
    top: 6px;
  }

  .hc-admin-drawer-close {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    color: white;
  }

  .hc-admin-drawer-close span,
  .hc-admin-drawer-close span::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    display: block;
    height: 2px;
    width: 18px;
  }

  .hc-admin-drawer-close span {
    position: relative;
    transform: rotate(45deg);
  }

  .hc-admin-drawer-close span::after {
    left: 0;
    position: absolute;
    top: 0;
    transform: rotate(90deg);
  }

  .hc-admin-nav {
    grid-template-columns: 1fr;
    padding-bottom: 1rem;
  }

  .hc-admin-drawer-backdrop {
    background: rgba(18, 27, 19, 0.48);
    border: 0;
    bottom: 0;
    cursor: pointer;
    display: block;
    left: 0;
    padding: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 85;
  }

  .hc-admin-topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    padding: 0.75rem 0.9rem;
  }

  .hc-admin-topbar-context {
    width: 100%;
  }

  .hc-admin-topbar-title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .hc-admin-topbar-title .ms-2 {
    margin-left: 0 !important;
  }

  .hc-admin-topbar-tools {
    justify-content: flex-start;
    width: 100%;
  }

  .hc-profile-panel {
    max-width: min(320px, calc(100vw - 1rem));
  }

  .hc-profile-actions {
    justify-content: stretch;
  }

  .hc-profile-actions form,
  .hc-profile-actions .hc-primary-action,
  .hc-profile-actions .hc-secondary-action {
    flex: 1 1 140px;
  }

  .hc-profile-actions form .hc-secondary-action {
    width: 100%;
  }

  .hc-admin-content {
    overflow-x: clip;
    padding: 0.9rem;
  }

  .hc-toolbar,
  .hc-cash-commandbar {
    align-items: stretch;
    display: grid;
    gap: 0.75rem;
  }

  .hc-dashboard-toolbar-actions,
  .hc-dashboard-quick-actions,
  .hc-dashboard-custom-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .hc-dashboard-toolbar-actions .hc-primary-action,
  .hc-dashboard-toolbar-actions .hc-secondary-action {
    justify-content: center;
    width: 100%;
  }

  .hc-dashboard-custom-actions {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hc-dashboard-toolbar-actions .hc-dashboard-toolbar-icon {
    flex: 0 0 auto;
    min-width: 2.5rem;
    width: 2.5rem;
  }

  .hc-dashboard-widget-editbar,
  .hc-dashboard-template-card,
  .hc-dashboard-weather-form,
  .hc-dashboard-weather-periods {
    grid-template-columns: 1fr;
  }

  .hc-dashboard-widget-editbar-draggable {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .hc-dashboard-widget-edit-actions,
  .hc-dashboard-template-status,
  .hc-dashboard-template-actions {
    justify-self: stretch;
  }

  .hc-dashboard-widget-edit-actions {
    justify-content: flex-end;
  }

  .hc-map-toolbar {
    grid-template-columns: 1fr;
  }

  .hc-map-filterbar {
    grid-template-columns: 1fr;
    justify-content: stretch;
    max-width: none;
  }

  .hc-map-filter-field,
  .hc-map-filter-actions,
  .hc-map-range-filter,
  .hc-map-filter-count {
    width: 100%;
  }

  .hc-map-filter-actions {
    justify-content: space-between;
  }

  .hc-map-range-head {
    align-items: flex-start;
    display: grid;
    gap: 0.2rem;
  }

  .hc-map-range-summary {
    justify-content: flex-start;
  }

  .hc-map-range-summary-text {
    text-align: left;
    white-space: normal;
  }

  .hc-map-range-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-map-range-shortcut {
    min-width: 0;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .hc-settings-inline-range {
    grid-template-columns: 1fr;
  }

  .hc-metric-grid,
  .hc-two-column,
  .hc-assembly-report-grid,
  .hc-form-grid,
  .hc-trophy-utility-grid,
  .hc-trophy-measure-layout,
  .hc-cash-filter,
  .hc-cash-tabs,
  .hc-cash-account-picker,
  .hc-camt-import-summary,
  .hc-stand-reservation-filter,
  .hc-stand-filter,
  .hc-stand-photo-preview,
  .hc-map-form,
  .hc-admin-slot-actions,
  .hc-signature-status-grid,
  .hc-signature-preview-grid,
  .hc-sign-document,
  .hc-report-workspace,
  .hc-requirement-row,
  .hc-member-payment-row {
    grid-template-columns: 1fr;
  }

  .hc-toolbar > .d-flex,
  .hc-cash-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-membership-fees-summary .hc-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hc-map-canvas-wrap,
  .hc-hunting-map {
    min-height: 520px;
  }

  .hc-row-action .hc-secondary-action {
    width: 100%;
  }

  .hc-attachment-preview {
    grid-template-columns: 1fr;
  }

  .hc-signature-request-box {
    grid-template-columns: 1fr;
  }

  .hc-report-params {
    border-left: 0;
    border-top: 1px solid var(--hc-border);
  }

  .hc-report-params.is-collapsed .hc-report-params-header {
    flex-direction: row;
    justify-content: flex-end;
  }

  .hc-trophy-sheet {
    min-width: 900px;
  }

  .hc-signature-qr {
    max-width: 170px;
  }

  .hc-members-splitter {
    min-height: 760px;
  }

  .hc-grid-toolbar {
    align-items: stretch;
  }

  .hc-grid-actions {
    justify-content: stretch;
    width: 100%;
  }

  .hc-grid-actions .hc-primary-action,
  .hc-grid-actions .hc-secondary-action {
    flex: 1 1 88px;
  }

  .hc-cash-filter,
  .hc-cash-account-picker,
  .hc-stand-reservation-filter,
  .hc-form-grid,
  .hc-admin-slot-actions {
    grid-template-columns: 1fr;
  }

  .hc-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-grid-toolbar-integrated {
    overflow: visible;
  }

  .hc-grid-toolbar-integrated .dxbl-toolbar {
    flex-wrap: wrap;
  }

  .hc-grid-toolbar-integrated .hc-grid-searchbox,
  .hc-grid-toolbar-integrated .dxbl-searchbox {
    max-width: 100%;
  }

  .hc-admin-content .dxbl-grid,
  .hc-admin-content .dxbl-tabs,
  .hc-admin-content .dxbl-splitter {
    max-width: 100%;
    min-width: 0;
  }
}

@media print {
  body.cervion-printing > :not(#cervion-print-root) {
    display: none !important;
  }

  #cervion-print-root {
    display: block !important;
  }

  #cervion-print-root .hc-pos-receipt {
    box-shadow: none;
    margin: 0;
    max-width: 72mm;
    padding: 2.4mm;
    width: 72mm;
  }

  #cervion-print-root .hc-attachment-print-area {
    height: auto;
    left: auto;
    opacity: 1;
    overflow: visible;
    position: static;
    width: auto;
  }

  #cervion-print-root .hc-attachment-print-area img {
    max-height: 98vh;
    max-width: 100%;
  }

  /* Skupstinski izvjestaj: fizicke jedinice da ispis ne ovisi o px -> pt skaliranju preglednika. */
  #cervion-print-root .hc-assembly-report-print {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 8.5pt;
    padding: 0;
  }

  #cervion-print-root .hc-assembly-report-header {
    margin-bottom: 4mm;
  }

  #cervion-print-root .hc-assembly-report-header strong {
    font-size: 14pt;
  }

  #cervion-print-root .hc-assembly-report-header span {
    font-size: 8.5pt;
  }

  #cervion-print-root .hc-assembly-report-grid {
    gap: 6mm;
    /* Sirina print viewporta kod nekih preglednika pada ispod 900px, pa bi mobilno
       pravilo srusilo izvjestaj u jedan stupac. */
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #cervion-print-root .hc-assembly-report-grid h3,
  #cervion-print-root .hc-assembly-activity h3 {
    font-size: 10pt;
    margin-bottom: 1.5mm;
  }

  #cervion-print-root .hc-assembly-report-grid table,
  #cervion-print-root .hc-assembly-activity table {
    table-layout: fixed;
  }

  #cervion-print-root .hc-assembly-report-grid th,
  #cervion-print-root .hc-assembly-activity th {
    font-size: 8pt;
  }

  #cervion-print-root .hc-assembly-report-grid td,
  #cervion-print-root .hc-assembly-activity td {
    font-size: 8.5pt;
  }

  #cervion-print-root .hc-assembly-report-grid th,
  #cervion-print-root .hc-assembly-report-grid td,
  #cervion-print-root .hc-assembly-activity th,
  #cervion-print-root .hc-assembly-activity td {
    padding: 0.9mm 1.2mm;
  }

  #cervion-print-root .hc-assembly-report-grid th:nth-child(1) {
    width: 11%;
  }

  #cervion-print-root .hc-assembly-report-grid th:nth-child(2) {
    width: 61%;
  }

  #cervion-print-root .hc-assembly-report-grid th:nth-child(3) {
    width: 28%;
  }

  #cervion-print-root .hc-assembly-activity th:nth-child(1) {
    width: 40%;
  }

  #cervion-print-root .hc-assembly-activity th:nth-child(n + 2) {
    width: 20%;
  }

  #cervion-print-root .hc-assembly-report-grid td[class*="hc-assembly-sub-"] {
    font-style: italic;
  }

  #cervion-print-root .hc-assembly-report-grid td.hc-assembly-sub-1:first-child {
    padding-left: 2.4mm;
  }

  #cervion-print-root .hc-assembly-report-grid td.hc-assembly-sub-2:first-child {
    padding-left: 3.6mm;
  }

  #cervion-print-root .hc-assembly-report-grid td.hc-assembly-sub-3:first-child {
    padding-left: 4.8mm;
  }

  #cervion-print-root .hc-assembly-report-grid td.hc-assembly-sub-1:nth-child(2) {
    padding-left: 4mm;
  }

  #cervion-print-root .hc-assembly-report-grid td.hc-assembly-sub-2:nth-child(2) {
    padding-left: 7mm;
  }

  #cervion-print-root .hc-assembly-report-grid td.hc-assembly-sub-3:nth-child(2) {
    padding-left: 10mm;
  }

  #cervion-print-root .hc-assembly-pair-ref {
    font-size: 7pt;
  }

  #cervion-print-root .hc-assembly-activity {
    margin-top: 4mm;
  }

  #cervion-print-root .hc-assembly-balance {
    margin-top: 4mm;
  }

  #cervion-print-root .hc-assembly-balance td {
    font-size: 8.5pt;
    padding: 0.9mm 1.2mm;
  }

  #cervion-print-root .hc-assembly-balance td.amount {
    width: 28%;
  }

  #cervion-print-root .hc-assembly-result {
    margin-top: 2mm;
    padding: 2mm 2.5mm;
  }

  #cervion-print-root .hc-assembly-result span {
    font-size: 9pt;
  }

  #cervion-print-root .hc-assembly-result strong {
    font-size: 12pt;
  }

  #cervion-print-root .hc-assembly-report-grid tr,
  #cervion-print-root .hc-assembly-activity tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

@media (max-width: 640px) {
  .hc-profile-hero {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 0.85rem;
  }

  .hc-profile-hero-avatar {
    height: 72px;
    width: 72px;
  }

  .hc-profile-hero h1 {
    font-size: 1.18rem;
  }

  .hc-admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hc-admin-content {
    padding: 0.75rem;
  }

  .hc-public-shell {
    padding: 1rem;
  }

  .hc-public-info-grid {
    grid-template-columns: 1fr;
  }

  .hc-membership-fees-summary .hc-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-admin-content .dxbl-grid,
  .hc-admin-grid,
  .hc-admin-grid-compact {
    font-size: 0.96rem;
  }

  .hc-admin-grid {
    height: min(520px, calc(100dvh - 12rem));
  }

  .hc-split-pane .hc-admin-grid {
    height: min(440px, calc(100dvh - 16rem));
  }

  .hc-admin-content .dxbl-grid :is([role="columnheader"], .dxbl-grid-header-cell),
  .hc-admin-grid :is([role="columnheader"], .dxbl-grid-header-cell),
  .hc-admin-grid-compact :is([role="columnheader"], .dxbl-grid-header-cell),
  .hc-card [role="columnheader"],
  .hc-admin-content .dxbl-grid [role="gridcell"],
  .hc-admin-grid [role="gridcell"],
  .hc-admin-grid-compact [role="gridcell"],
  .hc-card [role="gridcell"] {
    font-size: 0.95rem;
    padding: 0.28rem 0.42rem !important;
  }

  .hc-grid-toolbar-integrated .hc-grid-searchbox,
  .hc-grid-toolbar-integrated .dxbl-searchbox,
  .hc-grid-toolbar-integrated .dxbl-text-edit {
    width: 100% !important;
  }

  .hc-grid-toolbar-integrated .hc-toolbar-filter-field {
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
  }

  .hc-grid-toolbar-integrated .hc-toolbar-filter-field .form-control,
  .hc-grid-toolbar-integrated .hc-toolbar-filter-field .form-select,
  .hc-grid-toolbar-integrated .hc-toolbar-filter-field .hc-date-edit {
    width: min(100%, 220px);
  }

  .hc-sign-panel {
    padding: 0.85rem;
  }

  .hc-sign-actions .hc-primary-action,
  .hc-sign-actions .hc-secondary-action {
    flex: 1 1 130px;
  }

  .hc-stands-map {
    min-height: 260px;
  }

  .hc-portal-map {
    aspect-ratio: 4 / 5;
    min-height: 420px;
  }

  .hc-app-map-filter-range {
    grid-template-columns: 1fr;
  }

  .hc-map-commandbar {
    align-items: center;
    left: 0.5rem;
    max-width: calc(100% - 1rem);
    top: 0.5rem;
  }

  .hc-map-tool-button {
    height: 36px;
    width: 36px;
  }

  .hc-map-locate-button {
    height: 42px;
    width: 42px;
  }

  .hc-map-basemap-button {
    height: 42px;
    width: 42px;
  }

  .hc-map-tool-icon {
    height: 18px;
    width: 18px;
  }

  .hc-sync-panel {
    flex-direction: column;
  }

  .hc-sync-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .hc-sync-actions .hc-primary-action,
  .hc-sync-actions .hc-secondary-action {
    flex: 1 1 140px;
  }

  .hc-sync-settings-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hc-sync-dialog {
    left: max(0.5rem, env(safe-area-inset-left));
    max-height: calc(100dvh - 1rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    right: max(0.5rem, env(safe-area-inset-right));
    top: max(0.5rem, env(safe-area-inset-top));
  }

  .hc-sync-operation-head {
    grid-template-columns: 1fr;
  }

  .hc-sync-operation-actions,
  .hc-sync-edit-actions,
  .hc-mobile-op-row-actions,
  .hc-sync-dialog-footer,
  .hc-sync-confirmation > div {
    justify-content: stretch;
  }

  .hc-sync-operation-actions .hc-secondary-action,
  .hc-sync-edit-actions .hc-primary-action,
  .hc-sync-edit-actions .hc-secondary-action,
  .hc-sync-dialog-footer .hc-primary-action,
  .hc-sync-dialog-footer .hc-secondary-action,
  .hc-mobile-op-row-actions .hc-secondary-action,
  .hc-sync-confirmation .hc-primary-action,
  .hc-sync-confirmation .hc-secondary-action {
    flex: 1 1 140px;
  }

  .hc-mobile-op-row {
    grid-template-columns: 1fr;
  }

  .hc-engagement-tools {
    gap: 0.35rem;
  }

  .hc-map-canvas-wrap,
  .hc-hunting-map {
    min-height: 430px;
  }

  .hc-app-main {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hc-app-map-feed {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }

  .hc-app-main .hc-card-pad {
    padding: 0.9rem;
  }

  .hc-app-main .hc-metric-grid,
  .hc-app-main .hc-dashboard-metric-grid {
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.375rem), 1fr));
  }

  .hc-app-main .hc-metric {
    padding: 0.75rem;
  }

  .hc-app-main .hc-metric span {
    font-size: 0.76rem;
  }

  .hc-app-main .hc-metric strong {
    font-size: 1.1rem;
  }

  .hc-app-main .hc-metric small {
    font-size: 0.72rem;
  }

  .hc-page-title h1 {
    font-size: 1.38rem;
  }

  .hc-page-title p {
    font-size: 0.95rem;
  }

  .hc-modal-footer {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem;
  }

  .hc-desktop-data-grid {
    display: none;
  }

  .hc-mobile-task-filters,
  .hc-mobile-task-list,
  .hc-mobile-admin-list {
    display: grid;
  }

  .hc-mobile-task-filters {
    gap: 0.7rem;
    margin-bottom: 0.85rem;
  }

  .hc-mobile-task-filter-grid,
  .hc-mobile-task-list,
  .hc-mobile-admin-list {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
  }

  .hc-mobile-admin-section {
    display: grid;
    gap: 0.65rem;
  }

  .hc-mobile-admin-section + .hc-mobile-admin-section {
    border-top: 1px solid var(--hc-border);
    margin-top: 0.35rem;
    padding-top: 0.9rem;
  }

  .hc-mobile-admin-section-head {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
  }

  .hc-mobile-admin-section-head h2 {
    font-size: 1.02rem;
    margin: 0;
  }

  .hc-mobile-admin-section-head span {
    color: var(--hc-text-muted);
    font-size: 0.86rem;
  }

  .hc-mobile-task-actions,
  .hc-mobile-admin-actions,
  .hc-mobile-reservation-actions {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-mobile-admin-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
  }

  .hc-mobile-admin-card,
  .hc-mobile-reservation-card {
    background: var(--hc-surface);
    border: 1px solid var(--hc-border);
    border-radius: 8px;
    box-shadow: var(--hc-shadow);
    display: grid;
    gap: 0.7rem;
    padding: 0.9rem;
  }

  .hc-mobile-admin-card header,
  .hc-mobile-reservation-card header {
    align-items: start;
    display: flex;
    gap: 0.6rem;
    justify-content: space-between;
  }

  .hc-mobile-admin-card h3,
  .hc-mobile-reservation-card h3 {
    font-size: 1.02rem;
    margin: 0;
  }

  .hc-mobile-admin-meta,
  .hc-mobile-reservation-meta {
    color: var(--hc-text-muted);
    display: grid;
    font-size: 0.92rem;
    gap: 0.12rem;
  }

  .hc-mobile-admin-kpis {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-mobile-admin-kpis span {
    background: var(--hc-surface-muted);
    border: 1px solid var(--hc-border);
    border-radius: 8px;
    color: var(--hc-text-muted);
    display: grid;
    font-size: 0.78rem;
    gap: 0.08rem;
    padding: 0.55rem;
  }

  .hc-mobile-admin-kpis strong {
    color: var(--hc-text);
    font-size: 0.98rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .hc-mobile-admin-card .hc-secondary-action,
  .hc-mobile-admin-card .hc-primary-action,
  .hc-mobile-reservation-actions .hc-secondary-action {
    width: 100%;
  }

  .hc-mobile-admin-detail {
    border-top: 1px solid var(--hc-border);
    margin-top: 0.2rem;
    min-width: 0;
    overflow-x: auto;
    padding-top: 0.75rem;
  }

  .hc-mobile-swipe-list {
    display: grid;
    gap: 0.5rem;
  }

  .hc-mobile-swipe-row {
    align-items: stretch;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: minmax(100%, 1fr) auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .hc-mobile-swipe-main,
  .hc-mobile-swipe-actions {
    background: var(--hc-surface-muted);
    border: 1px solid var(--hc-border);
    border-radius: 8px;
    scroll-snap-align: start;
  }

  .hc-mobile-swipe-main {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
    padding: 0.7rem;
  }

  .hc-mobile-swipe-main span {
    color: var(--hc-text-muted);
    font-size: 0.84rem;
    overflow-wrap: anywhere;
  }

  .hc-mobile-swipe-actions {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    padding: 0.55rem;
  }
}

/* Blagajna: godina kao radni kontekst, osvjezavanje bez demontaze grida, fokus = selekcija */
.hc-cash-year-context {
  align-items: center;
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-height: 40px;
}

.hc-cash-year-context .hc-cash-year-status {
  height: 28px;
  justify-content: center;
  min-height: 0;
  padding: 0;
  width: 28px;
}

.hc-cash-year-context .hc-cash-year-change {
  min-height: 36px;
  min-width: 36px;
  padding: 0 0.55rem;
}

.hc-icon-lock-open {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6V4.5C4 2.6 5.3 1.4 7 1.4C8.5 1.4 9.7 2.4 10 3.9L8.6 4.3C8.4 3.4 7.8 2.8 7 2.8C6.1 2.8 5.4 3.4 5.4 4.5V6H11.2V12.6H2.8V6H4ZM6.3 8.2V10.5H7.7V8.2H6.3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6V4.5C4 2.6 5.3 1.4 7 1.4C8.5 1.4 9.7 2.4 10 3.9L8.6 4.3C8.4 3.4 7.8 2.8 7 2.8C6.1 2.8 5.4 3.4 5.4 4.5V6H11.2V12.6H2.8V6H4ZM6.3 8.2V10.5H7.7V8.2H6.3Z'/%3E%3C/svg%3E");
}

.hc-cash-year-context .hc-cash-year-label {
  color: #66705d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hc-cash-year-context .hc-cash-year-value {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.hc-cash-year-context.is-closed .hc-cash-year-value {
  color: #7A561F;
}

.hc-cash-year-context.is-compact {
  gap: 0.4rem;
  min-height: 32px;
}

.hc-cash-year-context.is-compact .hc-cash-year-value {
  font-size: 1.1rem;
}

.hc-cash-year-context.is-compact .hc-cash-year-change,
.hc-cash-year-context.is-compact .hc-status {
  min-height: 30px;
  padding: 0.2rem 0.6rem;
}

.hc-cash-year-readonly-banner {
  align-items: center;
  background: color-mix(in srgb, #e5e7eb, var(--hc-surface) 40%);
  border: 1px solid color-mix(in srgb, #6b7280, var(--hc-border) 45%);
  border-radius: 8px;
  color: #374151;
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  padding: 0.75rem 0.85rem;
}

.hc-cash-year-readonly-banner.is-closed {
  background: color-mix(in srgb, #fef3c7, var(--hc-surface) 36%);
  border-color: color-mix(in srgb, #d97706, var(--hc-border) 45%);
  color: #713f12;
}

.hc-cash-year-readonly-banner div {
  display: grid;
  gap: 0.15rem;
}

.hc-cash-year-readonly-banner span {
  font-size: 0.9rem;
}

.hc-cash-year-options {
  display: grid;
  gap: 0.45rem;
}

.hc-cash-year-option {
  align-items: center;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  color: var(--hc-text);
  cursor: pointer;
  display: grid;
  gap: 0.2rem 0.75rem;
  grid-template-columns: auto auto 1fr;
  padding: 0.6rem 0.85rem;
  text-align: left;
}

.hc-cash-year-option:hover {
  border-color: var(--hc-success);
}

.hc-cash-year-option strong {
  font-size: 1.25rem;
  line-height: 1;
}

.hc-cash-year-option small {
  color: #66705d;
  grid-column: 1 / -1;
}

.hc-cash-year-option-tags {
  display: inline-flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.hc-cash-year-option em {
  color: var(--hc-success);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.hc-cash-year-option.is-closed em {
  color: #7A561F;
}

.hc-cash-year-option.is-selected {
  background: rgba(95, 127, 95, 0.08);
  border-color: var(--hc-success);
  box-shadow: inset 0 0 0 1px var(--hc-success);
}

.hc-cash-grid-panel.hc-is-refreshing .hc-admin-grid,
.hc-cash-grid-panel.hc-is-refreshing .hc-money-totals-footer,
.hc-mobile-admin-list.hc-is-refreshing {
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.hc-cash-grid-panel.hc-is-refreshing .hc-admin-grid {
  pointer-events: none;
}

/* Fokusirani redak ima isti ton kao selekcija (bez akcentne trake), pa raskorak nikad nije upadljiv. */
.hc-cash-grid-panel .hc-admin-grid {
  --dxbl-grid-focused-row-bg: var(--hc-grid-selected-row-bg);
  --dxbl-grid-focused-row-color: var(--hc-text);
}

@media (max-width: 900px) {
  .hc-cash-filter {
    grid-template-columns: 1fr;
  }

  .hc-cash-year-context {
    flex-wrap: wrap;
    width: 100%;
  }

  .hc-cash-year-context .hc-cash-year-change {
    margin-left: auto;
  }

  .hc-cash-year-readonly-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .hc-cash-actions {
    justify-content: flex-start;
  }

  .hc-cash-more-menu .hc-quick-actions-panel {
    left: 0;
    right: auto;
  }

  .hc-cash-year-option {
    grid-template-columns: auto 1fr;
  }

  .hc-cash-year-option-tags {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* SLE layer settings in the GIS command bar. */
.hc-sle-toolbar-slot:empty { display:none; }
.hc-sle-menu { position:relative; }
.hc-sle-panel { position:absolute; top:calc(100% + 12px); left:0; width:340px; max-width:calc(100vw - 48px); padding:20px; border:1px solid var(--bs-border-color,#d6dfd8); border-radius:14px; background:var(--bs-body-bg,#fff); color:var(--bs-body-color,#233c2b); box-shadow:0 12px 36px #0003; font-size:14px; display:flex; flex-direction:column; gap:16px; z-index:50; }
.hc-sle-panel[hidden] { display:none; }
.hc-sle-panel header { display:flex; align-items:center; justify-content:space-between; font-size:17px; }
.hc-sle-panel button { border:1px solid var(--bs-border-color,#d6dfd8); background:var(--bs-tertiary-bg,#f5f7f5); color:inherit; border-radius:8px; padding:10px 14px; cursor:pointer; }
.hc-sle-panel button:hover { background:var(--bs-secondary-bg,#e5ebe6); }
.hc-sle-panel header button { padding:0; width:32px; height:32px; font-size:22px; }
.hc-sle-panel label { display:flex; align-items:center; gap:10px; cursor:pointer; }
.hc-sle-panel input[type=checkbox] { width:18px; height:18px; accent-color:var(--hc-accent,#315f3e); }
.hc-sle-panel output { float:right; font-weight:600; }
.hc-sle-panel small { color:var(--bs-secondary-color,#68736c); line-height:1.5; }
.hc-sle-panel input[type=range] { min-height:24px; }

.hc-portal-map-shell .hc-sle-panel { max-height:calc(100dvh - 210px); overflow-y:auto; }
.hc-portal-map-shell .hc-sle-panel button { min-height:44px; }
.hc-portal-map-shell .hc-sle-panel label { min-height:36px; }
