/* components.css — componenti condivisi dello shell admin (base.html).
   Le classi del portale dipendente (.portal-*) restano nel proprio template. */

/* Icone inline (macro icon()) */
.icon {
  display: inline-block;
  vertical-align: -0.15em;
  flex: none;
}
.icon-muted { color: var(--muted); }

/* Card */
.card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms var(--ease);
  line-height: 1;
}
.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--body-strong);
  border: 1px solid var(--hairline-strong);
  border-radius: 9999px;
  padding: 9px 19px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 120ms var(--ease), color 120ms var(--ease), background 120ms var(--ease);
  line-height: 1;
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface-strong);
}

/* Destructive button (Phase 11 — delete override) */
.btn-destructive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms var(--ease);
  line-height: 1;
}
.btn-destructive:hover { background: #fef2f2; }

.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Flash messages */
.flash-error {
  background: #fef2f2;
  border: 1px solid var(--error);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--error);
  font-size: 13px;
  margin-bottom: 20px;
}

.flash-success {
  background: #f0fdf4;
  border: 1px solid var(--success);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--success);
  font-size: 13px;
  margin-bottom: 20px;
}

/* Warning badge */
.warn-badge {
  display: inline-flex;
  align-items: center;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  gap: 24px;
  overflow: visible; /* ensure mobile nav is not clipped by sticky ancestor on Safari/iOS */
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.topbar-logo {
  height: 32px;
  width: auto;
  display: block;
}

.topbar-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}

.topbar-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 120ms var(--ease), background 120ms var(--ease);
}

.topbar-nav a:hover { color: var(--ink); background: var(--surface-strong); }
.topbar-nav a.active { color: var(--ink); }

.scheduling-subnav {
  display: flex;
  gap: 2px;
  padding: 0 24px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.scheduling-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.scheduling-subnav a:hover { color: var(--ink); }
.scheduling-subnav a.active { color: var(--ink); border-bottom-color: var(--ink); }

.topbar-logout {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-soft);
  text-decoration: none;
  padding: 6px 12px;
  border-left: 1px solid var(--hairline);
  margin-left: 8px;
  transition: color 120ms var(--ease);
}
.topbar-logout:hover { color: var(--body); }

/* Pending-requests count badge in nav */
.nav-badge {
  display: inline-block;
  background: var(--error);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 9999px;
  padding: 2px 7px;
  margin-left: 4px;
  line-height: 1.4;
  vertical-align: middle;
}

/* Pulsing dot on the Generazione nav item while a bulk run is in progress. */
.nav-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 9999px;
  background: var(--success, #16a34a);
  vertical-align: middle;
  animation: nav-dot-pulse 1.4s ease-in-out infinite;
}
@keyframes nav-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dot { animation: none; }
}

/* Hamburger — hidden on desktop */
.topbar-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

/* Mobile nav panel — always rendered, Alpine controls visibility */
.topbar-mobile-nav {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: 8px 0;
  z-index: 99;
}

.topbar-mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.topbar-mobile-nav a:hover,
.topbar-mobile-nav a.active {
  color: var(--ink);
  background: var(--surface-strong);
}

.topbar-nav a:focus-visible,
.topbar-mobile-nav a:focus-visible,
.topbar-logout:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .topbar-nav { display: none; }
  .topbar-hamburger { display: flex; }
  .topbar { padding: 0 16px; }
}

