:root {
  --sheet-line: rgba(148, 163, 184, 0.28);
  --sheet-panel: rgba(8, 14, 24, 0.82);
  --sheet-panel-strong: rgba(7, 11, 19, 0.94);
  --sheet-accent: #1f5f96;
  --sheet-accent-strong: #2a7abf;
  --sheet-accent-soft: rgba(42, 122, 191, 0.24);
  --sheet-positive: #22c55e;
  --sheet-warn: #f59e0b;
}

.fto-sheet-hero {
  position: relative;
  overflow: hidden;
}

.fto-sheet-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(42, 122, 191, 0.2), transparent 46%),
    radial-gradient(circle at 84% 0%, rgba(14, 116, 144, 0.16), transparent 40%);
  pointer-events: none;
}

.fto-sheet-hero > * {
  position: relative;
  z-index: 1;
}

.sheet-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.sheet-panel {
  border: 1px solid var(--sheet-line);
  border-radius: 14px;
  background: var(--sheet-panel-strong);
  padding: 0.9rem;
}

.sheet-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.sheet-meta-card {
  border: 1px solid var(--sheet-line);
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(16, 24, 39, 0.9), rgba(8, 14, 24, 0.96));
  padding: 0.7rem 0.8rem;
  display: grid;
  gap: 0.25rem;
}

.sheet-meta-card strong {
  font-family: "Barlow Condensed", "Outfit", sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.35rem;
}

.sheet-meta-card span {
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sheet-table-wrap {
  margin-top: 0.85rem;
  border: 1px solid var(--sheet-line);
  border-radius: 12px;
  overflow: auto;
  background: var(--sheet-panel);
}

.sheet-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.sheet-table th,
.sheet-table td {
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 0.45rem 0.5rem;
  vertical-align: top;
  font-size: 0.8rem;
  line-height: 1.32;
}

.sheet-table thead th {
  background: rgba(11, 20, 36, 0.96);
  color: #f8fafc;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}

.sheet-table .section-row td {
  background: linear-gradient(120deg, rgba(15, 54, 93, 0.96), rgba(11, 41, 70, 0.96));
  color: #f8fafc;
  font-family: "Barlow Condensed", "Outfit", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sheet-table .topic-cell {
  font-weight: 600;
  color: #f8fafc;
}

.sheet-table .criteria-cell {
  color: rgba(226, 232, 240, 0.92);
}

.sheet-table select,
.sheet-table input[type="text"],
.sheet-table input[type="date"],
.sheet-table input[type="number"] {
  width: 100%;
  border: 1px solid rgba(71, 85, 105, 0.8);
  border-radius: 8px;
  background: rgba(6, 10, 18, 0.9);
  color: #f8fafc;
  font: inherit;
  padding: 0.38rem 0.42rem;
}

.sheet-table input[type="number"] {
  text-align: center;
}

.sheet-table input[readonly] {
  background: rgba(9, 14, 23, 0.78);
  color: rgba(226, 232, 240, 0.88);
}

.sheet-summary td {
  background: rgba(10, 18, 31, 0.95);
  font-weight: 600;
}

.sheet-summary .value {
  text-align: center;
  font-family: "Barlow Condensed", "Outfit", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.sheet-pass-hint {
  margin-top: 0.7rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.82rem;
}

.sheet-rubric {
  margin-top: 0.95rem;
  border: 1px solid var(--sheet-line);
  border-radius: 12px;
  background: rgba(9, 15, 25, 0.9);
  overflow: hidden;
}

.sheet-rubric h3 {
  margin: 0;
  padding: 0.58rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  background: linear-gradient(120deg, rgba(13, 44, 74, 0.95), rgba(11, 34, 58, 0.95));
}

.sheet-rubric ul {
  margin: 0;
  padding: 0.68rem 1rem 0.76rem;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.sheet-rubric li {
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.94);
}

.sheet-status {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.9);
}

.sheet-status strong {
  color: #f8fafc;
}

.sheet-status .ok {
  color: var(--sheet-positive);
}

.sheet-status .warn {
  color: var(--sheet-warn);
}

@media (max-width: 780px) {
  .sheet-table {
    min-width: 980px;
  }
}
