.hd-section { margin-bottom: 28px; }
.hd-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hd-section-title { flex: 1; min-width: 200px; }
.hd-section-title h6 { margin: 0; font-family: var(--font-heading); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hd-section-title p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.hd-count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--primary-50); color: var(--primary-700); font: 700 11.5px var(--font-body); }
.hd-count:empty { display: none; }
.hd-search { display: flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); width: min(300px, 100%); transition: border-color .2s, box-shadow .2s; }
.hd-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-100); }
.hd-search i { color: var(--muted-2); }
.hd-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 13.5px; color: var(--text); font-family: 'Noto Sans Kannada', var(--font-body); }


.hd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.hd-officer { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; animation: fadeUp .5s var(--ease) both; }
.hd-officer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hd-officer-band { position: relative; height: 66px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: flex-start; background: linear-gradient(120deg, #08307E 0%, #1452C2 60%, #3C88EC 100%); }
.hd-officer-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 100%); mask-image: linear-gradient(100deg, transparent 40%, #000 100%); pointer-events: none; }
.hd-depot { position: relative; z-index: 1; margin-left: 92px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.hd-officer-tools { position: relative; z-index: 1; display: flex; gap: 4px; }
.hd-officer-tools .btn-icon { width: 32px; height: 32px; background: rgba(255, 255, 255, .92); }
.hd-officer-body { flex: 1; display: grid; gap: 12px; align-content: start; padding: 0 16px 14px; }
.hd-officer-id { display: flex; align-items: flex-start; gap: 12px; }
.hd-photo { flex: none; margin-top: -36px; position: relative; }
.hd-photo img, .hd-photo .avatar { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); background: #EAF1FB; box-shadow: 0 10px 22px -10px rgba(8, 48, 126, .6); display: grid; place-items: center; font-size: 24px; }
.hd-officer-name { min-width: 0; padding-top: 8px; }
.hd-officer-name h6 { margin: 0; font-family: 'Noto Sans Kannada', var(--font-heading); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--text); overflow-wrap: anywhere; }
.hd-officer-name p { margin: 2px 0 0; font-family: 'Noto Sans Kannada', var(--font-body); font-size: 12px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hd-officer-place { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.hd-officer-place i { color: #1D5FD1; margin-top: 1px; }
.hd-officer-place span { overflow-wrap: anywhere; font-family: 'Noto Sans Kannada', var(--font-body); }
.hd-officer-phone { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 14px; background: #EEF3FB; }
.hd-phone-icon { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #1D5FD1; color: #fff; font-size: 14px; }
.hd-officer-phone > div { flex: 1; min-width: 0; line-height: 1.2; }
.hd-officer-phone small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.hd-officer-phone strong { font: 600 18px var(--font-heading); letter-spacing: .6px; color: #0B1F4D; font-variant-numeric: tabular-nums; }
.hd-officer-phone .btn-icon { background: #fff; }
.hd-officer-actions { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 0 16px 16px; }
.hd-officer-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

.app-sidebar-panel.hd-share-panel { width: min(780px, 100vw); }
.hd-share-body { background: var(--surface-2); }
.hd-share-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.hd-share-preview { border-radius: 16px; overflow: hidden; line-height: 0; background: #EAF1FB; border: 1px solid var(--border); box-shadow: var(--shadow); animation: fadeUp .45s var(--ease) both; }
.hd-share-preview canvas { display: block; width: 100%; height: auto; }
.hd-share-preview > .skeleton { display: block; width: 100%; height: 0; padding-bottom: 184%; border-radius: 0; }
.hd-share-preview > .hd-share-error { line-height: normal; background: var(--surface); }
.hd-share-side { display: grid; gap: 18px; position: sticky; top: 0; }
.hd-share-group { display: grid; gap: 8px; }
.hd-share-group > .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.hd-share-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.hd-share-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hd-share-row .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.hd-share-row [data-share="copy"] { grid-column: 1 / -1; }
.hd-share-target { margin: 2px 0 0; display: grid; gap: 4px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.hd-share-target:empty { display: none; }
.hd-share-target i { color: #229ED9; margin-right: 3px; }
.hd-share-target .off { opacity: .7; }
.hd-btn-whatsapp { background: #25D366; color: #fff; border: 0; box-shadow: 0 10px 24px -14px rgba(18, 140, 126, .9); }
.hd-btn-whatsapp:hover, .hd-btn-whatsapp:focus-visible { background: #1EBE5A; color: #fff; }
.hd-btn-whatsapp:disabled { background: #25D366; color: #fff; opacity: .55; }

.hd-terminals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hd-terminal { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: 18px; color: #fff; background: linear-gradient(135deg, #08307E 0%, #1452C2 58%, #3C88EC 100%); box-shadow: 0 18px 40px -22px rgba(8, 48, 126, .85); animation: fadeUp .5s var(--ease) both; transition: transform .35s var(--ease), box-shadow .35s; }
.hd-terminal:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(8, 48, 126, .9); }
.hd-terminal::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%); mask-image: linear-gradient(115deg, transparent 35%, #000 100%); }
.hd-terminal-mark { position: absolute; right: -10px; top: -22px; z-index: -1; font-size: 124px; line-height: 1; color: #fff; opacity: .09; transform: rotate(-14deg); }
.hd-terminal-top { display: flex; align-items: center; gap: 14px; }
.hd-monogram { width: 66px; height: 66px; flex: none; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); }
.hd-monogram small { font-size: 8.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; opacity: .82; }
.hd-monogram b { font: 700 27px/1 var(--font-heading); }
.hd-terminal-text { min-width: 0; }
.hd-terminal-text h6 { margin: 7px 0 1px; font: 600 16px var(--font-heading); color: #fff; }
.hd-kn { font-family: 'Noto Sans Kannada', var(--font-body); font-size: 12.5px; font-weight: 600; color: #FFD35A; }
.hd-open { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 201, 60, .18); color: #FFE08A; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.hd-terminal-number { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font: 600 23px var(--font-heading); letter-spacing: 1.2px; font-variant-numeric: tabular-nums; }
.hd-terminal-number i { font-size: 15px; color: #FFD35A; }
.hd-terminal-actions { display: flex; gap: 8px; }
.hd-terminal-actions .btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; }
.hd-btn-call { background: #fff; color: #0B2A6B; border: 0; }
.hd-btn-call:hover, .hd-btn-call:focus-visible { background: #EAF1FB; color: #0B2A6B; }
.hd-btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.hd-btn-glass:hover, .hd-btn-glass:focus-visible { background: rgba(255, 255, 255, .22); color: #fff; }
.hd-btn-share { background: #FFC93C; color: #0B1F4D; border: 0; }
.hd-btn-share:hover, .hd-btn-share:focus-visible { background: #FFD766; color: #0B1F4D; }

@media (max-width: 991.98px) {
  .hd-terminals { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
  .hd-share-layout { grid-template-columns: minmax(0, 1fr); }
  .hd-share-side { position: static; }
  .hd-search { width: 100%; }
}

@media (max-width: 575.98px) {
  .hd-grid { grid-template-columns: minmax(0, 1fr); }
  .hd-terminal { padding: 16px; }
  .hd-terminal-number { font-size: 21px; }
  .page-header-actions { width: 100%; }
  .page-header-actions .btn { flex: 1; }
}
