* { box-sizing: border-box; }
body { margin: 0; background: #efe4cf; color: #3a2a1a; font-family: "Times New Roman", "Songti SC", serif; }
.sheet-wrap { width: min(980px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 12px; }
h1 { margin: 0 0 8px; font-size: 34px; font-weight: 600; }
.intro { margin: 0 0 16px; line-height: 1.6; }
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 0; border: 2px solid #3a2a1a; background: #f7f1e4; }
.table-side { padding: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid #3a2a1a; text-align: left; padding: 8px 6px; font-size: 15px; }
th { font-weight: 600; }
.pick { display: inline-block; margin-top: 12px; border: 2px solid #3a2a1a; padding: 6px 10px; cursor: pointer; }
.pick input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.file-remove { border: 0; background: transparent; color: #8a3b16; cursor: pointer; font: inherit; }
#convert-btn { margin-top: 12px; background: #3a2a1a; color: #f7f1e4; border: 0; padding: 8px 14px; font: inherit; cursor: pointer; }
#convert-btn:disabled { opacity: 0.4; }
.progress { margin-top: 12px; height: 8px; border: 1px solid #3a2a1a; }
.progress-bar { height: 100%; width: 0; background: #8a3b16; }
.status.is-error, .result-list .is-error { color: #8a1f1f; }
.result-list { list-style: none; padding: 0; }
.result-link { color: #8a3b16; }
.note { border-left: 8px solid #b4532a; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #f7f1e4; }
.note p { margin: 0; font-size: 20px; }
.note a { margin-top: auto; text-align: center; background: #b4532a; color: #fff8ef; text-decoration: none; padding: 10px 8px; }
.foot { width: min(980px, calc(100% - 28px)); margin: 18px auto 32px; }
.related { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; margin: 0; list-style: none; }
.related a { color: #8a3b16; }
@media (max-width: 800px) { .sheet { grid-template-columns: 1fr; } .note { border-left: 0; border-top: 8px solid #b4532a; } }
