/* 2.6.7 Ticket Properties for Desk tickets (web/native-fields.js) - the Zoho Desk left panel: one card per section, small
   grey labels over values, a pill for status, an avatar for the owner, and nothing but what is filled in. */
.dp { display: flex; flex-direction: column; gap: 8px; }
.dp-tools { display: flex; align-items: center; gap: 6px; padding: 0 2px; }
.dp-tool { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.dp-tool:hover { color: var(--ink); background: var(--row-hover); }
.dp-tool:focus-visible, .dp-head:focus-visible, .dp-v.dp-can:focus-visible { outline: 2px solid var(--accent, #2b4c9b); outline-offset: 1px; }
.dp-find { flex: 1; height: 30px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; font: inherit; font-size: 12.5px; background: var(--panel); color: var(--ink); }
.dp-sec { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 14px; background: transparent; border: 0; border-radius: 8px; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.dp-head:hover { background: var(--row-hover); }
.dp-ht { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dp-head h2 { margin: 0; font-size: 14px; font-weight: 650; letter-spacing: -.005em; }
.dp-sum { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.dp-body { padding: 0 14px 10px; }
.dp-f { padding: 7px 0; min-width: 0; }
.dp-l { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; margin-bottom: 2px; }
.dp-req { color: #c0392b; }
.dp-v { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 20px; padding: 1px 0; font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.4; word-break: break-word; background: transparent; border: 0; text-align: left; font-family: inherit; }
.dp-v.dp-can { cursor: pointer; border-radius: 4px; margin: 0 -4px; padding: 1px 4px; width: calc(100% + 8px); }
.dp-v.dp-can .ico { opacity: 0; color: var(--muted); flex: none; margin-left: auto; }
.dp-v.dp-can:hover { background: var(--row-hover); }
.dp-v.dp-can:hover .ico, .dp-v.dp-can:focus-visible .ico { opacity: 1; }
@media (hover: none) { .dp-v.dp-can .ico { opacity: .6; } }
.dp-v a { color: var(--link, #2b4c9b); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.dp-v a:hover { text-decoration: underline; }
.dp-none { color: var(--faint, #9aa3af); font-weight: 400; }
.dp-pad { margin: 4px 0 6px; font-size: 12.5px; }
.dp-person { display: inline-flex; align-items: center; gap: 8px; }
.dp-pill { display: inline-block; padding: 1px 9px; border-radius: 4px; border: 1px solid currentColor; font-size: 12px; font-weight: 500; line-height: 18px; }
.dp-pill.st-open { color: #2b6cb0; } .dp-pill.st-wait { color: #c0392b; } .dp-pill.st-go { color: #1e7b4f; } .dp-pill.st-hold { color: #8a6d1c; } .dp-pill.st-done { color: #5f6b7a; }
.dp-late { display: block; color: #c0392b; font-size: 11.5px; font-weight: 400; }
.dp-name { font-size: 14px; font-weight: 650; color: var(--ink); padding: 2px 0 4px; }
.dp-name a { color: inherit; text-decoration: none; } .dp-name a:hover { text-decoration: underline; }
.dp-line { font-size: 12.5px; color: var(--muted); padding: 1px 0; word-break: break-all; }
.dp-line a { color: var(--muted); text-decoration: none; } .dp-line a:hover { color: var(--ink); text-decoration: underline; }
.dp-more { display: inline-block; margin: 4px 0 2px; }
.dp-edit { display: flex; flex-direction: column; gap: 6px; }
.dp-edit input, .dp-edit select, .dp-edit textarea { width: 100%; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--ink); }
.dp-edit-a { display: flex; align-items: center; gap: 10px; }
.dp-err { color: #c0392b; font-size: 12px; margin: 0; }
.dp-stale { margin: 0; padding: 8px 10px; border-radius: 6px; background: #fff7e6; color: #7a5200; font-size: 12px; display: flex; gap: 6px; align-items: center; }
.dp-foot { margin: 2px 4px; font-size: 11.5px; color: var(--muted); }
:root[data-theme="dark"] .dp-stale { background: #3a2e12; color: #f3d38a; }
:root[data-theme="dark"] .dp-pill.st-open { color: #8fb8ee; } :root[data-theme="dark"] .dp-pill.st-wait { color: #f08a7e; }
:root[data-theme="dark"] .dp-pill.st-go { color: #7fd1a6; } :root[data-theme="dark"] .dp-pill.st-hold { color: #e3c46f; }
:root[data-theme="dark"] .dp-late, :root[data-theme="dark"] .dp-req, :root[data-theme="dark"] .dp-err { color: #f08a7e; }
/* 2.6.8 CRM panel (web/crm-fields.js) */
.dp-pre { white-space: pre-wrap; }
.dp-sub { width: 100%; border-collapse: collapse; font-size: 12px; }
.dp-sub th { text-align: left; font-weight: 500; color: var(--muted); padding: 4px 6px 4px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dp-sub td { padding: 5px 6px 5px 0; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.dp-sub tr:last-child td { border-bottom: 0; }
.dp-body:has(.dp-sub) { overflow-x: auto; }
