/* Reusable glass components */
.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.p { padding: 16px 18px; }
.lbl { font-size: 12.5px; color: var(--muted); }
.ib { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; }
.ib:hover { border-color: var(--ac); }
.btn, select, .field {
  height: 36px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--glass);
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; color: var(--text);
}
.btn:hover, select:hover { border-color: var(--ac); }
.btn.primary { background: linear-gradient(135deg, var(--ac), var(--ac2)); color: #fff; border-color: transparent; }
.field { cursor: text; width: 100%; max-width: 360px; outline: none; }
.field:focus { border-color: var(--ac); box-shadow: 0 0 0 3px var(--atm); }
textarea.field { height: auto; padding: 10px 12px; display: block; max-width: 100%; margin-bottom: 8px; }
.linkbtn { background: none; border: 0; padding: 3px 0; color: var(--muted); cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--ac); }
.seg { display: flex; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.seg button.on { background: linear-gradient(135deg, var(--ac), var(--ac2)); color: #fff; }
.chip { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); font-size: 13px; white-space: nowrap; }
.chip b { font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ce); }
.dot.on, .chip.live .dot { background: var(--pe); box-shadow: 0 0 0 4px rgba(18,147,95,.2); }
.tag { margin-left: 8px; padding: 2px 9px; border-radius: 99px; font-size: 12px; background: var(--atm); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
