
 :root {
  --bg: #2e3440;     /* Polar Night Base */
  --panel: #3b4252;  /* Polar Night Elevated Panel */
  --text: #eceff4;   /* Snow Storm Primary Text */
  --muted: #d8dee9;  /* Snow Storm Secondary Text */
  --accent: #88c0d0; /* Frost Cyan Accent */
  --border: #434c5e; /* Polar Night Divider Line */
}

body {
    font-size: 18px;
    margin: 0;
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    line-height: 1.2;
}

input,
textarea,
button {
    font: inherit;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 10px;
}

input,
textarea {
    width: 100%;
    background: #1f2933;
    color: var(--text);
}

textarea {
    min-height: 500px;
    font-family: monospace;
}

.file-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding-left: 40px;
}
button,
.button {
    display: inline-block;
    background: var(--accent);
    color: #1f2933;
    border: none;
    padding: 1px 3px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

button:hover,
.button:hover {
    opacity: 0.9;
    text-decoration: none;
}

.toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.file-list {
    list-style: none;
    padding: 0;
}

.file-list li {
    background: #1f2933;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
}

.file-actions {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

pre {
    background: #1f2933;
    padding: 14px;
    border-radius: 10px;
    overflow-x: auto;
}

code {
    background: #1f2933;
    padding: 2px 5px;
    border-radius: 5px;
}

.markdown {
    font-size: 1.08rem;
    background: #1f2933;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.markdown h1,
.markdown h2,
.markdown h3 {
    margin-top: 1.4em;
}

.markdown h1:first-child,
.markdown h2:first-child,
.markdown h3:first-child {
    margin-top: 0;
}