/* ---- Dashboard / store cards (riusati anche nella scheda negozio) ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.store-card { display: flex; flex-direction: column; gap: 14px; }
.store-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.store-card-name {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.store-card-name .icon { color: var(--muted); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 9999px; white-space: nowrap;
}
.badge-published { background: var(--status-published); color: var(--status-published-text); }
.badge-draft { background: var(--surface-strong); color: var(--muted); }
.badge-absent { background: #fef2f2; color: var(--error); }

.stat-row { display: flex; gap: 24px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted-soft);
}
.stat-value {
  font-size: 20px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat-value small { font-size: 13px; font-weight: 500; color: var(--muted); }

.meter { height: 6px; border-radius: 9999px; background: var(--surface-strong); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 9999px; background: var(--ink); transition: width 0.5s var(--ease); }
.meter-fill.good { background: var(--cov-green); }
.meter-fill.warn { background: var(--cov-yellow); }
.meter-fill.bad { background: var(--cov-red); }

.store-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.store-card-actions .btn-ghost,
.store-card-actions .btn-primary { flex: 1; justify-content: center; font-size: 14px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* Month selector */
.month-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.month-nav .month-label {
  font-size: 15px; font-weight: 600; color: var(--ink); min-width: 150px; text-align: center;
}
.month-nav a.month-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9999px;
  border: 1px solid var(--hairline-strong); color: var(--body-strong); text-decoration: none;
  transition: background 0.12s var(--ease), border-color 0.12s var(--ease), color 0.12s var(--ease);
}
.month-nav a.month-btn:hover { background: var(--surface-strong); border-color: var(--ink); color: var(--ink); }

/* ---- Store detail: quick actions, coverage summary, schedule ---- */
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.cov-dots { display: flex; gap: 18px; flex-wrap: wrap; }
.cov-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--body); }
.cov-dot .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.cov-dot .dot.green { background: var(--cov-green); }
.cov-dot .dot.yellow { background: var(--cov-yellow); }
.cov-dot .dot.red { background: var(--cov-red); }
.cov-dot .dot.closed { background: var(--hairline-strong); }

/* Segmented control */
.seg-group { display: inline-flex; background: var(--surface-strong); border-radius: 9999px; padding: 3px; gap: 2px; }
.seg {
  border: none; background: transparent; font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--muted); padding: 6px 16px; border-radius: 9999px; cursor: pointer;
  transition: background 0.12s var(--ease), color 0.12s var(--ease);
}
.seg:hover { color: var(--ink); }
.seg.active { background: var(--surface-card); color: var(--ink); box-shadow: var(--shadow-sm); }

.sched-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-bottom: 14px;
}
.sched-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.sched-navbtns { display: flex; align-items: center; gap: 6px; }

/* Schedule table */
.sched-scroll { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 12px; }
.sched-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.sched-table th, .sched-table td {
  border-bottom: 1px solid var(--hairline); border-right: 1px solid var(--hairline); text-align: center;
}
.sched-table thead th {
  background: var(--canvas-soft); font-weight: 600; color: var(--muted);
  padding: 6px 4px; font-size: 11px; line-height: 1.25; white-space: nowrap;
}
.sched-table thead th .dnum { display: block; font-size: 13px; color: var(--ink); }
.sched-emp {
  position: sticky; left: 0; background: var(--surface-card); text-align: left !important;
  padding: 8px 12px !important; font-weight: 500; color: var(--ink); white-space: nowrap;
  min-width: 150px; z-index: 1;
}
.sched-col-weekend { background: var(--hub-weekend); }
.sched-col-closure { background: var(--hub-closure); }
.sched-col-out { opacity: 0.45; }
.sched-cell { padding: 5px 4px; }
.sched-chip {
  display: inline-block; min-width: 22px; padding: 3px 7px; border-radius: 6px;
  font-weight: 600; font-size: 12px; line-height: 1.3; white-space: nowrap;
}
.sched-chip.work { background: var(--shift-work); color: var(--shift-work-text); }
.sched-chip.rest { background: var(--shift-rest); color: var(--shift-rest-text); }
.sched-chip.absence { background: var(--shift-absence); color: var(--shift-absence-text); }
.sched-empty { color: var(--muted-soft); }

/* Editable calendar cells */
.sched-cell.editable { cursor: pointer; transition: background 0.1s var(--ease), box-shadow 0.1s var(--ease); }
.sched-cell.editable:hover { background: var(--surface-strong); box-shadow: inset 0 0 0 2px var(--hairline-strong); }
.sched-cell.editable:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.sched-add { color: var(--muted-soft); display: inline-flex; opacity: 0; transition: opacity 0.1s var(--ease); }
.sched-cell.editable:hover .sched-add,
.day-row.editable:hover .sched-add { opacity: 1; }
.day-row.editable { cursor: pointer; transition: border-color 0.1s var(--ease), background 0.1s var(--ease); }
.day-row.editable:hover { border-color: var(--hairline-strong); background: var(--canvas-soft); }

