
:root {
  --exe-main: #0072ce;
  --exe-accent: #d8232a;
  --exe-bg: #f9f9ff;
  --exe-text: #000;
  --exe-light: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --exe-bg: #1c1c1c;
    --exe-text: #f1f1f1;
    --exe-light: #2a2a2a;
  }
}

.exe-wrapper {
  font-family: Arial, sans-serif;
  background: var(--exe-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  max-width: 960px;
  margin: auto;
  color: var(--exe-text);
}
.exe-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.exe-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.exe-tab {
  background: var(--exe-light);
  border: 2px solid var(--exe-main);
  color: var(--exe-main);
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}
.exe-tab.active {
  background: var(--exe-main);
  color: #fff;
}
.exe-calc {
  background: var(--exe-light);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
}
.exe-calc h3 {
  margin-top: 0;
}
.exe-calc label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}
.exe-calc input[type='number'] {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.exe-btn {
  margin-top: 15px;
  background: var(--exe-accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}
.exe-result {
  margin-top: 15px;
  padding: 10px;
  background: #e6ffe6;
  border-left: 4px solid #1a931a;
  font-weight: bold;
}
details {
  margin-top: 10px;
  padding: 10px;
  background: #f0f4ff;
  border-left: 4px solid var(--exe-main);
}
