/* ==========================================================================
   NESPL Portal — Super Admin · Complaint Management
   Every class is namespaced .sac- to avoid the silent collisions documented
   in HANDOFF.md §3.1. Entrance animation is CSS-only (§3.2) — no data-reveal.
   ========================================================================== */

@keyframes sacRise  { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform:none; } }
@keyframes sacPop   { from { opacity:0; transform: scale(.96); }       to { opacity:1; transform:none; } }
@keyframes sacFade  { from { opacity:0; }                              to { opacity:1; } }
@keyframes sacMsg   { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform:none; } }

.sac-in    { animation: sacRise .45s cubic-bezier(.2,.8,.2,1) both; }
.sac-in-2  { animation: sacRise .45s cubic-bezier(.2,.8,.2,1) .08s both; }
.sac-in-3  { animation: sacRise .45s cubic-bezier(.2,.8,.2,1) .16s both; }

/* ---------- Hero ---------- */
.sac-hero {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.4rem); margin-bottom: 1.4rem; color: #fff;
  background: linear-gradient(125deg, #1e3a8a 0%, #2563eb 45%, #4f46e5 100%);
}
.sac-hero::after {
  content: ""; position: absolute; inset: auto -60px -120px auto;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
  pointer-events: none;
}
.sac-hero__in {
  position: relative; z-index: 1; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1.6rem; flex-wrap: wrap;
}
.sac-hero__text { min-width: 0; flex: 1 1 340px; }
.sac-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.86); background: rgba(255,255,255,.14);
  padding: .34rem .78rem; border-radius: 999px; margin-bottom: .85rem;
}
.sac-hero h1 {
  color: #fff; font-size: clamp(1.45rem, 3vw, 2.05rem);
  margin: 0 0 .45rem; letter-spacing: -.02em;
}
.sac-hero p { color: rgba(255,255,255,.84); margin: 0; max-width: 56ch; font-size: .95rem; }

.sac-hero__stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.5rem; }
.sac-hero__stat b {
  display: block; font-family: var(--font-display); font-size: 1.7rem;
  font-weight: 700; line-height: 1.1; color: #fff;
}
.sac-hero__stat span {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .09em;
  color: rgba(255,255,255,.72); font-weight: 600;
}

.sac-hero__cta {
  display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto;
  background: #fff; color: var(--blue-700); border: none;
  font-family: var(--font-display); font-weight: 600; font-size: .93rem;
  padding: .8rem 1.4rem; border-radius: 12px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(8,20,54,.24);
  transition: transform .18s ease, box-shadow .25s ease;
}
.sac-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(8,20,54,.32); }

/* ---------- Tab strip ---------- */
.sac-tabs {
  display: flex; gap: .4rem; background: var(--blue-50);
  padding: .4rem; border-radius: var(--radius); margin-bottom: 1.3rem;
  overflow-x: auto; scrollbar-width: none;
}
.sac-tabs::-webkit-scrollbar { display: none; }
.sac-tab {
  display: inline-flex; align-items: center; gap: .6rem; flex: 1 1 auto;
  justify-content: center; white-space: nowrap;
  padding: .82rem 1.5rem; border: none; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  letter-spacing: .02em; color: var(--blue-700); border-radius: 13px;
  transition: background .2s ease, color .2s ease, box-shadow .25s ease;
}
.sac-tab i { font-size: 1.05rem; }
.sac-tab:hover { background: rgba(37,99,235,.09); }
.sac-tab[aria-selected="true"] {
  background: var(--grad-blue); color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,.28);
}
.sac-tab[aria-selected="true"]:hover { background: var(--grad-blue); }

/* ---------- Toolbar: search + date range + filters ---------- */
.sac-tools {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.05rem 1.15rem; margin-bottom: 1.2rem;
  box-shadow: var(--shadow-xs);
}
.sac-tools__row {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .85rem;
}
.sac-tools__row + .sac-tools__row {
  margin-top: .95rem; padding-top: .95rem; border-top: 1px dashed var(--line);
}

