:root { font-family: system-ui, "Microsoft YaHei", sans-serif; color: #142239; background: #eef3fa; }
* { box-sizing: border-box; }
body { margin: 0; padding: clamp(1rem, 6vw, 5rem) 1rem; }
main { max-width: 42rem; margin: auto; background: white; border: 1px solid #d6e0ee; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 40px #243d6512; }
header { background: #142b50; color: #fff; padding: clamp(1.5rem, 6vw, 3rem); }
.brand { font-size: .95rem; color: #b8d4ff; }
h1 { margin: .45rem 0; font-size: clamp(2rem, 6vw, 3rem); }
header p { margin: 0; color: #dce8fa; }
form, section { padding: 1.5rem clamp(1.5rem, 6vw, 3rem); display: grid; gap: .7rem; }
section { border-top: 1px solid #d6e0ee; }
label { font-weight: 650; }
input, button { font: inherit; }
input:not([type=file]) { width: 100%; min-width: 0; padding: .7rem; border: 1px solid #899ab3; border-radius: 8px; }
.drop { display: grid; gap: .6rem; padding: 1.25rem; border: 2px dashed #849bc0; border-radius: 12px; background: #f4f8ff; cursor: pointer; }
.drop span { font-size: .9rem; color: #455775; font-weight: 400; }
.drop input { max-width: 100%; }
.drop.hover { background: #dbe9ff; }
button { padding: .75rem 1rem; border: 0; border-radius: 8px; background: #174bb5; color: white; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #ed9b25; outline-offset: 3px; }
progress { width: 100%; }
#status { margin: 0; }
#status:empty, [hidden] { display: none; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.actions input { flex: 1 1 13rem; }
a { color: #174bb5; justify-self: start; }
