  :root {
      --bg: #f5f7fb;
      --card: #ffffff;
      --text: #1f2933;
      --muted: #6b7a8c;
      --accent: #0b4f8a;
      --accent-soft: #e1edf7;
      --border: #d4deee;
      --danger: #b91c1c;
      --warn: #b45309;
      --ok: #166534;
  }

  * {
      box-sizing: border-box;
  }

  body {
      margin: 0;
      padding: 24px;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
  }

  .page {
      max-width: 1100px;
      margin: 0 auto;
  }

  header {
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border);
  }

  h1 {
      margin: 0 0 6px;
      font-size: 26px;
      color: var(--accent);
  }

  .subtitle {
      margin: 0;
      font-size: 14px;
      color: var(--muted);
  }

  .layout {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
      gap: 18px;
  }

  @media (max-width: 900px) {
      .layout {
          grid-template-columns: 1fr;
      }
  }

.headercontent {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
  }

  .header-logo {
      max-width: 300px;
      height: auto;
      margin: 0;
  }

  .title {
      margin: 0;
  }


  .card {
      flex: 1;
      background: var(--card);
      border-radius: 10px;
      padding: 18px 20px;
      box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
      border: 1px solid var(--border);
      margin-bottom: 16px;
  }

  .equations {
      flex: 1;
      margin-right: 15px;

  }

  h2 {
      margin: 0 0 10px;
      font-size: 18px;
      color: var(--accent);
  }

  h3 {
      margin: 14px 0 6px;
      font-size: 14px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
  }

  p {
      margin: 4px 0 10px;
      font-size: 13px;
  }

  label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 2px;
      color: var(--muted);
  }

  .field-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 10px;
  }

  .field-row-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 10px;
  }

  input[type="number"] {
      width: 100%;
      padding: 6px 8px;
      border-radius: 6px;
      border: 1px solid var(--border);
      font-size: 13px;
  }

  input[type="checkbox"] {
      margin-right: 6px;
  }

  .delay-row {
      display: grid;
      grid-template-columns: 1.2fr 0.6fr 0.4fr;
      gap: 8px;
      align-items: center;
      margin-bottom: 6px;
      font-size: 13px;
  }

  .delay-row span {
      font-size: 13px;
  }

  .badge {
      display: inline-block;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 2px 6px;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent);
      margin-left: 6px;
  }

  .results-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 8px;
  }

  .metric {
      padding: 10px 12px;
      border-radius: 8px;
      background: #f8fafc;
      border: 1px solid var(--border);
  }

  .metric-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
      margin-bottom: 2px;
  }

  .metric-value {
      font-size: 18px;
      font-weight: 600;
  }

  .metric-sub {
      font-size: 11px;
      color: var(--muted);
      margin-top: 2px;
  }

  .status-pill {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      margin-top: 6px;
  }

  .status-pill span {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      margin-right: 6px;
  }

  .status-green {
      background: #ecfdf3;
      color: var(--ok);
  }

  .status-green span {
      background: var(--ok);
  }

  .status-yellow {
      background: #fffbeb;
      color: var(--warn);
  }

  .status-yellow span {
      background: var(--warn);
  }

  .status-red {
      background: #fef2f2;
      color: var(--danger);
  }

  .status-red span {
      background: var(--danger);
  }

  .equations ul {
      margin: 4px 0 8px 18px;
      padding: 0;
      font-size: 13px;
  }

  .equations li {
      margin-bottom: 4px;
      font-family: "Consolas", "SF Mono", Menlo, monospace;
  }

  .footer-note {
      font-size: 11px;
      color: var(--muted);
      margin-top: 6px;
  }

  .instructions {
      display: flex;


  }