.sac-fld { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.sac-fld > label {
  font-size: .7rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
}
.sac-fld--grow { flex: 1 1 260px; }
.sac-fld--date { flex: 0 1 168px; }
.sac-fld--pick { flex: 0 1 178px; }

.sac-search { position: relative; }
.sac-search > i {
  position: absolute; left: .95rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .95rem; pointer-events: none;
}
.sac-search input {
  width: 100%; padding: .68rem .95rem .68rem 2.5rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--body);
  font-family: var(--font-body); font-size: .9rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.sac-search input:focus {
  outline: none; border-color: var(--blue-400);
  box-shadow: var(--ring); background: #fff;
}

.sac-input, .sac-select {
  width: 100%; padding: .66rem .85rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--body);
  font-family: var(--font-body); font-size: .89rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.sac-input:focus, .sac-select:focus {
  outline: none; border-color: var(--blue-400); box-shadow: var(--ring); background: #fff;
}
.sac-select {
  appearance: none; padding-right: 2.1rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235b6b84'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 13px;
}
.sac-input[type="date"] { cursor: pointer; min-width: 0; }
.sac-input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
.sac-input[type="date"]:hover::-webkit-calendar-picker-indicator { opacity: 1; }

.sac-dash {
  align-self: center; color: var(--muted); font-weight: 700;
  padding-bottom: .55rem; flex: 0 0 auto;
}

.sac-reset {
  display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto;
  padding: .66rem 1.05rem; border: 1px solid var(--line);
  background: #fff; color: var(--muted); cursor: pointer;
  border-radius: var(--radius-sm); font-family: var(--font-display);
  font-weight: 600; font-size: .84rem;
  transition: border-color .2s, color .2s, background .2s;
}
.sac-reset:hover { border-color: var(--blue-200); color: var(--blue-700); background: var(--blue-50); }

.sac-export {
  display: inline-flex; align-items: center; gap: .5rem; flex: 0 0 auto;
  padding: .68rem 1.2rem; border: none; cursor: pointer;
  background: var(--grad-orange); color: #fff; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  box-shadow: 0 8px 20px rgba(249,115,22,.28);
  transition: transform .18s ease, box-shadow .25s ease;
}
.sac-export:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(249,115,22,.36); }

/* Quick date presets */
.sac-presets { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.sac-presets__lbl {
  font-size: .7rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); margin-right: .2rem;
}
.sac-preset {
  padding: .34rem .78rem; border: 1px solid var(--line); background: #fff;
  color: var(--body); border-radius: 999px; cursor: pointer;
  font-size: .78rem; font-weight: 600; font-family: var(--font-body);
  transition: all .2s ease;
}
.sac-preset:hover { border-color: var(--blue-200); background: var(--blue-50); color: var(--blue-700); }
.sac-preset[aria-pressed="true"] {
  background: var(--blue-600); border-color: var(--blue-600); color: #fff;
}

