body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #f0f2f5;
      padding: 20px;
    }
    .card {
      background: white;
      padding: 16px;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      margin-bottom: 20px;
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    th, td {
      padding: 6px;
      border-bottom: 1px solid #ddd;
      font-size: 13px;
    }
    input[type="number"], input[type="text"], input[type="date"], textarea {
      width: 100%;
      padding: 4px;
      box-sizing: border-box;
      font-size: 13px;
    }
    .controls-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
      flex-wrap: wrap;
      font-size: 13px;
    }
    button {
      cursor: pointer;
      padding: 3px 8px;
      font-size: 13px;
    }
    .top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }
    .app-title {
      font-size: 18px;
      font-weight: 600;
    }
    .lang-switch {
      display: flex;
      gap: 4px;
    }
    .lang-btn {
      padding: 3px 10px;
      border-radius: 999px;
      border: 1px solid #ccc;
      background: #fff;
    }
    .lang-btn.active {
      background: #2563eb;
      color: white;
      border-color: #2563eb;
    }
    .file-btn {
      border: 1px solid #ccc;
      border-radius: 4px;
      padding: 3px 8px;
      background: #fff;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .file-btn input[type="file"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 50;
    }
    .modal-panel {
      background: #fff;
      padding: 16px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      width: 420px;
      max-width: 90vw;
      font-size: 13px;
    }
    .modal-panel h3 {
      margin-top: 0;
      margin-bottom: 10px;
      font-size: 16px;
    }
    .modal-panel .row {
      margin-bottom: 8px;
    }
    .modal-panel label {
      display: block;
      margin-bottom: 2px;
    }
    .modal-panel textarea {
      min-height: 60px;
      resize: vertical;
    }
    .modal-buttons {
      margin-top: 10px;
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }
	.decomp-panel {
	 width: 150px;   
	 ax-width: 90%;
}
	.plot {
	  user-select: none;
	  -webkit-user-select: none;
	  -moz-user-select: none;
	  -ms-user-select: none;
}


  
  @media print {
  body {
    background: white;
  }

  .card {
    box-shadow: none;
    border: 1px solid #000;
  }

  button, input[type="file"] {
    display: none; /* скриваме ненужните елементи */
  }
}

