:root { color-scheme: light; font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: #f4f7f8; color: #17232c; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { max-width: 1160px; margin: 0 auto; padding: 28px 22px 48px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid #dce6e7; }
.brand { display: flex; align-items: center; gap: 12px; }
.mark { width: 38px; height: 38px; display: grid; place-items: center; background: #0a9f9d; color: #fff; font-weight: 800; font-size: 18px; }
h1 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.subtitle { margin: 5px 0 0; color: #627279; font-size: 14px; }
.logout { border: 1px solid #b8c7c9; background: #fff; color: #415258; padding: 9px 12px; }
.grid { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: 24px; padding-top: 24px; }
.left-column { display: grid; align-content: start; gap: 16px; }
.panel { background: #fff; border: 1px solid #dbe5e6; border-radius: 6px; }
.panel-title { margin: 0; padding: 18px 20px; font-size: 17px; border-bottom: 1px solid #e6eeee; }
.form { padding: 20px; display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid #bacacc; border-radius: 4px; padding: 11px 12px; color: #17232c; background: #fff; }
textarea { min-height: 94px; resize: vertical; }
.hint { margin: -2px 0 0; color: #738288; font-size: 12px; line-height: 1.55; }
.submit { border: 0; background: #079b98; color: #fff; padding: 12px 16px; font-weight: 700; border-radius: 4px; }
.submit:disabled { background: #94b7b5; cursor: wait; }
.maintenance { overflow: hidden; }
.maintenance summary { padding: 14px 20px; font-size: 13px; font-weight: 700; color: #607178; cursor: pointer; }
.maintenance[open] summary { border-bottom: 1px solid #e6eeee; }
.maintenance-submit { border: 1px solid #7a8c91; background: #fff; color: #3b4e54; padding: 10px 14px; font-weight: 700; border-radius: 4px; }
.maintenance-submit:disabled { opacity: .55; cursor: wait; }
.notice { min-height: 22px; margin: 0; color: #c34a18; font-size: 13px; }
.tasks { padding: 0; margin: 0; list-style: none; }
.task { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e7eeee; }
.task:last-child { border-bottom: 0; }
.task-id { font-weight: 800; font-size: 14px; }
.task-meta { margin-top: 5px; color: #6a7a80; font-size: 12px; word-break: break-all; }
.task-reason { margin-top: 8px; color: #3e5056; font-size: 13px; line-height: 1.5; }
.task-step { margin-top: 10px; padding-left: 10px; border-left: 3px solid #0a9f9d; color: #20343a; font-size: 13px; line-height: 1.5; }
.task-step span { display: block; margin-top: 2px; color: #64767c; }
.task-runtime { margin-top: 6px; color: #7a888d; font-size: 11px; }
.retry { margin-top: 10px; border: 1px solid #0a9f9d; background: #fff; color: #087d7b; padding: 7px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.retry:disabled { opacity: .55; cursor: wait; }
.poll-error { min-height: 20px; margin: 0; padding: 8px 20px 0; color: #b13b20; font-size: 12px; }
.status { height: fit-content; padding: 5px 8px; border-radius: 3px; color: #0d4d4d; background: #d9f2ef; font-size: 12px; white-space: nowrap; }
.status.warn { color: #885000; background: #fff0c7; }
.status.problem { color: #a22814; background: #ffe1db; }
.status.ready { color: #086128; background: #d9f3df; }
.empty { padding: 36px 20px; color: #75858b; text-align: center; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 390px); padding: 30px; background: #fff; border: 1px solid #dce6e7; border-radius: 6px; }
.login-card h1 { margin-bottom: 8px; }
.login-card p { color: #697980; line-height: 1.55; font-size: 14px; }
.login-card form { display: grid; gap: 14px; margin-top: 22px; }
@media (max-width: 760px) { .shell { padding: 20px 14px 32px; } .topbar { align-items: center; } .subtitle { display: none; } .grid { grid-template-columns: 1fr; gap: 16px; } }
