/* Workflow and admin surfaces
 * Extracted from site.css to keep global styling manageable.
 * Loaded before site.css; responsive overrides remain in site.css for now.
 */

/* Report and admin review */
.report-page,
.admin-review-page {
  padding-bottom: 24px;
}

.report-hero,
.admin-review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
}

.report-hero,
.report-form-panel,
.report-tip,
.admin-review-hero-main,
.admin-review-stats,
.admin-review-batch,
.admin-review-table-panel {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.report-hero {
  padding: 24px;
}

.report-kicker,
.report-panel-head span,
.admin-review-kicker,
.admin-review-tabs,
.admin-review-table-head span,
.admin-review-row-actions,
.admin-review-batch-actions {
  display: flex;
  align-items: center;
}

.report-kicker,
.admin-review-kicker {
  width: max-content;
  max-width: 100%;
  gap: 7px;
  min-height: 28px;
  padding: 4px 10px;
  color: #9f2f45;
  background: #fff0f3;
  border: 1px solid #f2c4cf;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.report-hero h1,
.admin-review-hero h1 {
  margin: 16px 0 0;
  color: var(--dark);
  font-size: 1.8rem;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
}

.report-hero p,
.admin-review-hero p {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

.report-job-card {
  min-width: 0;
  padding: 14px;
  background: #f8fbfd;
  border: 1px solid #e0e9f2;
  border-radius: 7px;
}

.report-job-card span,
.report-job-card strong {
  display: block;
}

.report-job-card span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.report-job-card strong {
  margin: 8px 0 12px;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.report-form-panel {
  padding: 20px;
}

.report-panel-head {
  margin-bottom: 16px;
}

.report-panel-head span,
.admin-review-table-head span {
  gap: 6px;
  color: #1d8f58;
  font-size: 0.78rem;
  font-weight: 900;
}

.report-panel-head h2,
.report-tip h2 {
  margin: 4px 0 0;
  color: var(--dark);
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 950;
}

.report-form .form-group {
  margin-bottom: 14px;
}

.report-form .control-label {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.report-form .form-control {
  min-height: 40px;
  border-color: #dbe6f2;
  border-radius: 7px;
  box-shadow: none;
  font-weight: 760;
}

.report-form textarea.form-control {
  line-height: 1.6;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.report-actions .btn,
.report-job-card .btn,
.admin-review-tabs .btn,
.admin-review-batch .btn {
  min-height: 36px;
  border-radius: 7px;
  font-weight: 900;
}

.report-side {
  display: grid;
  gap: 14px;
}

.report-tip {
  padding: 18px;
}

.report-tip > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: #9f2f45;
  background: #fff0f3;
  border: 1px solid #f2c4cf;
  border-radius: 7px;
}

.report-tip p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1.65;
}

.admin-review-hero-main {
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #fff8e8 100%);
}

.admin-review-tabs {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.admin-review-stats {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.admin-review-stat {
  min-width: 0;
  padding: 14px;
  background: #f8fbfd;
  border: 1px solid #e0e9f2;
  border-radius: 7px;
}

.admin-review-stat.is-pending {
  background: #fff8e8;
  border-color: #e8d7a9;
}

.admin-review-stat.is-danger {
  background: #fff0f3;
  border-color: #f2c4cf;
}

.admin-review-stat.is-info {
  background: #eaf3ff;
  border-color: #c8ddf5;
}

.admin-review-stat span {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.admin-review-stat strong {
  display: block;
  margin-top: 7px;
  color: var(--dark);
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.admin-review-batch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: #fffaf1;
  border-color: #e7d8b2;
}

.admin-review-batch strong,
.admin-review-batch span {
  display: block;
}

.admin-review-batch strong {
  color: #6b5425;
  font-weight: 950;
}

.admin-review-batch span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.admin-review-batch-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-review-action-form {
  display: inline-flex;
  margin: 0;
}

.admin-review-table-panel {
  padding: 16px;
}

.admin-review-table-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.admin-review-table-head strong {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: #41536a;
  background: #f3f7fb;
  border: 1px solid #e1e9f2;
  border-radius: 7px;
  font-weight: 900;
}

.admin-review-table {
  overflow-x: auto;
  border: 1px solid #e1e9f2;
  border-radius: var(--border-radius-lg);
}

.admin-review-table .grid-view {
  min-width: 980px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-review-table .table {
  margin-bottom: 0;
}

.admin-review-table .table th {
  white-space: nowrap;
}

.admin-review-row-actions {
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

/* Operations dashboard */
.ops-dashboard-page {
  padding-bottom: 24px;
}

.ops-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
}

.ops-dashboard-hero-main,
.ops-dashboard-revenue,
.ops-dashboard-metric,
.ops-dashboard-panel {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.ops-dashboard-hero-main {
  min-height: 220px;
  padding: 24px;
  color: #f9fbff;
  background: #26364a;
  border-color: #26364a;
}

.ops-dashboard-kicker,
.ops-dashboard-actions,
.ops-dashboard-panel-head,
.ops-status-row,
.ops-report-meta {
  display: flex;
  align-items: center;
}

.ops-dashboard-kicker {
  width: max-content;
  max-width: 100%;
  gap: 7px;
  min-height: 28px;
  padding: 4px 10px;
  color: #cfe7dc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.ops-dashboard-hero h1 {
  margin: 16px 0 0;
  font-size: 1.85rem;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
}

.ops-dashboard-hero p {
  max-width: 700px;
  margin: 10px 0 0;
  color: #c9d5e2;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

.ops-dashboard-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ops-dashboard-action-form {
  display: inline-flex;
  margin: 0;
}

.ops-dashboard-actions .btn {
  min-height: 36px;
  border-radius: 7px;
  font-weight: 900;
}

.ops-dashboard-revenue {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 20px;
}

.ops-dashboard-revenue span,
.ops-dashboard-revenue p,
.ops-dashboard-metric span,
.ops-dashboard-metric small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.ops-dashboard-revenue strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #1d8f58;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 950;
}

.ops-dashboard-revenue small {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.ops-dashboard-revenue p {
  margin: 0;
  line-height: 1.55;
}

.ops-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.ops-dashboard-metric {
  min-width: 0;
  padding: 14px;
  background: #f8fbfd;
}

.ops-dashboard-metric.is-warning {
  background: #fff8e8;
  border-color: #e8d7a9;
}

.ops-dashboard-metric.is-danger {
  background: #fff0f3;
  border-color: #f2c4cf;
}

.ops-dashboard-metric.is-info {
  background: #eaf3ff;
  border-color: #c8ddf5;
}

.ops-dashboard-metric strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--dark);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 950;
}

.ops-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.ops-dashboard-panel {
  min-width: 0;
  padding: 16px;
}

.ops-dashboard-panel-head {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ops-dashboard-panel-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1d8f58;
  font-size: 0.78rem;
  font-weight: 900;
}

.ops-dashboard-panel-head strong {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: #41536a;
  background: #f3f7fb;
  border: 1px solid #e1e9f2;
  border-radius: 7px;
  font-weight: 900;
}

.ops-status-list {
  display: grid;
  gap: 8px;
}

.ops-status-row {
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  background: #f8fbfd;
  border: 1px solid #e1e9f2;
  border-radius: 7px;
}

.ops-status-row span,
.ops-status-row a {
  color: var(--text-main);
  font-weight: 850;
}

.ops-status-row strong {
  color: var(--dark);
  font-weight: 950;
}

.ops-dashboard-empty {
  padding: 22px 12px;
  color: var(--text-muted);
  text-align: center;
  background: #fbfdff;
  border: 1px dashed #ccd9e8;
  border-radius: 7px;
  font-weight: 800;
}

.ops-report-list {
  display: grid;
  gap: 10px;
}

.ops-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 12px;
  padding: 13px;
  background: #fcfdff;
  border: 1px solid #e0e9f2;
  border-left: 3px solid #e63757;
  border-radius: var(--border-radius-lg);
}

.ops-report-row h2 {
  margin: 0;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.ops-report-row h2 a {
  color: var(--dark);
}

.ops-report-row h2 a:hover {
  color: var(--primary);
}

.ops-report-row p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-weight: 740;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ops-report-meta {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.ops-report-meta span {
  min-height: 24px;
  padding: 3px 8px;
  color: #52657d;
  background: #f5f8fb;
  border: 1px solid #e0e8f1;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.ops-report-node-status {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 850;
  vertical-align: middle;
  line-height: 1.3;
}

.ops-report-node-status.is-active {
  color: #1c7c54;
  background: #e6f4ec;
  border: 1px solid #c5e3d3;
}

.ops-report-node-status.is-pending {
  color: #9a6700;
  background: #fff4d4;
  border: 1px solid #f1d995;
}

.ops-report-node-status.is-removed {
  color: #a02929;
  background: #fbe4e4;
  border: 1px solid #f0bcbc;
}

.ops-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.ops-report-action-form {
  display: inline-block;
  margin: 0;
}

/* Static pages */
.static-page {
  padding-bottom: 24px;
}

.static-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.static-hero-main,
.static-side-card,
.static-panel,
.static-info-card,
.static-success,
.static-error-panel {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.static-hero-main {
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eef7f2 100%);
}

.static-kicker,
.static-actions,
.static-panel-head span {
  display: flex;
  align-items: center;
}

.static-kicker {
  width: max-content;
  max-width: 100%;
  gap: 7px;
  min-height: 28px;
  padding: 4px 10px;
  color: #1e7a50;
  background: #edf8f2;
  border: 1px solid #cbeada;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.static-hero h1,
.static-error-panel h1 {
  margin: 16px 0 0;
  color: var(--dark);
  font-size: 1.8rem;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
}

.static-hero p,
.static-error-panel p {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

.static-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.static-actions .btn,
.static-side-card .btn {
  min-height: 36px;
  border-radius: 7px;
  font-weight: 900;
}

.static-side-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 20px;
}

.static-side-card span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.static-side-card strong {
  display: block;
  color: var(--dark);
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.static-side-card p,
.static-info-card p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1.65;
}

.static-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.static-panel {
  padding: 20px;
}

.static-panel-head {
  margin-bottom: 16px;
}

.static-panel-head span {
  gap: 6px;
  color: #1d8f58;
  font-size: 0.78rem;
  font-weight: 900;
}

.static-panel-head h2,
.static-info-card h2,
.static-success h2 {
  margin: 4px 0 0;
  color: var(--dark);
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 950;
}

.static-form .form-group {
  margin-bottom: 14px;
}

.static-form .control-label {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.static-form .form-control {
  min-height: 40px;
  border-color: #dbe6f2;
  border-radius: 7px;
  box-shadow: none;
  font-weight: 760;
}

.static-form textarea.form-control {
  line-height: 1.6;
}

.static-captcha {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.static-captcha img {
  border: 1px solid #dbe6f2;
  border-radius: 7px;
}

.static-side-stack,
.static-feature-grid {
  display: grid;
  gap: 14px;
}

.static-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.static-info-card,
.static-success {
  padding: 18px;
}

.static-info-card > div,
.static-success > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: #1d8f58;
  background: #eaf8f1;
  border: 1px solid #cceedd;
  border-radius: 7px;
}

.static-success {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 38px 18px;
  text-align: center;
}

.static-success p {
  max-width: 560px;
  margin: 0;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1.7;
}

.static-error-page {
  display: grid;
  min-height: 48vh;
  align-items: center;
}

.static-error-panel {
  max-width: 760px;
  padding: 28px;
}

.static-error-code {
  width: max-content;
  min-height: 32px;
  padding: 5px 10px;
  margin-bottom: 12px;
  color: #9f2f45;
  background: #fff0f3;
  border: 1px solid #f2c4cf;
  border-radius: 7px;
  font-weight: 950;
}

/* Banner admin */
.banner-admin-page {
  padding-bottom: 24px;
}

.banner-admin-hero,
.banner-form-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.banner-admin-hero-main,
.banner-admin-stats,
.banner-admin-board,
.banner-admin-empty,
.banner-form-hero,
.banner-form-panel,
.banner-preview-panel,
.banner-admin-detail-status,
.banner-detail-panel {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.banner-admin-hero-main,
.banner-form-hero {
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eef7f2 100%);
}

.banner-admin-kicker,
.banner-admin-actions,
.banner-admin-board-head,
.banner-admin-row-top,
.banner-admin-meta,
.banner-admin-row-actions {
  display: flex;
  align-items: center;
}

.banner-admin-kicker {
  width: max-content;
  max-width: 100%;
  gap: 7px;
  min-height: 28px;
  padding: 4px 10px;
  color: #1e7a50;
  background: #edf8f2;
  border: 1px solid #cbeada;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.banner-admin-hero h1,
.banner-form-hero h1 {
  margin: 16px 0 0;
  color: var(--dark);
  font-size: 1.8rem;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
}

.banner-admin-hero p,
.banner-form-hero p {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

.banner-admin-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.banner-admin-actions .btn,
.banner-admin-row-actions .btn,
.banner-form-hero .btn {
  min-height: 36px;
  border-radius: 7px;
  font-weight: 900;
}

.banner-admin-action-form {
  display: inline-flex;
  margin: 0;
}

.banner-admin-stats {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.banner-admin-stat {
  min-width: 0;
  padding: 14px;
  background: #f8fbfd;
  border: 1px solid #e0e9f2;
  border-radius: 7px;
}

.banner-admin-stat.is-active {
  background: #f1faf5;
  border-color: #d2eadc;
}

.banner-admin-stat span,
.banner-admin-detail-status span,
.banner-preview-panel > span,
.banner-detail-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.banner-admin-stat strong {
  display: block;
  margin-top: 7px;
  color: var(--dark);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 950;
}

.banner-admin-board {
  padding: 16px;
}

.banner-admin-board-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.banner-admin-board-head span {
  display: inline-flex;
  gap: 6px;
  color: #1d8f58;
  font-size: 0.78rem;
  font-weight: 900;
}

.banner-admin-board-head strong {
  padding: 5px 9px;
  color: #41536a;
  background: #f3f7fb;
  border: 1px solid #e1e9f2;
  border-radius: 7px;
  font-weight: 900;
}

.banner-admin-list {
  display: grid;
  gap: 10px;
}

.banner-admin-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fcfdff;
  border: 1px solid #e0e9f2;
  border-left: 3px solid #2fbf71;
  border-radius: var(--border-radius-lg);
}

.banner-admin-row.is-expired {
  border-left-color: #8d9aad;
}

.banner-admin-preview,
.banner-preview-frame,
.banner-preview-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  background: #f5f8fb;
  border: 1px solid #e0e8f1;
  border-radius: 7px;
  overflow: hidden;
}

.banner-admin-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.banner-admin-main {
  min-width: 0;
}

.banner-admin-row-top {
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.banner-admin-row-top span,
.banner-admin-status,
.banner-admin-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  color: #607087;
  background: #eef3f8;
  border: 1px solid #dbe4ee;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.banner-admin-status.is-active {
  color: #226b4b;
  background: #edf8f2;
  border-color: #cbeada;
}

.banner-admin-status.is-expired {
  color: #607087;
  background: #eef3f8;
  border-color: #dbe4ee;
}

.banner-admin-row h2 {
  margin: 0;
  color: var(--dark);
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.banner-admin-row p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-weight: 740;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.banner-admin-meta {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.banner-admin-row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.banner-admin-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 38px 18px;
  text-align: center;
  border-style: dashed;
  background: #fbfdff;
}

.banner-admin-empty div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #1d8f58;
  background: #edf8f2;
  border: 1px solid #cbeada;
  border-radius: 7px;
  font-size: 1.25rem;
}

.banner-admin-empty h2 {
  margin: 0;
  color: var(--dark);
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.3;
}

.banner-admin-empty p {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1.7;
}

.banner-admin-pagination {
  margin-top: 14px;
}

.banner-form-layout,
.banner-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.banner-form-panel,
.banner-preview-panel,
.banner-detail-panel,
.banner-admin-detail-status {
  padding: 18px;
}

.banner-form-grid,
.banner-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.banner-admin-form .form-group {
  margin-bottom: 14px;
}

.banner-admin-form .control-label {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.banner-admin-form .form-control {
  min-height: 40px;
  border-color: #dbe6f2;
  border-radius: 7px;
  box-shadow: none;
  font-weight: 760;
}

.banner-preview-panel p,
.banner-admin-detail-status p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1.6;
}

.banner-preview-empty {
  margin-top: 10px;
  color: var(--text-muted);
  font-weight: 900;
}

.banner-preview-frame {
  margin-top: 10px;
}

.banner-admin-detail-status {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner-admin-detail-status strong {
  display: block;
  margin-top: 12px;
  color: var(--dark);
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 950;
}

.banner-admin-detail-status strong.is-active {
  color: #1d8f58;
}

.banner-admin-detail-status strong.is-expired {
  color: #607087;
}

.banner-detail-grid div {
  min-width: 0;
  padding: 12px;
  background: #f8fbfd;
  border: 1px solid #e0e9f2;
  border-radius: 7px;
}

.banner-detail-grid .is-wide {
  grid-column: 1 / -1;
}

.banner-detail-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--dark);
  font-weight: 950;
  overflow-wrap: anywhere;
}

/* Node admin */
.node-admin-page {
  padding-bottom: 24px;
}

.node-admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.node-admin-hero-main,
.node-admin-stats,
.node-admin-filter-strip,
.node-admin-table-panel,
.node-admin-danger {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.node-admin-hero-main {
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eef7f2 100%);
}

.node-admin-kicker,
.node-admin-actions,
.node-admin-filter-strip,
.node-admin-table-head,
.node-admin-danger {
  display: flex;
  align-items: center;
}

.node-admin-kicker {
  width: max-content;
  max-width: 100%;
  gap: 7px;
  min-height: 28px;
  padding: 4px 10px;
  color: #1e7a50;
  background: #edf8f2;
  border: 1px solid #cbeada;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.node-admin-hero h1 {
  margin: 16px 0 0;
  color: var(--dark);
  font-size: 1.8rem;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
}

.node-admin-hero p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

.node-admin-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.node-admin-actions .btn,
.node-admin-danger .btn {
  min-height: 36px;
  border-radius: 7px;
  font-weight: 900;
}

.node-admin-stats {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.node-admin-stat {
  min-width: 0;
  padding: 14px;
  background: #f8fbfd;
  border: 1px solid #e0e9f2;
  border-radius: 7px;
}

.node-admin-stat.is-active {
  background: #f1faf5;
  border-color: #d2eadc;
}

.node-admin-stat span,
.node-admin-table-head span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.node-admin-stat strong {
  display: block;
  margin-top: 7px;
  color: var(--dark);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 950;
}

.node-admin-stat small {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-weight: 800;
}

.node-admin-filter-strip {
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.node-admin-filter-strip > span {
  color: #1d8f58;
  font-size: 0.78rem;
  font-weight: 900;
}

.node-admin-filter-strip strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  color: #41536a;
  background: #f3f7fb;
  border: 1px solid #e1e9f2;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 900;
}

.node-admin-table-panel {
  padding: 16px;
}

.node-admin-table-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.node-admin-table-head span {
  display: inline-flex;
  gap: 6px;
  color: #1d8f58;
}

.node-admin-table-head strong {
  padding: 5px 9px;
  color: #41536a;
  background: #f3f7fb;
  border: 1px solid #e1e9f2;
  border-radius: 7px;
  font-weight: 900;
}

.node-admin-table {
  overflow-x: auto;
}

.node-admin-table .grid-view {
  min-width: 920px;
}

.node-admin-table .table {
  margin-bottom: 0;
  color: var(--text-main);
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 7px;
  overflow: hidden;
}

.node-admin-table .table th {
  color: #43536a;
  background: #f3f7fb;
  border-color: #e1e9f2;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.node-admin-table .table td {
  border-color: #edf2f7;
  vertical-align: middle;
  font-weight: 720;
}

.node-admin-table .filters input,
.node-admin-table .filters select {
  min-height: 34px;
  border: 1px solid #dbe6f2;
  border-radius: 7px;
  box-shadow: none;
  font-weight: 760;
}

.node-admin-table a {
  color: var(--dark);
  font-weight: 850;
}

.node-admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  color: #607087;
  background: #eef3f8;
  border: 1px solid #dbe4ee;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.node-admin-status.is-flag-1 {
  color: #8d4755;
  background: #fff0f3;
  border-color: #efc7d0;
}

.node-admin-status.is-flag-2 {
  color: #8a5a08;
  background: #fff6dc;
  border-color: #efd892;
}

.node-admin-status.is-flag-3 {
  color: #226b4b;
  background: #edf8f2;
  border-color: #cbeada;
}

.node-admin-status.is-flag-4 {
  color: #1f5f9f;
  background: #edf5ff;
  border-color: #c6dcf4;
}

.node-admin-danger {
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  margin-top: 14px;
  background: #fff8fa;
  border-color: #f0cbd3;
}

.node-admin-danger strong {
  display: block;
  color: #8d3448;
  font-weight: 950;
}

.node-admin-danger span {
  display: block;
  margin-top: 4px;
  color: #7a5b64;
  font-size: 0.88rem;
  font-weight: 740;
  line-height: 1.5;
}

.node-admin-danger-form {
  flex-shrink: 0;
  margin: 0;
}