/* Active-filter summary chips */
.sac-active { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: .85rem; }
.sac-active:empty { display: none; }
.sac-achip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-700); border-radius: 999px;
  padding: .28rem .5rem .28rem .78rem; font-size: .78rem; font-weight: 600;
  animation: sacPop .25s ease both;
}
.sac-achip button {
  border: none; background: rgba(37,99,235,.14); color: var(--blue-700);
  width: 18px; height: 18px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .7rem; line-height: 1; transition: background .2s, color .2s;
}
.sac-achip button:hover { background: var(--blue-600); color: #fff; }

/* ---------- Data panel + table ---------- */
.sac-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.sac-scroll { overflow-x: auto; }
.sac-table { width: 100%; border-collapse: collapse; font-size: .89rem; }
.sac-table thead th {
  background: var(--grad-green); color: #fff; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .95rem .8rem; white-space: nowrap; border: none;
}
.sac-table thead th:first-child  { border-top-left-radius: 0; }
.sac-table tbody td {
  padding: .95rem .8rem; border-bottom: 1px solid var(--line-2);
  color: var(--body); vertical-align: middle;
}

/* The Action column stays pinned to the right edge. Below ~1100px seven
   columns cannot fit, and .sac-scroll starts scrolling -- without this the
   primary actions scroll out of reach and the table just looks clipped. */
.sac-table thead th:last-child,
.sac-table tbody td:last-child {
  position: sticky; right: 0; z-index: 2;
  box-shadow: -8px 0 12px -8px rgba(20,42,94,.18);
}
.sac-table tbody td:last-child { background: #fff; }
.sac-table tbody tr:nth-child(even) td:last-child { background: #f7faff; }
.sac-table tbody tr:hover td:last-child { background: var(--blue-50); }
.sac-table tbody tr:nth-child(even) { background: #f7faff; }
.sac-table tbody tr:hover { background: var(--blue-50); }
.sac-table tbody tr:last-child td { border-bottom: none; }
.sac-cell-k { display: none; }

.sac-date { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
/* `word-break: break-word` here split addresses mid-word once the 7-column
   table tightened at 1440 ("soniya@pin / nacledigital.i / n"). Column
   min-widths keep them readable; the panel scrolls instead of mangling text. */
.sac-email { color: var(--blue-600); overflow-wrap: break-word; }
.sac-col-email { min-width: 176px; }
.sac-col-who   { min-width: 164px; }
.sac-regard { min-width: 184px; }
.sac-tell { min-width: 240px; color: var(--body); }
.sac-name { color: var(--ink); font-weight: 500; overflow-wrap: break-word; }
.sac-blank { color: var(--muted); font-style: italic; font-size: .84rem; }

/* User-type tag */
.sac-utype {
  display: inline-block; padding: .26rem .66rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.sac-utype--candidate { background: var(--blue-50);   color: var(--blue-700); }
.sac-utype--industry  { background: var(--orange-soft); color: #c2410c; }
.sac-utype--institute { background: #f1eaff;          color: #6d28d9; }

/* Status pill */
.sac-status {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .72rem; border-radius: 999px; white-space: nowrap;
  font-size: .76rem; font-weight: 700; text-transform: capitalize;
}
.sac-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sac-status--pending  { background: #fee2e2; color: #b91c1c; }
.sac-status--progress { background: #fef3c7; color: #b45309; }
.sac-status--closed   { background: var(--green-soft); color: #15803d; }

/* Rating stars */
.sac-rate { display: inline-flex; align-items: center; gap: .12rem; white-space: nowrap; }
.sac-rate i { font-size: .82rem; color: #fbbf24; }
.sac-rate i.sac-rate--off { color: #dbe2ee; }
.sac-rate b { margin-left: .35rem; font-size: .8rem; color: var(--ink); font-weight: 700; }

/* Action buttons */
.sac-acts { display: flex; gap: .4rem; align-items: center; }
.sac-btn {
  position: relative; width: 34px; height: 34px; border: none; cursor: pointer;
  border-radius: 9px; color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: .92rem;
  transition: transform .18s ease, box-shadow .25s ease, filter .2s;
}
.sac-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.sac-btn--reply { background: var(--grad-blue);   box-shadow: 0 5px 14px rgba(37,99,235,.32); }
.sac-btn--view  { background: var(--grad-green);  box-shadow: 0 5px 14px rgba(22,163,74,.30); }
.sac-btn--note  { background: var(--grad-orange); box-shadow: 0 5px 14px rgba(249,115,22,.30); }
.sac-btn__n {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: #dc2626; color: #fff;
  font-size: .62rem; font-weight: 700; line-height: 17px; text-align: center;
  border: 2px solid #fff; box-sizing: content-box;
}

/* Empty state */
.sac-empty { padding: 3.4rem 1.5rem; text-align: center; animation: sacFade .3s ease both; }
.sac-empty__ico {
  width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.sac-empty h6 { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; margin: 0 0 .35rem; }
.sac-empty p { color: var(--muted); margin: 0 0 1.1rem; font-size: .9rem; }

/* Footer: per-page, count, pager */
.sac-foot {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .95rem 1.15rem; border-top: 1px solid var(--line); background: var(--surface-2);
}
.sac-foot__per { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--muted); }
.sac-foot__per select {
  padding: .34rem 1.7rem .34rem .6rem; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--body);
  font-size: .84rem; font-family: var(--font-body); cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235b6b84'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .5rem center; background-size: 12px;
}
.sac-foot__count { margin-left: auto; font-size: .84rem; color: var(--muted); }
.sac-pager { display: flex; gap: .3rem; align-items: center; }
.sac-pager button {
  min-width: 34px; height: 34px; padding: 0 .55rem; border: 1px solid var(--line);
  background: #fff; color: var(--body); border-radius: 9px; cursor: pointer;
  font-size: .84rem; font-weight: 600; font-family: var(--font-body);
  transition: all .18s ease;
}
.sac-pager button:hover:not(:disabled) { border-color: var(--blue-400); color: var(--blue-700); transform: translateY(-1px); }
.sac-pager button[aria-current="page"] { background: var(--grad-blue); border-color: transparent; color: #fff; }
.sac-pager button:disabled { opacity: .42; cursor: not-allowed; }

/* ---------- Conversation / thread view ---------- */
.sac-thread { animation: sacRise .4s cubic-bezier(.2,.8,.2,1) both; }
.sac-thread__head {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1.1rem;
  box-shadow: var(--shadow-xs);
}
.sac-thread__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.sac-thread__head h2 {
  font-size: 1.15rem; color: var(--blue-700); margin: 0 0 .9rem;
  letter-spacing: .01em; text-transform: uppercase; font-size: 1rem;
}
.sac-meta { display: flex; flex-wrap: wrap; gap: .35rem 2rem; }
.sac-meta__k {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .18rem;
}
.sac-meta__v { color: var(--ink); font-weight: 600; font-size: .94rem; word-break: break-word; }

.sac-count-line {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: 1rem; margin-bottom: 1rem;
}
.sac-count-line i { color: var(--blue-600); }

.sac-msgs {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-xs);
}
.sac-msg { display: flex; gap: .9rem; padding: .95rem 0; animation: sacMsg .35s ease both; }
.sac-msg + .sac-msg { border-top: 1px dashed var(--line); }
.sac-msg__av {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  color: #fff; background: var(--grad-blue); letter-spacing: .02em;
}
.sac-msg--admin .sac-msg__av { background: var(--grad-orange); }
.sac-msg__main { min-width: 0; flex: 1 1 auto; }
.sac-msg__head {
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: .3rem;
}
.sac-msg__who { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .93rem; }
.sac-msg__role {
  font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .14rem .48rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-700);
}
.sac-msg--admin .sac-msg__role { background: var(--orange-soft); color: #c2410c; }
.sac-msg__time { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; white-space: nowrap; }
.sac-msg__body { color: var(--body); font-size: .92rem; margin: 0; line-height: 1.62; word-break: break-word; }
.sac-msg__sign { display: block; margin-top: .5rem; font-size: .82rem; color: var(--muted); font-style: italic; }

.sac-reply { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sac-reply textarea {
  width: 100%; min-height: 108px; resize: vertical; padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--body);
  font-family: var(--font-body); font-size: .92rem; line-height: 1.6;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.sac-reply textarea:focus { outline: none; border-color: var(--blue-400); box-shadow: var(--ring); background: #fff; }
.sac-reply__row { display: flex; gap: .6rem; justify-content: flex-end; margin-top: .8rem; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.sac-modal {
  position: fixed; inset: 0; z-index: 1200; display: none;
  align-items: center; justify-content: center; padding: 1.2rem;
  background: rgba(9,18,44,.55); backdrop-filter: blur(3px);
}
.sac-modal.sac-open { display: flex; animation: sacFade .2s ease both; }
.sac-modal__card {
  background: #fff; border-radius: var(--radius); width: min(560px, 100%);
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: sacPop .28s cubic-bezier(.2,.8,.2,1) both;
}
.sac-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--line);
}
.sac-modal__head h3 { margin: 0; font-size: 1.08rem; color: var(--ink); }
.sac-modal__x {
  border: none; background: var(--surface-2); color: var(--muted);
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background .2s, color .2s;
}
.sac-modal__x:hover { background: #fee2e2; color: var(--red); }
.sac-modal__body { padding: 1.3rem 1.4rem; }
.sac-modal__foot {
  display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap;
  padding: 1.05rem 1.4rem; border-top: 1px solid var(--line); background: var(--surface-2);
}

/* Toast */
.sac-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: .8rem 1.3rem; border-radius: 12px;
  font-size: .89rem; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  z-index: 1400; max-width: calc(100vw - 2rem);
}
.sac-toast.sac-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sac-fld--date { flex: 1 1 150px; }
  .sac-fld--pick { flex: 1 1 160px; }
}

@media (max-width: 900px) {
  .sac-table, .sac-table tbody, .sac-table tr, .sac-table td { display: block; }
  .sac-table, .sac-table tbody, .sac-table td { width: 100%; }
  .sac-table thead { display: none; }
  .sac-scroll { overflow-x: visible; }
  .sac-table tbody { padding: .8rem; }
  .sac-table tbody tr {
    width: auto; border: 1px solid var(--line); border-radius: 16px;
    margin: 0 0 .8rem; padding: .3rem 0; background: #fff;
  }
  .sac-table tbody tr:nth-child(even) { background: #fff; }
  .sac-table tbody tr:last-child { margin-bottom: 0; }
  .sac-table tbody tr:hover { background: #fff; }
  .sac-table tbody td { border-bottom: 1px dashed var(--line); padding: .7rem 1rem; }
  /* Cards stack full width, so the pinned action column is unwound here. */
  .sac-table thead th:last-child,
  .sac-table tbody td:last-child {
    position: static; box-shadow: none; border-bottom: none; background: transparent;
  }
  .sac-table tbody tr:nth-child(even) td:last-child,
  .sac-table tbody tr:hover td:last-child { background: transparent; }
  .sac-cell-k {
    display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted); font-weight: 700; margin-bottom: .35rem;
  }
  .sac-regard, .sac-tell, .sac-col-email, .sac-col-who { min-width: 0; }
  .sac-acts { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .sac-hero__in { flex-direction: column; align-items: stretch; }
  .sac-hero__cta { width: 100%; justify-content: center; }
  .sac-hero__stats { gap: 1.3rem; }
  .sac-hero__stat b { font-size: 1.4rem; }
  .sac-tab { padding: .72rem .9rem; font-size: .8rem; flex: 1 0 auto; }
  .sac-fld--grow, .sac-fld--date, .sac-fld--pick { flex: 1 1 100%; }
  .sac-dash { display: none; }
  .sac-reset, .sac-export { flex: 1 1 100%; justify-content: center; }
  .sac-foot__count { order: 3; flex: 1 1 100%; text-align: left; margin-left: 0; }
  .sac-msg__time { margin-left: 0; flex: 1 1 100%; }
  .sac-reply__row .btn { width: 100%; }
  .sac-meta { gap: .9rem 1.2rem; }
}

@media (max-width: 400px) {
  .sac-msg { gap: .65rem; }
  .sac-msg__av { width: 36px; height: 36px; font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sac-in, .sac-in-2, .sac-in-3, .sac-msg, .sac-empty, .sac-thread,
  .sac-modal.sac-open, .sac-modal__card, .sac-achip { animation: none; }
  .sac-hero__cta, .sac-btn, .sac-pager button, .sac-export, .sac-preset { transition: none; }
  .sac-hero__cta:hover, .sac-btn:hover, .sac-export:hover,
  .sac-pager button:hover:not(:disabled) { transform: none; }
}
