body {
  background: #ffffff;
  color: #000000;
  font-family: Times, "Times New Roman", serif;
  font-size: 16px;
  max-width: 560px;
  margin: 40px auto;
  padding: 0 16px;
  line-height: 1.5;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #000000;
}

h1 {
  font-size: 28px;
  margin: 0 0 4px;
}

.header-nav {
  display: flex;
  gap: 16px;
  font-size: 15px;
}

.header-nav a {
  text-decoration: none;
  color: #555555;
}

.header-nav a:hover {
  color: #000000;
}

h2 {
  font-size: 20px;
  margin: 0 0 6px;
}

h3 {
  font-size: 16px;
  margin: 10px 0 4px;
  font-weight: bold;
}

.tagline {
  font-style: italic;
  color: #555555;
  margin: 0 0 20px;
}

a {
  color: #555555;
}

a:visited {
  color: #555555;
}

hr {
  border: none;
  border-top: 1px solid #000000;
  margin: 20px 0;
}

ol, ul {
  padding-left: 24px;
}

input {
  font-family: Times, "Times New Roman", serif;
  font-size: 15px;
  border: 1px solid #000000;
  padding: 6px 8px;
  width: 100%;
  max-width: 300px;
}

input[type="file"] {
  padding: 8px 0;
}

button {
  font-family: Times, "Times New Roman", serif;
  font-size: 15px;
  background: #ffffff;
  border: 1px solid #000000;
  padding: 6px 12px;
  cursor: pointer;
  margin-top: 8px;
  margin-right: 8px;
}

button:hover {
  background: #000000;
  color: #ffffff;
}

button.delete {
  border-color: #cc0000;
  color: #cc0000;
}

button.delete:hover {
  background: #cc0000;
  color: #ffffff;
}

.section {
  margin: 8px 0 0;
  padding-top: 4px;
}

.section p {
  margin: 4px 0;
}

.section ol, .section ul {
  margin: 4px 0;
}

.status {
  font-family: "Courier New", Courier, monospace;
  border: 1px solid #000000;
  padding: 10px 14px;
  margin: 20px 0;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #cccccc;
  font-size: 13px;
  color: #555555;
}

footer hr {
  display: none;
}

.links {
  margin: 0;
  font-size: 14px;
}

.links a {
  color: #555555;
  text-decoration: underline;
}

.links a:visited {
  color: #555555;
}

.links a.current {
  display: none;
}

.links a + a {
  border-left: 1px solid #999999;
  margin-left: 10px;
  padding-left: 10px;
}

.links a.current + a {
  border-left: none;
}

.links a:last-child {
  border-left: none;
}

.disclaimer {
  font-size: 12px;
  color: #888888;
  margin: 10px 0 0;
}

.loading {
  color: #666666;
  font-style: italic;
}

.error {
  color: #cc0000;
  margin: 10px 0;
}

.success {
  color: #008000;
  margin: 10px 0;
}

.code-block, pre {
  font-family: "Courier New", Courier, monospace;
  background: #f5f5f5;
  border: 1px solid #cccccc;
  padding: 10px 12px;
  margin: 10px 0;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.4;
  white-space: pre;
  word-wrap: break-word;
}

.file-item {
  border: 1px solid #cccccc;
  padding: 10px 12px;
  margin: 8px 0;
  background: #fafafa;
  font-size: 14px;
}

.file-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  justify-content: space-between;
}

.file-name {
  font-weight: bold;
  color: #000000;
  word-break: break-all;
}

.file-time {
  color: #666666;
  font-size: 12px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 14px;
  max-width: 480px;
}

.checkbox-line input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #000000;
  margin: 0;
}

.checkbox-line label {
  cursor: pointer;
  user-select: none;
  margin: 0;
}

code {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  background: #f5f5f5;
  padding: 2px 4px;
}

.drop-zone {
  border: 2px dashed #000000;
  padding: 32px 16px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.drop-zone:hover {
  background: #f0f0f0;
}

.drop-zone.drag-over {
  background: #e8e8e8;
  border-color: #333333;
}

#fileInput {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.drop-zone p {
  margin: 0;
  font-size: 15px;
}

.inline-button {
  background: none;
  border: none;
  color: #555555;
  text-decoration: underline;
  padding: 0;
  font-family: Times, "Times New Roman", serif;
  font-size: 15px;
  cursor: pointer;
}

.inline-button:hover {
  color: #000000;
}
