/* KumaszTo Platforma - design system matching kumaszto.pl brand
   green #5fb74b · teal #008bb6 · gold #d4b25f · ink #2e3d49 */

:root {
  --green: #5fb74b;
  --green-dark: #4a9c38;
  --green-soft: #e6f5e9;
  --teal: #008bb6;
  --teal-dark: #00759a;
  --teal-soft: #e0f2f8;
  --gold: #d4b25f;
  --gold-dark: #b89947;
  --gold-soft: #f7f3e8;
  --ink: #2e3d49;
  --muted: #6b7a86;
  --bg: #f8f6ef;
  --card: #ffffff;
  --line: #e8e3d6;
  --line-soft: #f0ece1;
  --red: #c0392b;
  --red-soft: #fbeae7;
  --amber: #a97a12;
  --amber-soft: #faf1da;
  --sidebar: #26343f;
  --sidebar-line: #35454f;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(46, 61, 73, 0.07), 0 4px 14px rgba(46, 61, 73, 0.04);
  --font: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.ic { vertical-align: -3px; flex: none; }

/* ---------- shell layout ---------- */
.shell { display: flex; min-height: 100vh; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content { flex: 1; width: 100%; max-width: 1140px; margin: 0 auto; padding: 26px 30px 70px; }

/* ---------- sidebar ---------- */
.sidebar {
  width: 240px; flex: none;
  background: var(--sidebar);
  color: #cfd8de;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.side-brand { display: block; padding: 22px 22px 18px; border-bottom: 1px solid var(--sidebar-line); }
.side-brand-name {
  display: block; font-family: var(--font-display);
  font-size: 24px; font-weight: 700; color: #ffffff; letter-spacing: 0.3px;
}
.side-brand-sub {
  display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2.2px; color: var(--gold); margin-top: 2px;
}
.side-nav { flex: 1; padding: 14px 12px; overflow-y: auto; }
.side-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; margin-bottom: 2px;
  border-radius: 9px; color: #cfd8de; font-size: 13.5px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.side-link:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.side-link.active { background: rgba(95, 183, 75, 0.18); color: #ffffff; }
.side-link.active .ic { color: var(--green); }
.side-badge {
  margin-left: auto; background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 999px;
  padding: 1px 7px; line-height: 1.5;
}
.side-foot { padding: 12px; border-top: 1px solid var(--sidebar-line); }
.scrim { display: none; }

/* ---------- topbar ---------- */
.topbar {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-bottom: 1px solid var(--line);
  padding: 10px 22px; position: sticky; top: 0; z-index: 40;
}
.topbar-spacer { flex: 1; }
.burger {
  display: none; background: none; border: none; color: var(--ink);
  cursor: pointer; padding: 6px; border-radius: 8px;
}
.burger:hover { background: var(--line-soft); }
.role-switch {
  display: flex; gap: 4px; background: var(--line-soft);
  border-radius: 999px; padding: 3px;
}
.role-pill {
  padding: 4px 14px; border-radius: 999px; font-size: 12.5px;
  font-weight: 600; color: var(--muted);
}
.role-pill.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.top-bell { position: relative; color: var(--ink); padding: 7px; border-radius: 9px; display: flex; }
.top-bell:hover { background: var(--line-soft); color: var(--ink); }
.bell-badge {
  position: absolute; top: 0; right: 0;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 999px; padding: 0 5px; line-height: 1.6; min-width: 16px; text-align: center;
}
.user-menu { position: relative; }
.user-menu summary {
  list-style: none; display: flex; align-items: center; gap: 10px;
  cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 10px;
}
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover { background: var(--line-soft); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.user-name { font-size: 13px; font-weight: 600; }
.user-role { font-size: 11px; color: var(--muted); }
.user-drop {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 190px; padding: 6px; z-index: 60;
}
.user-drop a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 13.5px;
}
.user-drop a:hover { background: var(--line-soft); }

/* ---------- page head ---------- */
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.page-sub { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.page-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.section-title {
  font-size: 15px; font-weight: 700; margin: 30px 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-title .ic { color: var(--gold-dark); }

/* ---------- cards & stats ---------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-pad { padding: 20px; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.stat-chip {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.chip-green { background: var(--green-soft); color: var(--green-dark); }
.chip-teal { background: var(--teal-soft); color: var(--teal-dark); }
.chip-gold { background: var(--gold-soft); color: var(--gold-dark); }
.chip-red { background: var(--red-soft); color: var(--red); }
.stat-value { font-size: 22px; font-weight: 700; line-height: 1.2; }
.stat-label { font-size: 12px; color: var(--muted); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; background: var(--card); font-size: 14px; }
.tbl th {
  text-align: left; padding: 11px 14px; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.7px; color: var(--muted);
  background: #fbfaf5; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #fcfbf7; }
.tbl .td-main { font-weight: 600; }
.tbl .td-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.tbl .td-actions { text-align: right; white-space: nowrap; }

/* ---------- badges ---------- */
.badge {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  border-radius: 999px; padding: 3px 10px; white-space: nowrap; line-height: 1.5;
}
.badge-green { background: var(--green-soft); color: var(--green-dark); }
.badge-teal { background: var(--teal-soft); color: var(--teal-dark); }
.badge-gold { background: var(--gold-soft); color: var(--gold-dark); }
.badge-gray { background: #eef0f2; color: var(--muted); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  background: var(--line-soft); color: var(--ink);
  font-family: var(--font); font-size: 13.5px; font-weight: 600;
  padding: 9px 16px; text-decoration: none; line-height: 1.4;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: #e7e2d3; color: var(--ink); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--line); }
.btn-outline:hover { background: var(--line-soft); }
.btn-danger { background: transparent; border-color: #ecc8c1; color: var(--red); }
.btn-danger:hover { background: var(--red-soft); color: var(--red); }
.btn-sm { padding: 5px 11px; font-size: 12.5px; border-radius: 8px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- forms ---------- */
.label { display: block; font-size: 12.5px; font-weight: 600; margin: 14px 0 5px; }
.label .req { color: var(--red); }
.input, .select, .textarea {
  width: 100%; font-family: var(--font); font-size: 14px; color: var(--ink);
  background: #fdfcf9; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(95, 183, 75, 0.15);
}
.textarea { min-height: 96px; resize: vertical; }
.help { font-size: 12px; color: var(--muted); margin: 5px 0 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-actions { margin-top: 22px; display: flex; gap: 10px; align-items: center; }
.check { display: flex; gap: 9px; align-items: center; font-size: 13.5px; margin-top: 12px; }
.check input { width: 16px; height: 16px; accent-color: var(--green); }

/* ---------- flash ---------- */
.flash-list { position: fixed; top: 16px; right: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.flash {
  background: var(--ink); color: #fff; font-size: 13.5px;
  border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow);
  animation: flash-in 0.25s ease; border-left: 3px solid var(--gold);
}
.flash-hide { opacity: 0; transition: opacity 0.6s; }
@keyframes flash-in { from { transform: translateY(-8px); opacity: 0; } }

/* ---------- empty states ---------- */
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .ic { color: var(--gold); opacity: 0.8; }
.empty-title { font-weight: 600; color: var(--ink); margin: 12px 0 2px; }
.empty-hint { font-size: 13px; margin: 0; }

/* ---------- stars ---------- */
.stars { display: inline-flex; gap: 1px; }
.star-on { color: var(--gold); }
.star-off { color: #d8d4c8; }

/* ---------- messages ---------- */
.thread { display: flex; flex-direction: column; gap: 10px; padding: 20px; max-height: 60vh; overflow-y: auto; }
.bubble { max-width: 72%; padding: 10px 14px; border-radius: 14px; font-size: 14px; }
.bubble-me { align-self: flex-end; background: var(--green-soft); border-bottom-right-radius: 4px; }
.bubble-them { align-self: flex-start; background: #f1efe7; border-bottom-left-radius: 4px; }
.bubble-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.thread-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.thread-form .textarea { min-height: 44px; flex: 1; }
.msg-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.msg-row:hover { background: #fcfbf7; }
.msg-row:last-child { border-bottom: none; }
.msg-preview { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.msg-when { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }

/* ---------- login ---------- */
.login-split { display: flex; min-height: 100vh; }
.login-brand {
  flex: 1; background: var(--sidebar); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px; position: relative; overflow: hidden;
}
.login-brand::after {
  content: ""; position: absolute; right: -120px; bottom: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 178, 95, 0.25), transparent 70%);
}
.login-brand h1 { font-family: var(--font-display); font-size: 44px; font-weight: 700; }
.login-brand h1 span { color: var(--gold); }
.login-tag { color: #b9c4cc; font-size: 15px; max-width: 380px; margin-top: 14px; }
.login-points { margin: 30px 0 0; padding: 0; list-style: none; }
.login-points li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 14px; color: #dfe6ea; }
.login-points .ic { color: var(--green); }
.login-side { width: 46%; max-width: 560px; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-card { width: 100%; max-width: 380px; }
.login-card h2 { font-family: var(--font-display); font-size: 28px; }
.login-card .sub { color: var(--muted); font-size: 14px; margin: 6px 0 20px; }
.dev-box { margin-top: 28px; border-top: 1px dashed var(--line); padding-top: 16px; }
.dev-box p { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.dev-box .btn { margin: 0 6px 6px 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; font-weight: 600; font-size: 14.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--gold-dark); font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 20px 18px 20px; color: var(--muted); font-size: 14px; }

/* ---------- timeline (progress) ---------- */
.tline { list-style: none; margin: 0; padding: 0; }
.tline li { position: relative; padding: 0 0 22px 26px; border-left: 2px solid var(--line); margin-left: 8px; }
.tline li:last-child { padding-bottom: 4px; }
.tline li::before {
  content: ""; position: absolute; left: -7px; top: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
}
.tline-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 600; font-size: 14px; }
.tline-date { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.tline-body { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* ---------- FullCalendar brand overrides ---------- */
.cal { padding: 18px; }
.fc { font-family: var(--font); font-size: 13.5px; }
.fc .fc-toolbar-title { font-family: var(--font-display); font-size: 20px; text-transform: capitalize; }
.fc .fc-button {
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: 12.5px; border-radius: 8px; padding: 5px 11px;
  text-transform: none; box-shadow: none;
}
.fc .fc-button:hover { background: var(--line-soft); border-color: var(--line); color: var(--ink); }
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active { background: var(--green); border-color: var(--green); color: #fff; }
.fc .fc-daygrid-day.fc-day-today, .fc .fc-timegrid-col.fc-day-today { background: var(--gold-soft); }
.fc .fc-event { border-radius: 6px; border: none; font-size: 12px; padding: 1px 4px; cursor: pointer; }
.fc-ev-scheduled { background: var(--teal); }
.fc-ev-completed { background: var(--green); }
.fc-ev-cancelled_in_time, .fc-ev-cancelled_late { background: #98a3ab; text-decoration: line-through; }
.fc-ev-no_show { background: var(--amber); }
.fc-theme-standard td, .fc-theme-standard th, .fc-theme-standard .fc-scrollgrid { border-color: var(--line-soft); }
.fc .fc-col-header-cell-cushion { color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; }
.fc a { color: var(--ink); }

.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.cal-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- misc ---------- */
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mt-0 { margin-top: 0; }
.mb-20 { margin-bottom: 20px; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.divider { border: none; border-top: 1px solid var(--line-soft); margin: 16px 0; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.note-quote { background: var(--gold-soft); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: 13.5px; }

/* ---------- brand assets & motion (mirrors kumaszto.pl fadeIn/slideUp) ---------- */
.side-logo-chip {
  display: block; background: #ffffff; border-radius: 10px;
  padding: 9px 12px; max-width: 168px;
}
.side-logo { display: block; width: 100%; height: auto; }
.login-logo-wrap {
  display: inline-block; align-self: flex-start; background: #ffffff;
  border-radius: 14px; padding: 16px 22px; margin-bottom: 22px;
}
.login-logo { display: block; width: 216px; height: auto; }
.login-logo-mobile { display: none; width: 178px; height: auto; margin-bottom: 16px; }
.login-frog {
  position: absolute; right: 46px; bottom: 40px; width: 150px; height: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

.content > * { animation: slideUp 0.4s ease both; }
.content > *:nth-child(2) { animation-delay: 0.06s; }
.content > *:nth-child(3) { animation-delay: 0.12s; }
.content > *:nth-child(n+4) { animation-delay: 0.18s; }
.login-card { animation: slideUp 0.45s ease both; }
.login-brand .login-tag, .login-brand .login-points { animation: fadeIn 0.9s ease both; }

.card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(46, 61, 73, 0.10); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 80; height: 100vh;
    transform: translateX(-100%); transition: transform 0.22s ease;
  }
  body.nav-open .sidebar { transform: translateX(0); }
  body.nav-open .scrim {
    display: block; position: fixed; inset: 0; z-index: 70;
    background: rgba(38, 52, 63, 0.45);
  }
  .burger { display: flex; }
  .content { padding: 18px 16px 60px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-side { width: 100%; max-width: none; }
  .login-logo-mobile { display: block; }
  .user-meta { display: none; }
  .page-head h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .role-switch { display: none; }
  .bubble { max-width: 88%; }
}

/* ---------- admin: family columns + internal notes (users list) ---------- */
.fam-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 2px 0; }
.fam-name { font-weight: 600; }
.tel-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--green-soft); color: var(--green-dark);
  font-weight: 600; font-size: 12.5px; white-space: nowrap;
  border-radius: 999px; padding: 3px 10px;
}
.tel-chip:hover { background: var(--green); color: #fff; }
.mail-chip { font-size: 14px; text-decoration: none; opacity: .75; }
.mail-chip:hover { opacity: 1; }

.note-toggle.has-notes { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-dark); }
.notes-row td { background: var(--gold-soft); padding: 14px 18px; }
.notes-head { font-weight: 700; font-size: 13.5px; margin-bottom: 10px; }
.notes-privacy {
  font-weight: 600; font-size: 11px; color: var(--amber);
  background: var(--amber-soft); border-radius: 999px; padding: 2px 9px; margin-left: 8px;
}
.note-item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 9px; padding: 9px 12px; margin-bottom: 8px;
}
.note-meta { font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.note-body { font-size: 13.5px; white-space: pre-line; }
.note-del {
  border: 0; background: none; cursor: pointer; color: var(--muted);
  font-size: 13px; padding: 2px 6px; border-radius: 6px; line-height: 1;
}
.note-del:hover { color: var(--red); background: var(--red-soft); }
.note-form { display: flex; gap: 8px; align-items: flex-start; }
.note-form textarea {
  flex: 1; min-height: 46px; resize: vertical;
  border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 11px; font: inherit; font-size: 13.5px; background: var(--card);
}
.note-form textarea:focus { outline: 2px solid var(--teal-soft); border-color: var(--teal); }

/* copyable e-mails (admin lists) */
.mail-copy { display: inline-flex; align-items: center; gap: 5px; overflow-wrap: anywhere; }
.copy-btn {
  border: 0; background: none; cursor: pointer;
  font-size: 12px; line-height: 1; padding: 3px 5px;
  border-radius: 6px; opacity: .55;
}
.copy-btn:hover { opacity: 1; background: var(--teal-soft); }
.copy-btn.copied { opacity: 1; background: var(--green-soft); color: var(--green-dark); font-weight: 700; }

/* users list: strict column alignment (phones/emails in straight lines) */
.users-tbl th, .users-tbl td { vertical-align: top; }
.users-tbl td { padding-top: 12px; padding-bottom: 12px; }
.users-tbl .cell-line { display: flex; align-items: center; min-height: 26px; }
.users-tbl .cell-line + .cell-line { margin-top: 4px; }
.users-tbl .tel-chip { font-variant-numeric: tabular-nums; }
.users-tbl .td-actions, .users-tbl td:last-child { text-align: right; }