/* ---- Gantt timeline (week/day views) ---- */
.gantt-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gantt-axis-hint { font-size: 11px; color: var(--muted-soft); letter-spacing: 0.03em; margin-bottom: 10px; }

.gantt-bar {
  position: absolute; top: 5px; bottom: 5px; border-radius: 6px;
  display: inline-flex; align-items: center; padding: 0 7px;
  font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gantt-lbl {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
/* Per-type colours (evoke the previous Gantt palette) */
.gantt-bar.mattina,    .gantt-lbl.mattina    { background: #f3d9a4; color: #6b4e16; }
.gantt-bar.pomeriggio, .gantt-lbl.pomeriggio { background: #bcd4ef; color: #1e3a5f; }
.gantt-bar.giornata,   .gantt-lbl.giornata   { background: #a9e2c0; color: #14603a; }
.gantt-bar.serale,     .gantt-lbl.serale     { background: #6f5fb0; color: #ffffff; }
.gantt-lbl.riposo   { background: #ececec; color: var(--muted); }
.gantt-lbl.ferie, .gantt-lbl.permesso, .gantt-lbl.rol { background: #d9c6ec; color: #4a2d6b; }
.gantt-bar.malattia, .gantt-lbl.malattia { background: #eaa8a8; color: #7a1f1f; }

/* Day timeline */
.gantt-day { border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; min-width: 720px; }
.gantt-day-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--hairline); }
.gantt-day-row:last-child { border-bottom: none; }
.gantt-day-name {
  width: 170px; flex: none; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; border-right: 1px solid var(--hairline); background: var(--surface-card);
}
.gantt-day-track { position: relative; flex: 1; min-height: 42px; }
.gantt-day-ruler { min-height: 26px; background: var(--canvas-soft); }
.gantt-day-ruler .gantt-day-name { background: var(--canvas-soft); color: var(--muted); font-size: 11px; font-weight: 600; }
.gantt-day-ruler .gantt-day-track { min-height: 26px; }
.gantt-tick { position: absolute; top: 50%; transform: translate(-50%, -50%); font-size: 10px; font-weight: 600; color: var(--muted-soft); }
.gantt-day-row.editable { cursor: pointer; transition: background 0.1s var(--ease); }
.gantt-day-row.editable:hover { background: var(--canvas-soft); }
.gantt-empty { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: var(--muted-soft); opacity: 0; transition: opacity 0.1s var(--ease); }
.gantt-day-row.editable:hover .gantt-empty, .gantt-wcell.editable:hover .gantt-empty { opacity: 1; }

/* Week Gantt grid */
.gantt-week td.gantt-wcell { position: relative; height: 40px; min-width: 128px; padding: 0; cursor: pointer; }
.gantt-week td.gantt-wcell.editable:hover { background: var(--surface-strong); }

/* Day view list */
.day-list { display: flex; flex-direction: column; gap: 6px; }
.day-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface-card);
}
.day-row .emp { font-weight: 500; color: var(--ink); }

/* Employee mini-list */
.emp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.emp-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--hairline); border-radius: 10px; text-decoration: none;
  transition: border-color 0.12s var(--ease), background 0.12s var(--ease);
}
.emp-item:hover { border-color: var(--hairline-strong); background: var(--canvas-soft); }
.emp-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--surface-strong); color: var(--muted); display: inline-flex;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
}
.emp-item .emp-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.emp-item .emp-meta { font-size: 12px; color: var(--muted); }

/* ---- Solver generation loader ---- */
.solver-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-sm); margin-bottom: 8px;
}
.solver-spinner {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  border: 3px solid var(--surface-strong); border-top-color: var(--ink);
  animation: solver-spin 0.8s linear infinite;
}
@keyframes solver-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .solver-spinner { animation-duration: 2s; } }

