/**
 * TrailsIQ — Shared Component Styles
 *
 * Reusable UI components shared between the Field App and the Dashboard.
 * Changes here propagate to both apps automatically.
 *
 * @package TrailsIQ
 */

/* ── Type-icon filter pills ────────────────────────────────────────── */

.tiq-fa-type-icons {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0 8px 0 0;
}

.tiq-fa-type-icons::-webkit-scrollbar { display: none; }

.tiq-fa-type-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border: 1.5px solid #e5e7eb;
	border-radius: 99px;
	background: #fff;
	cursor: pointer;
	padding: 5px 11px 5px 6px;
	color: #374151;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
	transition: all 0.15s;
}

.tiq-fa-type-icon__circle {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(0,0,0,.06);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.15s;
}

.tiq-fa-type-icon svg,
.tiq-fa-type-icon img {
	width: 13px;
	height: 13px;
	display: block;
}

.tiq-fa-type-icon-label {
	font-size: 12px;
	font-weight: 500;
	color: #374151;
	white-space: nowrap;
	line-height: 1;
	font-family: inherit;
	transition: color 0.15s;
}

.tiq-fa-type-icon.active {
	background: rgba(221,155,54,.10);
	border-color: #dd9b36;
	color: #dd9b36;
}

.tiq-fa-type-icon.active .tiq-fa-type-icon__circle {
	background: rgba(221,155,54,.18);
}

.tiq-fa-type-icon.active .tiq-fa-type-icon-label {
	color: #dd9b36;
	font-weight: 600;
}

/* ── Swipe action buttons ──────────────────────────────────────────── */

.tiq-fa-issue-actions {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: stretch;
	pointer-events: none;
}

.tiq-swipe-open .tiq-fa-issue-actions {
	pointer-events: auto;
}

.tiq-fa-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	border: none;
	border-radius: 0;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

