* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body { color: #222; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.55; }
.sheet {
    width: min(980px, calc(100% - 28px));
    margin: 24px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 18px;
    align-items: stretch;
}
h1 { margin: 0 0 8px; font-size: 30px; }
.intro { margin: 0 0 12px; color: #444; }
.add { display: inline-block; border-bottom: 1px solid #222; cursor: pointer; }
.add input { display: none; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { border: 1px solid #d0d0d0; padding: 8px 10px; text-align: left; font-weight: 500; }
th { font-size: 13px; color: #666; }
.ops { display: flex; gap: 8px; }
.ops button { border: 0; background: transparent; color: #245; cursor: pointer; padding: 0; }
#start-btn { margin-top: 14px; border: 1px solid #222; background: #fff; padding: 8px 14px; cursor: pointer; }
#start-btn:disabled { opacity: 0.4; cursor: default; }
.progress { height: 2px; background: #eee; margin-top: 12px; }
#progress-bar { height: 100%; width: 0; background: #222; }
.status { min-height: 1.4em; color: #555; }
.status.is-error { color: #9d2c2c; }
.result a { color: #222; font-weight: 650; }
.promo { border: 1px solid #d0d0d0; background: #f3f6f8; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.promo p { margin: 0; font-size: 20px; }
.promo a { margin-top: auto; text-align: center; background: #245; color: #fff; text-decoration: none; padding: 8px 6px; }
.foot { width: min(980px, calc(100% - 28px)); margin: 0 auto 32px; color: #555; }
.foot h2 { font-size: 15px; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; }
.foot a { color: #245; }
@media (max-width: 760px) { .sheet { grid-template-columns: 1fr; } }
