.input,.result { background:#16191b; border:1px solid #383f40; padding:clamp(16px,3vw,30px); border-radius:14px; margin-bottom:1rem; }
textarea { width:100%; color:#ddede0; background:#0d1210; border:1px solid #4e5953; border-radius:8px; padding:.7rem; font:1rem/1.45 monospace; }
.bar,.settings { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem; margin:.6rem 0; }
.file { position:relative; overflow:hidden; color:#e4dfd6; background:#363736; border-radius:8px; padding:.65rem 1rem; }
.file input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
.file:focus-within { outline:3px solid white; }
.settings label { flex:1; min-width:125px; }
.settings select { margin-top:.35rem; }
.scroll { overflow:auto; max-height:65vh; }
table { border-collapse:separate; border-spacing:0; min-width:100%; }
th,td { text-align:right; white-space:nowrap; padding:.65rem; border-bottom:1px solid #3c443e; }
thead th { position:sticky; top:0; background:#293c33; }
th:first-child { text-align:left; }
tbody tr:last-child { background:#26332a; color:#f0c680; font-weight:700; }
#save,#read { background:#edb660; color:#281d0a; font-weight:700; }
#save { margin-top:1rem; }
[data-theme="light"] .input, [data-theme="light"] .result { background:var(--surface);border-color:var(--border); }
[data-theme="light"] textarea { background:#f4f8f4;color:#293c2f; }
[data-theme="light"] thead th { background:#dcebe0; }
[data-theme="light"] tbody tr:last-child { background:#e5eee5;color:#62461f; }

/* 2026-12-01 다듬기: 사이트 색으로, 행 이름이 흐리지 않게 */
.input,.result{background:var(--surface);border-color:var(--line);border-radius:16px}
textarea{background:#0f0f13;color:var(--text);border-color:var(--border-2);border-radius:10px;font:.98rem/1.5 "JetBrains Mono",ui-monospace,Menlo,monospace}
.file{background:var(--surface-3);color:var(--text);border:1px solid rgba(255,255,255,.08);border-radius:10px;font-weight:600;min-height:42px;display:inline-flex;align-items:center}
#read{background:var(--surface-3);color:var(--text);font-weight:600}
#save{background:var(--accent);color:#1a1206}
thead th{background:#1f1f26;color:var(--text-2)}
tbody th{color:var(--text);font-size:.95rem;font-weight:600}
tbody tr:last-child{background:var(--accent-dim);color:var(--accent)}tbody tr:last-child th{color:var(--accent)}
#status{color:var(--text-2)}
