/* Folder picker styling */
.folder-picker {
  background: #fff;
  border: 1px solid #e3e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 33, 0.10);
  width: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.folder-picker--inline {
  box-shadow: none;
  width: 100%;
}
.folder-picker__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid #eceef1;
}
.folder-picker__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f4f6f8;
  border-radius: 6px;
  padding: 6px 10px;
}
.folder-picker__search input {
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 13px;
  flex: 1;
  color: #1a1d21;
}
.folder-picker__hint {
  font-size: 11px;
  color: #6b7480;
  padding: 6px 12px;
  background: #fafbfc;
  border-bottom: 1px solid #eceef1;
}
.folder-picker__list {
  flex: 1;
  overflow: auto;
  max-height: 280px;
  padding: 4px 0;
}
.folder-picker__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: #1a1d21;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-std);
}
.folder-picker__row:hover { background: #f4f6f8; }
.folder-picker__row--selected { background: var(--assh-teal-c); color: var(--assh-teal-dark); }
.folder-picker__row--selected:hover { background: var(--assh-teal-c); }
.folder-picker__name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folder-picker__count {
  font-size: 11px;
  color: #93a0aa;
  font-variant-numeric: tabular-nums;
}
.folder-picker__row--selected .folder-picker__count { color: var(--assh-teal-dark); }
.folder-picker__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-top: 1px solid #eceef1;
  background: #fafbfc;
}
.folder-picker__skeleton { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.folder-picker__skel-row {
  height: 12px;
  background: linear-gradient(90deg, #eceef1, #f4f6f8, #eceef1);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: skel 1.4s ease-in-out infinite;
}
@keyframes skel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.folder-picker__empty { padding: 24px 16px; text-align: center; color: #93a0aa; font-size: 13px; }

/* "field with dropdown" composition used in rule editor / settings */
.combo-dropdown {
  position: relative;
}
.combo-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
}
.combo-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #d9dde2;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font: inherit;
  font-size: 13.5px;
  color: #1a1d21;
  text-align: left;
  transition: border-color var(--dur-fast) var(--ease-std);
}
.combo-trigger:hover { border-color: #c5cbd2; }
.combo-trigger--open { border-color: var(--accent-color, var(--assh-teal)); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-color, var(--assh-teal)) 18%, transparent); }
.combo-trigger__icon { color: #6b7480; }
.combo-trigger__path {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.combo-trigger__path span:not(:last-child)::after {
  content: " /";
  color: #c5cbd2;
  margin-right: 4px;
}
.combo-trigger__placeholder { color: #93a0aa; font-style: italic; }
.combo-trigger__chev { color: #93a0aa; margin-left: auto; }