.solver-body { flex: 1; min-width: 0; }
.solver-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.solver-stage { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.solver-bar { height: 8px; border-radius: 9999px; background: var(--surface-strong); overflow: hidden; }
.solver-bar-fill {
  height: 100%; border-radius: 9999px;
  background: linear-gradient(90deg, var(--body-strong), var(--ink));
  transition: width 0.9s var(--ease);
  position: relative;
}
@media (prefers-reduced-motion: no-preference) {
  .solver-bar-fill::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: solver-shimmer 1.4s ease-in-out infinite;
  }
  @keyframes solver-shimmer { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }
}
.solver-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-soft); margin-top: 6px; }

/* Completion banners */
.solver-result {
  display: flex; align-items: center; gap: 12px;
  border-radius: 14px; padding: 14px 18px; font-size: 14px; margin-bottom: 8px;
  animation: rise 0.4s var(--ease) both;
}
.solver-result.ok { background: #f0fdf4; border: 1px solid var(--status-published); color: var(--status-published-text); }
.solver-result.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.solver-result.warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.solver-result .icon { flex: none; }
.solver-result a { color: inherit; font-weight: 600; text-decoration: underline; }

/* Bulk solve progress */
.bulk-progress { margin-bottom: 16px; }
.bulk-progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.bulk-progress-count { font-size: 15px; font-weight: 600; color: var(--ink); }
.bulk-progress-sub { font-size: 13px; color: var(--muted); }
.bulk-bar { height: 10px; border-radius: 9999px; background: var(--surface-strong); overflow: hidden; display: flex; }
.bulk-bar .seg-done { background: var(--cov-green); transition: width 0.6s var(--ease); }
.bulk-bar .seg-failed { background: var(--cov-red); transition: width 0.6s var(--ease); }
.bulk-bar .seg-running { background: var(--cov-yellow); transition: width 0.6s var(--ease); }
.bulk-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.bulk-status.completed { color: var(--status-published-text); }
.bulk-status.failed { color: var(--error); }
.bulk-status.running { color: var(--cov-yellow); }
.bulk-status.pending { color: var(--muted); }
.bulk-status .icon.spin { animation: solver-spin 0.8s linear infinite; }

/* ---- Auth / login pages ---- */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.auth-card {
  background: var(--surface-card); border: 1px solid var(--hairline); border-radius: 16px;
  padding: 48px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg);
}
.auth-brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.auth-card h1 {
  font-family: 'EB Garamond', 'Times New Roman', serif;
  font-size: 30px; font-weight: 300; color: var(--ink); margin-bottom: 28px; line-height: 1.1;
}
.auth-card label { margin-bottom: 6px; }
.auth-card input { min-height: 48px; font-size: 16px; margin-bottom: 4px; }
.input-group { position: relative; margin-bottom: 16px; }
.input-group .input-ico {
  position: absolute; left: 14px; top: 21px; transform: translateY(-50%);
  color: var(--muted-soft); pointer-events: none;
}
.input-group input { padding-left: 42px; margin-bottom: 0; }
.btn-block { width: 100%; justify-content: center; margin-top: 8px; }

/* Login brand block: company logo + app wordmark */
.auth-brandblock { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 22px; }
.auth-logo { height: 54px; width: auto; display: block; }
.auth-appname {
  font-size: 24px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink); padding-left: 0.26em; /* optical centering for the tracking */
}
.auth-appsub { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: -8px; }
@media (max-width: 480px) { .auth-card { padding: 32px 24px; } }

/* ---- Settings tiles ---- */
.settings-tile { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.settings-tile .tile-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--surface-strong); color: var(--body-strong);
  display: inline-flex; align-items: center; justify-content: center;
}
.settings-tile .tile-body { flex: 1; display: flex; flex-direction: column; }
.settings-tile .tile-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.settings-tile .tile-sub { font-size: 13px; color: var(--muted); }

/* Save row (coverage / copy / bulk forms) */
.save-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.save-feedback { font-size: 13px; font-weight: 500; color: var(--success); }
