    :root {
      --bg: #1e1e2f;
      --surface: #2e2e3e;
      --primary: #4a90e2;
      --text: #f0f0f0;
      --text-muted: #aaa;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      margin: 0;
      padding: 0;
      color: var(--text);
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background: var(--surface);
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    header h1 {
      font-size: 1.5rem;
      margin: 0;
    }

    header a {
      color: var(--text);
      text-decoration: none;
      font-weight: 600;
      transition: opacity 0.2s ease-in-out;
    }

    header a:hover {
      opacity: 0.8;
    }

    .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2rem;
    }

    .card {
      background: var(--surface);
      border-radius: 1.5rem;
      padding: 2rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      width: 100%;
      max-width: 900px;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .file-inputs {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }

    label {
      font-weight: 600;
      display: block;
      margin-bottom: 0.5rem;
    }

    input[type="file"] {
      padding: 0.5rem;
      background: var(--bg);
      border: 1px solid #444;
      color: var(--text);
    }

    button, .btn {
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 0.75rem;
      background-color: var(--primary);
      color: white;
      font-weight: 600;
      margin-right: 1rem;
      cursor: pointer;
      transition: background-color 0.2s ease-in-out, transform 0.15s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    button:hover, .btn:hover {
      background-color: #3b7cc4;
      transform: translateY(-2px);
    }

    button:active, .btn:active {
      transform: scale(0.98);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    .chart-container {
      padding: 0 1rem;
    }

	canvas {
	  display: block;
	  width: 100%;
	  height: auto;
	  background-color: #2D2D3E;
	  border-radius: 1rem;
	  padding: 1rem;
	  box-sizing: border-box;
	}

    #summary p {
      margin: 0.25rem 0.25rem;
    }

    h2 {
      margin-top: 0.5rem;
      font-size: 1.25rem;
      color: var(--text);
    }
	
	input[type="file"] {
	  padding: 0.5rem 1rem;
	  background: var(--surface);
	  border: 1px solid #444;
	  color: var(--text);
	  border-radius: 0.5rem;
	  cursor: pointer;
	  transition: background-color 0.2s ease-in-out, transform 0.1s ease;
	}

	input[type="file"]::file-selector-button {
	  padding: 0.5rem 1rem;
	  border: none;
	  border-radius: 0.5rem;
	  background-color: var(--primary);
	  color: white;
	  font-weight: 600;
	  cursor: pointer;
	  transition: background-color 0.2s ease-in-out, transform 0.1s ease;
	}

	input[type="file"]::file-selector-button:hover {
	  background-color: #3b7cc4;
	  transform: translateY(-1px);
	}
	.notice-banner {
  background-color: #ffe8c2;
  color: #4d2e00;
  border: 1px solid #e6b877;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.notice-banner .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.notice-banner .text {
  line-height: 1.5;
}
.summary-card {
  background-color: #252535;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  font-size: 1rem;
}

.manual-card {
  background-color: #2d2d3d;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-top: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

#manualPriceTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: white;
}

#manualPriceTable th, #manualPriceTable td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #444;
}

#manualPriceTable th {
  background-color: #39394f;
  color: #ddd;
  font-weight: 600;
}

#manualPriceTable tr:nth-child(even) {
  background-color: #2a2a3a;
}

#manualPriceTable input {
  padding: 5px 8px;
  border-radius: 6px;
  background-color: #1e1e2f;
  color: white;
  border: 1px solid #666;
}
.chart-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1;
}

footer {
  background-color: var(--surface);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  opacity: 0.8;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox {
  background: #2e2e3e;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  color: white;
  position: relative;
}

.lightbox img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: white;
  cursor: pointer;
}