.tiq-fa-action-done         { background: #16a34a; }
.tiq-fa-action-inprogress   { background: #2563eb; }
.tiq-fa-action-new          { background: #6b7280; }
.tiq-fa-action-delete       { background: #dc2626; }

.tiq-fa-action-done:active       { background: #15803d; }
.tiq-fa-action-inprogress:active { background: #1d4ed8; }
.tiq-fa-action-new:active        { background: #4b5563; }
.tiq-fa-action-delete:active     { background: #b91c1c; }

/* ── Status badges ─────────────────────────────────────────────────── */

.tiq-fa-status-badge {
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 99px;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.tiq-fa-status-badge--open        { color: #166534; }
.tiq-fa-status-badge--in_progress { color: #1e40af; }
.tiq-fa-status-badge--resolved    { color: #6b7280; }

/* ── Type chips ────────────────────────────────────────────────────── */

.tiq-fa-issue-row__type-chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 7px;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 600;
	background: #e8f4e8;
	color: #2d5a27;
	flex-shrink: 0;
}

/* ── Priority badges ───────────────────────────────────────────────── */

.tiq-fa-issue-row__priority {
	font-size: 10px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 99px;
}

.tiq-fa-priority--critical { color: #dc2626; }
.tiq-fa-priority--high     { color: #ea580c; }
.tiq-fa-priority--medium   { color: #ca8a04; }
.tiq-fa-priority--low      { color: #6b7280; }

/* ── Priority dots ─────────────────────────────────────────────────── */

.tiq-fa-priority-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.tiq-fa-priority-dot--critical { background: #dc2626; }
.tiq-fa-priority-dot--high     { background: #f97316; }
.tiq-fa-priority-dot--medium   { background: #eab308; }
.tiq-fa-priority-dot--low      { background: #22c55e; }

/* ── Condition badges ──────────────────────────────────────────────── */

.tiq-fa-cond-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.tiq-fa-cond-badge--good   { background: #dcfce7; color: #166534; }
.tiq-fa-cond-badge--fair   { background: #fef9c3; color: #854d0e; }
.tiq-fa-cond-badge--poor   { background: #fed7aa; color: #9a3412; }
.tiq-fa-cond-badge--failed { background: #fee2e2; color: #991b1b; }

/* ── Detail panel sections ─────────────────────────────────────────── */

.tiq-fd-section {
	padding: 14px 16px;
	border-bottom: 1px solid #f3f4f6;
}

/* Read-only meta chips row */
.tiq-fd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.tiq-fd-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 500;
	color: #6b7280;
	padding: 4px 9px;
	background: #f3f4f6;
	border-radius: 6px;
	line-height: 1;
}

.tiq-fd-chip svg { flex-shrink: 0; }

.tiq-fd-chip--type  { color: #2d5a27; background: #e8f4e8; }
.tiq-fd-chip--gps   { color: #1d4ed8; background: #dbeafe; }
.tiq-fd-chip--plain { background: none; border: none; padding: 0; color: #6b7280; }

/* Description zone */
.tiq-fd-desc {
	font-size: 14px;
	color: #1b2e1a;
	line-height: 1.6;
	white-space: pre-line;
}

.tiq-fd-auto-desc {
	font-size: 13px;
	color: #6b7280;
	font-style: italic;
	line-height: 1.5;
	margin-top: 6px;
}

.tiq-fd-reporter {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #9ca3af;
	margin-top: 8px;
}

/* Media block — photo thumbnails below reporter */
.tiq-fd-media {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #f3f4f6;
}

/* Detail photo thumbnail */
.tiq-fd-photo-thumb {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid #e5e7eb;
	display: block;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	flex-shrink: 0;
}
.tiq-fd-photo-thumb:hover { opacity: .85; }

/* Save row inside overview */
.tiq-fd-save-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

.tiq-fd-save-btn {
	padding: 10px 20px;
	background: #dd9b36;
	color: #1b2e1a;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 0.15s;
}

.tiq-fd-save-btn:disabled { opacity: 0.6; cursor: default; }
.tiq-fd-save-btn:not(:disabled):active { opacity: 0.82; }

/* ── Work log / time log ───────────────────────────────────────────── */

/* Work log collapsible */
.tiq-fd-worklog { padding: 0; }

.tiq-fd-worklog-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
	text-align: left;
}

.tiq-fd-worklog-label {
	font-size: 13px;
	font-weight: 700;
	color: #1b2e1a;
}

.tiq-fd-worklog-summary {
	flex: 1;
	font-size: 12px;
	color: #9ca3af;
}

.tiq-fd-worklog-chevron {
	flex-shrink: 0;
	color: #9ca3af;
	transition: transform 0.2s ease;
}

.tiq-fd-worklog-body {
	padding: 0 16px 14px;
	border-top: 1px solid #f3f4f6;
}

/* Time log list */
.tiq-fa-timelog-list { padding-top: 10px; }

.tiq-fa-timelog-loading,
.tiq-fa-timelog-empty {
	font-size: 13px;
	color: #9ca3af;
	padding: 6px 0 10px;
}

.tiq-fa-timelog-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 0;
	border-bottom: 1px solid #f3f4f6;
}

.tiq-fa-timelog-row:last-child { border-bottom: none; }

.tiq-fa-timelog-row__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.tiq-fa-timelog-row__date {
	font-size: 12px;
	color: #6b7280;
}

.tiq-fa-timelog-row__dur {
	font-size: 15px;
	font-weight: 700;
	color: #1b2e1a;
}

.tiq-fa-timelog-row__note {
	font-size: 12px;
	color: #6b7280;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tiq-fa-timelog-row--pending { opacity: 0.65; }
.tiq-fa-timelog-row__sync {
	font-size: 10px;
	font-weight: 600;
	color: #dd9b36;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tiq-fa-timelog-row__actions {
	display: flex;
	gap: 4px;
	flex-shrink: 0;
}

.tiq-fa-timelog-btn {
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 8px;
	background: #f3f4f6;
	color: #374151;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

.tiq-fa-timelog-edit:active   { background: #dbeafe; color: #1d4ed8; }
.tiq-fa-timelog-delete:active { background: #fee2e2; color: #dc2626; }

/* Add / edit form */
.tiq-fa-timelog-add {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #e5e7eb;
}

.tiq-fa-timelog-add-title {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 10px;
}

.tiq-fa-timelog-fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 12px;
}

.tiq-fa-timelog-lbl {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 4px;
}

.tiq-fa-timelog-input {
	width: 100%;
	max-width: 100%;
	padding: 9px 11px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 16px;
	color: #1b2e1a;
	background: #fff;
	box-sizing: border-box;
	min-width: 0;
}

/* Date inputs have a browser-imposed minimum width; cap them so they
   don't push the panel wider than the screen. */
input[type="date"].tiq-fa-timelog-input {
	max-width: 160px;
}

.tiq-fa-timelog-input:focus {
	outline: none;
	border-color: #4d7c0f;
	box-shadow: 0 0 0 3px rgba(77,124,15,.12);
}

.tiq-fa-timelog-dur-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.tiq-fa-timelog-input--num {
	width: 64px;
	text-align: center;
	padding: 9px 6px;
}

.tiq-fa-timelog-unit {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
}

/* ── Photo grid ────────────────────────────────────────────────────── */

.tiq-fa-photo-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 6px;
}

/* Square thumbnail wrapper */
.tiq-fa-photo-thumb-wrap {
	position: relative;
	width: 72px;
	height: 72px;
	flex-shrink: 0;
}

/* Square thumbnail image */
.tiq-fa-photo-sq {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid #e5e7eb;
	display: block;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

/* "Add photos" label-button (same size as thumbnail) */
.tiq-fa-photo-add-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	border: 1.5px dashed #d1d5db;
	background: #f9fafb;
	font-size: 11px;
	font-weight: 500;
	font-family: inherit;
	color: #6b7280;
	cursor: pointer;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
	transition: border-color 0.15s, color 0.15s;
}
.tiq-fa-photo-add-btn:hover,
.tiq-fa-photo-add-btn:active { border-color: #1b2e1a; color: #1b2e1a; }

.tiq-fa-photo-add-btn input[type="file"] {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}

.tiq-fa-photo-remove {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #dc2626;
	color: #fff;
	border: none;
	font-size: 12px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	z-index: 1;
}

/* ── Lightbox ──────────────────────────────────────────────────────── */

.tiq-fa-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0,0,0,.92);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tiq-fa-lightbox-img {
	max-width: 92%;
	max-height: 88dvh;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}
.tiq-fa-lightbox-close {
	position: absolute;
	top: env(safe-area-inset-top, 0px);
	right: 0;
	padding: 16px 18px;
	background: none;
	border: none;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.tiq-fa-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,.12);
	border: none;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	width: 44px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 6px;
	-webkit-tap-highlight-color: transparent;
}
.tiq-fa-lightbox-nav--prev { left: 8px; }
.tiq-fa-lightbox-nav--next { right: 8px; }
.tiq-fa-lightbox-counter {
	position: absolute;
	bottom: env(safe-area-inset-bottom, 16px);
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,.7);
	font-size: 13px;
	pointer-events: none;
}

/* ── Save feedback ─────────────────────────────────────────────────── */

.tiq-fa-save-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tiq-fa-save-btn {
	padding: 13px 28px;
	background: #dd9b36;
	color: #1b2e1a;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 0.15s;
}

.tiq-fa-save-btn:disabled { opacity: 0.6; cursor: default; }
.tiq-fa-save-btn:not(:disabled):active { opacity: 0.82; }

.tiq-fa-save-msg      { font-size: 13px; font-weight: 500; }
.tiq-fa-save-msg--ok  { color: #166534; }
.tiq-fa-save-msg--err { color: #dc2626; }

/* ── Map markers ───────────────────────────────────────────────────── */

/* Issue pins — white circle, pin body colour varies by status */
.tiq-fa-pin--open        { --tiq-marker-pin: #3ad791; --tiq-marker-circle: #f6fff6; --tiq-marker-icon: #28c57f; }
.tiq-fa-pin--in_progress { --tiq-marker-pin: #2563eb; --tiq-marker-circle: #f4f7ff; --tiq-marker-icon: #2563eb; }
.tiq-fa-pin--resolved    { --tiq-marker-pin: #9e9e9e; --tiq-marker-circle: #f3f4f6; --tiq-marker-icon: #888888; }

/* SVG pin filter */
.tiq-ma-pin { filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }

.tiq-ma-pin--open        { --tiq-marker-pin: #3ad791; --tiq-marker-circle: #f6fff6; --tiq-marker-icon: #28c57f; }
.tiq-ma-pin--in_progress { --tiq-marker-pin: #2563eb; --tiq-marker-circle: #f4f7ff; --tiq-marker-icon: #2563eb; }
.tiq-ma-pin--resolved    { --tiq-marker-pin: #9e9e9e; --tiq-marker-circle: #f3f4f6; --tiq-marker-icon: #888888; }
.tiq-ma-pin--structure   { --tiq-marker-pin: #2563eb; --tiq-marker-circle: #eff6ff; --tiq-marker-icon: #2563eb; }

/* POI markers */
.tiq-fa-poi-marker {
	filter: drop-shadow(0 1px 3px rgba(0,0,0,.35));
	cursor: pointer;
}

.tiq-fa-poi-dot {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	background: #dc2626;
	border-radius: 50%;
	align-self: center;
}

/* ── Form fields ───────────────────────────────────────────────────── */

.tiq-fa-field-group {
	padding: 12px 14px 0;
}

.tiq-fa-field-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #9ca3af;
	margin-bottom: 6px;
}

.tiq-fa-field-required::after {
	content: ' *';
	color: #dc2626;
}

.tiq-fa-input,
.tiq-fa-textarea,
.tiq-fa-field-select {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	font-size: 16px;
	font-family: inherit;
	color: #1b2e1a;
	background: #f9fafb;
	outline: none;
	transition: border-color 0.15s, background 0.15s;
	-webkit-appearance: none;
}

.tiq-fa-input:focus,
.tiq-fa-textarea:focus,
.tiq-fa-field-select:focus {
	border-color: #1b2e1a;
	background: #fff;
}

.tiq-fa-textarea {
	min-height: 80px;
	resize: none;
	line-height: 1.5;
}

.tiq-fa-field-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239ca3af'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

/* ── Progress bar ──────────────────────────────────────────────────── */

.tiq-fa-progress {
	display: none;
	flex-direction: column;
	gap: 5px;
}
.tiq-fa-progress.is-active {
	display: flex;
}
.tiq-fa-progress-track {
	width: 100%;
	height: 4px;
	background: #e5e7eb;
	border-radius: 2px;
	overflow: hidden;
}
.tiq-fa-progress-fill {
	height: 100%;
	width: 0%;
	background: #1b2e1a;
	border-radius: 2px;
	transition: width 0.4s ease;
}
.tiq-fa-progress-fill.is-uploading {
	animation: tiq-upload-pulse 1.5s ease-in-out infinite;
}
@keyframes tiq-upload-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}
.tiq-fa-progress-label {
	font-size: 12px;
	color: #6b7280;
	text-align: center;
	min-height: 16px;
}

/* ── Submit section ────────────────────────────────────────────────── */

.tiq-fa-submit-section {
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tiq-fa-submit-btn {
	width: 100%;
	padding: 15px;
	background: #1b2e1a;
	color: #fff;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 0.15s;
}

.tiq-fa-submit-btn:disabled { opacity: 0.5; cursor: default; }
.tiq-fa-submit-btn:not(:disabled):active { opacity: 0.82; }

.tiq-fa-submit-msg {
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	min-height: 18px;
	color: #9ca3af;
}

.tiq-fa-submit-msg--ok  { color: #166534; }
.tiq-fa-submit-msg--err { color: #dc2626; }

/* ── Issue / Maintenance Row ────────────────────────────────────── */

.tiq-fa-issue-row-wrap {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid #f3f4f6;
}

.tiq-fa-issue-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.1s;
	background: #fff;
	will-change: transform;
	touch-action: pan-y;
}

.tiq-fa-issue-row:active { background: #f9fafb; }

.tiq-fa-issue-row__left  { flex-shrink: 0; display: flex; align-items: center; }
.tiq-fa-issue-row__body  { flex: 1; min-width: 0; }
.tiq-fa-issue-row__arrow { flex-shrink: 0; color: #d1d5db; font-size: 20px; line-height: 1; }

.tiq-fa-issue-row__trail {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #1b2e1a;
	overflow: hidden;
}

.tiq-fa-issue-row__diff-inline {
	flex-shrink: 0;
	width: 13px;
	height: 13px;
	display: block;
}

.tiq-fa-issue-row__trail-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.tiq-fa-issue-row-wrap--resolved .tiq-fa-issue-row__trail-name { color: #9ca3af; }
.tiq-fa-issue-row-wrap--resolved .tiq-fa-issue-row__desc       { color: #d1d5db; }
.tiq-fa-issue-row-wrap--resolved .tiq-fa-issue-row__meta       { color: #d1d5db; }
.tiq-fa-issue-row-wrap--resolved .tiq-fa-issue-row__type-chip  { background: #f3f4f6; color: #9ca3af; }

.tiq-fa-row-diff-icon {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	align-self: center;
}
.tiq-fa-row-diff-icon--empty {
	width: 12px;
	height: 12px;
}

.tiq-fa-issue-row__desc {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tiq-fa-issue-row__trail-hint {
	font-weight: 600;
	color: #374151;
}

.tiq-fa-issue-row__meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #9ca3af;
	margin-top: 2px;
}

.tiq-fa-issue-row__type-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

/* ── Structure / Infrastructure Row ─────────────────────────────── */

.tiq-fa-struct-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid #f3f4f6;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.1s;
}

.tiq-fa-struct-row:active { background: #f9fafb; }

.tiq-fa-struct-row__diff-dot {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	align-self: center;
}

.tiq-fa-struct-row__body  { flex: 1; min-width: 0; }
.tiq-fa-struct-row__arrow { flex-shrink: 0; color: #d1d5db; font-size: 20px; line-height: 1; }

.tiq-fa-struct-row__name {
	font-size: 14px;
	font-weight: 600;
	color: #1b2e1a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tiq-fa-struct-row__code {
	font-size: 11px;
	font-weight: 400;
	color: #9ca3af;
	margin-left: 4px;
}

.tiq-fa-struct-row__trail {
	font-size: 12px;
	color: #6b7280;
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tiq-fa-struct-row__meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #9ca3af;
	margin-top: 2px;
}

.tiq-fa-struct-row__overdue-text {
	color: #dc2626;
}

.tiq-fa-struct-group {
	padding: 10px 16px 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
	background: #f9fafb;
	border-bottom: 1px solid #f3f4f6;
}

.tiq-fa-struct-row--overdue {
	background: linear-gradient(to right, rgba(220, 38, 38, 0.06), transparent 40%);
}

.tiq-fa-struct-row__badge {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 7px;
	border-radius: 99px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: middle;
}
.tiq-fa-struct-row__badge--overdue {
	background: #fee2e2;
	color: #991b1b;
}

.tiq-fa-overdue-toggle {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #374151;
	cursor: pointer;
	white-space: nowrap;
	padding: 5px 10px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}
.tiq-fa-overdue-toggle input { margin: 0; }

/* ── Filter Bar ─────────────────────────────────────────────────── */

.tiq-fa-filters {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--tiq-border, #e5e7eb);
}

.tiq-fa-filter-bar {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 8px 0 8px 14px;
}

.tiq-fa-chips {
	display: flex;
	gap: 7px;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-right: 8px;
}

.tiq-fa-chips::-webkit-scrollbar { display: none; }

.tiq-fa-chip {
	flex-shrink: 0;
	padding: 5px 14px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	font-size: 13px;
	font-weight: 500;
	font-family: inherit;
	color: #6b7280;
	cursor: pointer;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	transition: all 0.15s;
}

.tiq-fa-chip.active {
	background: rgba(221,155,54,.12);
	border-color: rgba(221,155,54,.25);
	color: #dd9b36;
	font-weight: 700;
}

.tiq-fa-add-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 34px;
	padding: 0 12px;
	background: #dd9b36;
	border: 1.5px solid #dd9b36;
	border-radius: 8px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.15s, border-color 0.15s;
}

.tiq-fa-filter-bar > .tiq-fa-add-btn:last-child {
	margin-right: 10px;
}

.tiq-fa-add-btn:hover,
.tiq-fa-add-btn:focus {
	background: #c98828;
	border-color: #c98828;
	color: #fff;
}

.tiq-fa-add-btn svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
}

@media (max-width: 600px) {
	.tiq-fa-add-btn {
		padding: 0 9px;
	}
	.tiq-fa-add-btn__label {
		display: none;
	}
}

.tiq-fa-filter-toggle {
	flex-shrink: 0;
	position: relative;
	width: 34px;
	height: 34px;
	margin-left: 6px;
	margin-right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	color: #6b7280;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tiq-fa-filter-toggle.active {
	background: #1b2e1a;
	border-color: #1b2e1a;
	color: #fff;
}

.tiq-fa-filter-toggle.has-filters {
	border-color: #dd9b36;
	color: #dd9b36;
}

.tiq-fa-filter-toggle.active.has-filters {
	background: #dd9b36;
	border-color: #dd9b36;
	color: #fff;
}

.tiq-fa-filter-badge {
	position: absolute;
	top: -3px;
	right: -3px;
	width: 10px;
	height: 10px;
	background: #dd9b36;
	border: 2px solid #fff;
	border-radius: 50%;
}

.tiq-fa-filter-drawer {
	display: none;
	gap: 6px;
	padding: 0 14px 10px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.tiq-fa-filter-drawer.open,
.tiq-fa-filter-drawer:not([hidden]) {
	display: flex;
}

.tiq-fa-filter-drawer::-webkit-scrollbar { display: none; }

.tiq-fa-filter-clear {
	flex-shrink: 0;
	padding: 5px 12px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	font-family: inherit;
	color: #6b7280;
	cursor: pointer;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tiq-fa-filter-clear:active {
	background: #f3f4f6;
	color: #1b2e1a;
}

/* ── Select dropdown ────────────────────────────────────────────── */

.tiq-fa-select {
	flex-shrink: 0;
	padding: 5px 10px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	font-size: 12px;
	font-weight: 500;
	font-family: inherit;
	color: #6b7280;
	cursor: pointer;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239ca3af'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 26px;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}

.tiq-fa-select:focus {
	border-color: #1b2e1a;
	color: #1b2e1a;
}

.tiq-fa-select.active {
	border-color: #dd9b36;
	color: #1b2e1a;
	font-weight: 600;
}

.tiq-fa-search-input {
	flex: 1;
	min-width: 80px;
	appearance: none;
	-webkit-appearance: none;
	background-image: none;
	padding-right: 10px;
}

/* ── List container ─────────────────────────────────────────────── */

.tiq-fa-list {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/* ── Empty state ────────────────────────────────────────────────── */

.tiq-fa-empty {
	padding: 48px 24px;
	text-align: center;
	color: #9ca3af;
	font-size: 13px;
}

.tiq-fa-empty svg {
	width: 36px;
	height: 36px;
	display: block;
	margin: 0 auto 10px;
	opacity: 0.3;
}

/* ── GPS detecting indicator ────────────────────────────────────── */

.tiq-fa-gps-detect {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 24px;
	gap: 14px;
}

.tiq-fa-gps-detect__signal {
	position: relative;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tiq-fa-gps-detect__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2.5px solid #d1d5db;
	animation: tiq-gps-pulse 2s ease-in-out infinite;
}

@keyframes tiq-gps-pulse {
	0%, 100% { transform: scale(1); opacity: 0.4; }
	50%      { transform: scale(1.2); opacity: 0.15; }
}

.tiq-fa-gps-detect__icon {
	color: #9ca3af;
}

.tiq-fa-gps-detect__text {
	font-size: 13px;
	color: #9ca3af;
	font-weight: 500;
}

/* ── Shared detail panel ──────────────────────────────────────────── */

/* Detail panel header */
.tiq-detail__head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; background: #fff; flex-shrink: 0; }
.tiq-detail__title { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #1b2e1a; min-width: 0; }
.tiq-detail__title strong { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tiq-detail__title img { flex-shrink: 0; }
.tiq-detail__close { flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: none; background: rgba(0,0,0,.06); border-radius: 8px; font-size: 18px; color: #6b7280; cursor: pointer; }

/* Detail body */
.tiq-detail__body {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 14px 16px;
	min-height: 0;
}

/* Detail description */
.tiq-detail__desc { font-size: 14px; color: #1b2e1a; line-height: 1.6; white-space: pre-line; margin: 0 0 8px; }
.tiq-detail__desc--auto { color: #6b7280; font-style: italic; }

/* Detail meta (reporter + date) */
.tiq-detail__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6b7280; margin: 8px 0; }
.tiq-detail__meta svg { flex-shrink: 0; }

/* Detail section with label */
.tiq-detail__section { margin-top: 16px; }
.tiq-detail__section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #6b7280; margin-bottom: 8px; }

/* Detail attribute/inspection grid */
.tiq-detail__grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.tiq-detail__grid-row { display: contents; }
.tiq-detail__grid-key { color: #6b7280; font-weight: 500; white-space: nowrap; }
.tiq-detail__grid-val { color: #1b2e1a; }

/* Divider */
.tiq-detail__div { border: none; border-top: 1px solid #f3f4f6; margin: 12px 0; }

/* ── Edit form (inside detail panel) ────────────────────────────── */

.tiq-detail__edit-fields {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.tiq-detail__edit-label {
	font-size: 12px;
	font-weight: 600;
	color: #4b5563;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 120px;
}

.tiq-detail__edit-input {
	font-size: 16px;
	padding: 6px 8px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
	font-family: inherit;
	color: #1b2e1a;
	outline: none;
	width: 100%;
}

.tiq-detail__edit-input:focus {
	border-color: #1b2e1a;
}

textarea.tiq-detail__edit-input {
	resize: vertical;
	min-height: 60px;
}

.tiq-detail__edit-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
}

.tiq-detail__edit-save {
	background: #2d6a4f;
	color: #fff;
	border: none;
	border-radius: 7px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s;
}

.tiq-detail__edit-save:hover { background: #1b4332; }
.tiq-detail__edit-save:disabled { opacity: 0.55; cursor: not-allowed; }

/* How-to-get-there route in detail panel */
.tiq-detail__distance {
	font-size: 13px;
	color: #6b7280;
	margin-top: 10px;
	min-height: 20px;
}
.tiq-detail__distance strong { color: #1b2e1a; font-weight: 600; }

.tiq-detail__route {
	background: #f0fdf4;
	border: 1px solid #dcfce7;
	border-radius: 10px;
	overflow: hidden;
}
.tiq-detail__route--straight {
	background: #f9fafb;
	border-color: #e5e7eb;
}

/* Toggle header button */
.tiq-detail__route-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: 10px 14px;
	border: none;
	background: none;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	color: #166534;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.tiq-detail__route--straight .tiq-detail__route-toggle { color: #6b7280; }
.tiq-detail__route-chevron {
	margin-left: auto;
	flex-shrink: 0;
	transition: transform 0.2s;
	color: #9ca3af;
}
.tiq-detail__route-toggle.is-open .tiq-detail__route-chevron { transform: rotate(180deg); }

/* Collapsible body */
.tiq-detail__route-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease, padding 0.25s ease;
	padding: 0 14px;
}
.tiq-detail__route-body.is-open {
	max-height: 200px;
	padding: 0 14px 12px;
}

.tiq-detail__route-head {
	font-size: 15px;
	color: #1b2e1a;
}
.tiq-detail__route-head em { font-style: normal; font-size: 12px; color: #9ca3af; }
.tiq-detail__route-steps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	font-size: 12px;
	color: #374151;
}
.tiq-detail__route-seg { white-space: nowrap; }
.tiq-detail__route-seg em { font-style: normal; color: #9ca3af; }
.tiq-detail__route-arrow { color: #d1d5db; font-size: 11px; margin: 0 2px; }
.tiq-detail__route-from {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	font-size: 11px;
	color: #9ca3af;
}

/* ── Detail action buttons (Edit / Work log) ─────────────────────── */

.tiq-detail__action-btns {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f3f4f6;
}

.tiq-detail__action-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 16px;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	color: #1b2e1a;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: border-color 0.15s, background 0.15s;
}

.tiq-detail__action-btn:active { background: #f9fafb; border-color: #d1d5db; }
.tiq-detail__action-btn svg { width: 16px; height: 16px; color: #6b7280; flex-shrink: 0; }

/* Detail fullscreen sub-view (edit / work log) */

.tiq-detail__fs-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

.tiq-detail__fs-back {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: rgba(0,0,0,.06);
	border-radius: 8px;
	color: #6b7280;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.tiq-detail__fs-back:active { background: rgba(0,0,0,.10); }

.tiq-detail__fs-title {
	flex: 1;
	font-size: 15px;
	font-weight: 600;
	color: #1b2e1a;
}

.tiq-detail__fs-body {
	padding: 16px;
}

/* ── Task wizard ──────────────────────────────────────────────────── */

.tiq-wizard-step { padding: 20px 16px; }
.tiq-wizard-heading { font-size: 18px; font-weight: 700; color: #1b2e1a; margin: 0 0 16px; text-align: center; }
.tiq-wizard-subtext { font-size: 13px; color: #6b7280; text-align: center; margin: 0 0 20px; }

/* Type grid */
.tiq-wizard-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiq-wizard-type-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; border: 1.5px solid #e5e7eb; border-radius: 12px; background: #fff; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.tiq-wizard-type-btn:active, .tiq-wizard-type-btn.selected { border-color: #dd9b36; background: rgba(221,155,54,.08); }
.tiq-wizard-type-btn__icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.05); border-radius: 50%; color: #1b2e1a; }
.tiq-wizard-type-btn__icon svg { width: 18px; height: 18px; }
.tiq-wizard-type-btn__label { font-size: 13px; font-weight: 600; color: #1b2e1a; }

/* Location step */
.tiq-wizard-location-info { text-align: center; padding: 16px; background: #f0fdf4; border-radius: 12px; margin: 0 0 16px; }
.tiq-wizard-location-trail { font-size: 15px; font-weight: 600; color: #166534; display: inline-flex; align-items: center; gap: 6px; }
/* Photo step */
.tiq-wizard-camera-btn { width: 100%; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 2px dashed #d1d5db; border-radius: 16px; background: #f9fafb; cursor: pointer; font-family: inherit; color: #6b7280; font-size: 14px; font-weight: 500; }
.tiq-wizard-camera-btn svg { width: 40px; height: 40px; color: #9ca3af; }

/* Priority buttons */
.tiq-wizard-priority-row { display: flex; gap: 8px; margin: 0 0 16px; }
.tiq-wizard-priority-btn { flex: 1; padding: 10px 4px; border: 1.5px solid #e5e7eb; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 600; text-align: center; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.tiq-wizard-priority-btn.selected { border-color: #dd9b36; background: rgba(221,155,54,.08); color: #dd9b36; }

/* Progress dots */
.tiq-wizard-progress { display: flex; justify-content: center; gap: 8px; padding: 16px 0; }
.tiq-wizard-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; }
.tiq-wizard-dot--active { background: #dd9b36; }

/* Navigation buttons */
.tiq-wizard-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.tiq-wizard-btn-primary { width: 100%; padding: 14px; background: #1b2e1a; color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; }
.tiq-wizard-btn-primary:disabled { opacity: 0.5; }
.tiq-wizard-btn-secondary { width: 100%; padding: 12px; background: #fff; color: #1b2e1a; border: 1.5px solid #e5e7eb; border-radius: 12px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; }
.tiq-wizard-skip { text-align: center; font-size: 13px; color: #6b7280; cursor: pointer; padding: 8px; }
.tiq-wizard-back { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #6b7280; font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* ── Photo editor (edit forms) ────────────────────────────────────── */

.tiq-photo-editor {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.tiq-photo-editor__item {
	position: relative;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}
.tiq-photo-editor__item--new { border-style: dashed; border-color: #2d6a4f; }
.tiq-photo-editor__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tiq-photo-editor__remove {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 50%;
	background: rgba(0,0,0,0.55);
	color: #fff;
	font-size: 13px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	padding: 0;
}
.tiq-photo-editor__add {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px dashed #d1d5db;
	border-radius: 8px;
	cursor: pointer;
	color: #9ca3af;
	transition: border-color 0.15s;
}
.tiq-photo-editor__add:active { border-color: #2d6a4f; color: #2d6a4f; }

/* ── POI edit type toggle buttons ─────────────────────────────────── */

.tiq-poi-edit-types {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.tiq-poi-edit-type-btn {
	padding: 6px 12px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	font-family: inherit;
	color: #374151;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: all 0.15s;
}
.tiq-poi-edit-type-btn:active,
.tiq-poi-edit-type-btn.selected {
	border-color: #dc2626;
	background: rgba(220,38,38,.08);
	color: #dc2626;
}

/* Edit form actions */
.tiq-edit-actions {
	margin-top: 16px;
}
.tiq-edit-danger {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #f3f4f6;
	text-align: center;
}
.tiq-edit-delete-link {
	background: none;
	border: none;
	color: #dc2626;
	font-size: 13px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	padding: 4px 0;
	-webkit-tap-highlight-color: transparent;
}
.tiq-edit-delete-link:active { opacity: 0.6; }
