:root{
  --bg: #eef9f3; --panel: #ffffff; --panel-2: #e2f3ea; --line: #c8e6d6;
  --accent: #16794f; --accent-soft: #d2eee0; --accent-dim: #eff8f3;
  --text: #12281d; --muted: #5b7d6c; --muted-2: #92ab9e; --bad: #b3402f;
}


.section-box{ background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.label{ display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; color: var(--muted); }

.dropzone{ border: 2px dashed var(--line); border-radius: 10px; padding: 30px 20px; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.dropzone:hover, .dropzone.dragover{ border-color: var(--accent); background: var(--accent-dim); }
.dropzone .icon{ font-size: 28px; margin-bottom: 8px; }
.dropzone .main{ font-size: 14px; font-weight: 600; }
.dropzone .sub{ font-size: 12px; color: var(--muted); margin-top: 4px; }
input[type=file]{ display: none; }
.file-info{ margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.file-info b{ color: var(--text); }

.output{
  min-height: 220px; max-height: 420px; padding: 16px; overflow: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-all;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.output.placeholder{ color: var(--muted-2); font-family: 'Inter', sans-serif; font-size: 14px; word-break: normal; }
.loading{ text-align: center; padding: 20px 10px; color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 13px; }

.btns{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.app{ padding: 11px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 13.5px; font-family: 'Inter', sans-serif; color: #fff; background: var(--accent); transition: filter .15s ease; }
.app:hover{ filter: brightness(1.08); }
.gray{ background: var(--line); color: var(--text); }

.note{ margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
