
        /* 基础重置与背景设定 */
        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            background-color: #03040a; 
            font-family: 'Helvetica Neue', Arial, sans-serif;
            color: #ffffff;
            overflow-x: hidden;
        }

        /* 极简的星尘背景 */
        #particles-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            opacity: 0.5;
            pointer-events: none;
        }

        /* 主体内容容器 */
        .container {
            position: relative;
            z-index: 10;
            max-width: 1000px; /* 增加了宽度以容纳新列 */
            margin: 0 auto;
            padding: 40px 20px;
            box-sizing: border-box;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* 顶部导航与标题 */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 20px;
        }

        .header h1 {
            font-size: 24px;
            font-weight: 300;
            letter-spacing: 2px;
            margin: 0;
            color: #ffda99;
            text-shadow: 0 0 20px rgba(255, 200, 100, 0.3);
        }

        /* 返回按钮 */
        .back-btn {
            text-decoration: none;
            color: #ffffff;
            font-size: 14px;
            letter-spacing: 1px;
            padding: 8px 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(4px); 
            -webkit-backdrop-filter: blur(4px);
            transition: all 0.3s ease;
        }

        .back-btn:hover {
            border-color: rgba(255, 200, 100, 0.6);
            color: #ffda99;
            background: rgba(255, 200, 100, 0.1);
        }

        /* 表格容器（磨砂玻璃特效） */
        .table-wrapper {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            overflow-x: auto; 
            animation: fadeIn 1s ease-out forwards;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            min-width: 800px; /* 确保移动端列不会被极度压缩 */
        }

        th, td {
            padding: 16px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            vertical-align: middle;
        }

        th {
            font-weight: 400;
            color: #ffda99;
            font-size: 14px;
            letter-spacing: 1px;
            text-transform: uppercase;
            background: rgba(0, 0, 0, 0.2);
        }

        td {
            font-weight: 300;
            font-size: 15px;
            color: #e0e0e0;
        }

        tbody tr {
            transition: background 0.2s ease;
        }

        tbody tr:hover {
            background: rgba(255, 200, 100, 0.08);
        }

        /* === 关键：数字列全部右对齐 === */
        th:nth-child(3), td:nth-child(3), /* 每米重量 */
        th:nth-child(4), td:nth-child(4), /* 长度 */
        th:nth-child(5), td:nth-child(5)  /* 小计 */
        {
            text-align: right;
            font-family: 'Courier New', Courier, monospace; /* 等宽字体更适合数字对齐 */
        }

        /* 长度输入框的磨砂样式 */
        .length-input {
            width: 80px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffda99;
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 15px;
            text-align: right;
            outline: none;
            transition: all 0.3s;
            font-family: inherit;
        }

        .length-input:focus {
            border-color: #ffda99;
            background: rgba(255, 200, 100, 0.1);
            box-shadow: 0 0 10px rgba(255, 150, 0, 0.2);
        }

        /* 隐藏输入框自带的上下箭头 */
        .length-input::-webkit-outer-spin-button,
        .length-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .length-input[type=number] {
            -moz-appearance: textfield;
        }

        /* 底部汇总行样式 */
        tfoot {
            background: rgba(0, 0, 0, 0.3);
        }

        tfoot th {
            color: #ffffff;
            font-size: 16px;
            font-weight: bold;
            border-top: 2px solid rgba(255, 200, 100, 0.4); /* 加粗顶部边框区分 */
        }
        
        #total-weight {
            color: #ffda99;
            font-size: 18px;
            text-shadow: 0 0 10px rgba(255, 200, 100, 0.5);
        }

        #status-message {
            text-align: center;
            padding: 40px;
            font-weight: 300;
            color: #ffda99;
            letter-spacing: 1px;
        }

        @keyframes fadeIn {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .header { flex-direction: column; align-items: flex-start; gap: 15px; }
            th, td { padding: 12px 10px; font-size: 14px; }
            .length-input { width: 60px; }
        }
    