* { box-sizing: border-box; } body { margin: 0; font-family: Arial, "Microsoft YaHei", sans-serif; background: radial-gradient(circle at 18% 10%, rgba(255, 204, 116, 0.32), transparent 28%), radial-gradient(circle at 86% 4%, rgba(91, 190, 226, 0.22), transparent 26%), linear-gradient(180deg, #fff8ed 0%, #f6f7fb 42%, #f6f7f9 100%); color: #1f2937; } .shell { width: min(1120px, calc(100% - 32px)); margin: 28px auto; } .narrow { width: min(780px, calc(100% - 32px)); } .topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; } h1 { margin: 0 0 8px; font-size: 28px; } h2 { font-size: 18px; } p { color: #5b6472; } .panel, .filters, .stats, .report-card, .missing { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; } .submit-hero { min-height: 220px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: center; margin-bottom: 18px; padding: 22px 24px 22px 28px; border: 1px solid #f3d49a; border-radius: 18px; background: linear-gradient(135deg, rgba(255, 248, 225, 0.96), rgba(230, 246, 255, 0.96)), #fff; box-shadow: 0 18px 45px rgba(39, 45, 58, 0.08); overflow: hidden; } .submit-hero-copy { min-width: 0; } .hero-kicker { display: inline-flex; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px; background: #fff7d6; color: #9a5b00; font-size: 13px; font-weight: 700; } .submit-hero h1 { margin: 0 0 8px; font-size: 32px; } .submit-hero p { max-width: 420px; margin: 0; } .submit-hero-art { position: relative; min-height: 178px; } .submit-hero-art img { display: block; object-fit: contain; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.88); box-shadow: 0 12px 24px rgba(31, 41, 55, 0.12); } .hero-art-main { width: 218px; height: 218px; margin-left: auto; justify-self: end; border-radius: 24px; } .hero-art-small { position: absolute; width: 92px; height: 92px; border-radius: 20px; } .hero-art-bed { left: 16px; top: 12px; transform: rotate(-6deg); } .hero-art-bath { left: 44px; bottom: 4px; transform: rotate(5deg); } form.panel, .history-panel, .previous-plan { box-shadow: 0 14px 34px rgba(39, 45, 58, 0.06); } form { display: grid; gap: 14px; } label { display: grid; gap: 6px; font-weight: 600; } input, textarea, button { font: inherit; border-radius: 6px; border: 1px solid #cfd5df; padding: 10px 12px; } textarea { resize: vertical; } button { background: #2563eb; color: #fff; border: 0; cursor: pointer; } .identity-box { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #dbeafe; border-radius: 6px; background: #eff6ff; } .status-options { display: flex; flex-wrap: wrap; gap: 12px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; } .status-options legend { font-weight: 700; } .status-options label { display: flex; align-items: center; gap: 6px; font-weight: 400; } .item-group { display: grid; gap: 8px; } .item-group h2 { margin: 0; } .item-group-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; } .item-group [data-list] { display: grid; gap: 8px; } .item-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 36px; gap: 8px; align-items: center; } .item-index { color: #5b6472; text-align: right; } .add-item, .remove-item { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; } .add-item { width: auto; min-width: 92px; padding: 0 12px; border: 1px solid #2563eb; background: #fff; color: #2563eb; font-size: 14px; font-weight: 700; } .add-item::after { content: " 添加一条"; font-size: 13px; } .remove-item { border: 1px solid #e5e7eb; background: #fff; color: #6b7280; font-size: 20px; line-height: 1; } .remove-item:hover { border-color: #fecaca; color: #b91c1c; background: #fef2f2; } .previous-plan { display: grid; gap: 10px; margin-top: 18px; background: #f8fafc; } .previous-plan[hidden] { display: none; } .previous-plan h2, .previous-plan p { margin: 0; } .previous-plan button { justify-self: start; } .report-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; } .status-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; } .status-normal { background: #dcfce7; color: #166534; } .status-risk { background: #fef3c7; color: #92400e; } .status-need_help { background: #fee2e2; color: #991b1b; } .filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: center; margin: 20px 0; } .check { display: flex; align-items: center; gap: 8px; font-weight: 400; } .stats { display: flex; gap: 20px; margin-bottom: 16px; } .report-list { display: grid; gap: 12px; } .report-card h3 { margin: 0 0 10px; } .report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .field-title { font-weight: 700; margin-bottom: 4px; } .history-panel { margin-top: 18px; } .history-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; } .history-list { display: grid; gap: 12px; } .history-card { border-top: 1px solid #e5e7eb; padding-top: 12px; } .history-card h3 { margin: 0 0 10px; } pre { white-space: pre-wrap; word-break: break-word; margin: 6px 0 12px; font: inherit; color: #374151; } .message.success { color: #047857; } .message.error { color: #b91c1c; } @media (max-width: 760px) { .topbar, .stats, .history-head, .report-head { display: grid; } .filters, .report-grid { grid-template-columns: 1fr; } .submit-hero { grid-template-columns: 1fr; padding: 20px; } .submit-hero-art { width: min(330px, 100%); min-height: 180px; justify-self: center; } .hero-art-main { width: 190px; height: 190px; } .hero-art-small { width: 76px; height: 76px; } }