/* ============================================================================
   V4 — Strip Table 2 (shared)
   - Notion-ish 3-shade background using WOW canvas tokens.
   - Radius <= 4px.
   - Supports action cell: menu mode (icon menu) + simple mode (direct action).
   ========================================================================== */

.v4-strip2 {
  --strip2-cell-width: 84px;
  --strip2-tone-start: var(--fresh-1);
  --strip2-tone-end: var(--fresh-2);

  /* Container intentionally "invisible" so gaps show the parent section bg. */
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--wow-font-family);
  direction: rtl;
}

.v4-strip2--light {
  --strip2-row-fill: #f7f7f7;
  --strip2-head-fill: #f7f7f7;
  --strip2-text: #1f1f1f;
  --strip2-text-muted: #4b4b4b;
  --strip2-divider: #c9c9c9;
  --strip2-border: #f0a875;
  --strip2-tone-start: #ffb36d;
  --strip2-tone-end: #f36a2f;
}

.v4-strip2--dark {
  --strip2-row-fill: #0d0d0d;
  --strip2-head-fill: #101010;
  --strip2-text: #fcfcfc;
  --strip2-text-muted: rgba(252, 252, 252, 0.68);
  --strip2-divider: rgba(255, 255, 255, 0.22);
  /* Dark mode: keep the orange identity but reduce visual "drama". */
  --strip2-border: rgba(240, 168, 117, 0.55);
  --strip2-tone-start: rgba(255, 179, 109, 0.65);
  --strip2-tone-end: rgba(243, 106, 47, 0.65);
}

.v4-strip2__header {
  margin: 0 0 12px;
  text-align: right;
}

.v4-strip2__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--strip2-text, #1f1f1f);
  opacity: 0.75;
}

.v4-strip2__subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--strip2-text-muted, #4b4b4b);
  opacity: 0.9;
}

.v4-strip2__row-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v4-strip2__row {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  direction: ltr;
  border-radius: 2px;
  border: 1px solid transparent;
  min-height: 56px;
  background:
    linear-gradient(var(--strip2-row-fill), var(--strip2-row-fill)) padding-box,
    linear-gradient(90deg, var(--strip2-tone-start), var(--strip2-tone-end)) border-box;
  overflow: hidden;
}

.v4-strip2__row--tone-fresh {
  --strip2-tone-start: var(--fresh-1);
  --strip2-tone-end: var(--fresh-2);
}

.v4-strip2__row--tone-orange,
.v4-strip2__row--tone-draft {
  --strip2-tone-start: #ffb36d;
  --strip2-tone-end: #f36a2f;
}

.v4-strip2__row--head {
  border: 1px solid var(--strip2-border);
  background: var(--strip2-head-fill);
  margin-bottom: 12px;
}

.v4-strip2__label {
  order: 2;
  flex: 1 1 auto;
  padding: 12px 20px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  text-align: right;
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--strip2-text);
}

.v4-strip2__label--head {
  font-size: 14px;
  font-weight: 600;
  color: var(--strip2-text-muted);
}

.v4-strip2__data {
  order: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  direction: ltr;
}

.v4-strip2__cell {
  min-width: var(--strip2-cell-width);
  width: var(--strip2-cell-width);
  padding: 0 14px;
  border-left: 1px solid var(--strip2-divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--strip2-text);
  opacity: 0.92;
}

.v4-strip2__cell--head {
  font-size: 13px;
  font-weight: 600;
  color: var(--strip2-text-muted);
}

.v4-strip2__cell--action {
  width: var(--strip2-cell-width);
  justify-content: center;
}

.v4-strip2__action-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--strip2-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.2s ease, background 0.2s ease;
  padding: 0;
}

.v4-strip2__action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.v4-strip2__action-btn:hover:not(:disabled) {
  color: var(--strip2-tone-end);
  background: transparent;
  transform: translateY(-1px);
}

.v4-strip2__action-btn:active:not(:disabled) {
  transform: translateY(0px);
}

.v4-strip2__action-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.v4-strip2__empty {
  min-height: 56px;
  padding: 18px 14px;
  text-align: center;
  border-radius: 2px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--strip2-row-fill), var(--strip2-row-fill)) padding-box,
    linear-gradient(90deg, var(--strip2-tone-start), var(--strip2-tone-end)) border-box;
  color: var(--strip2-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
