/* latch.css - Layout 105 Skew Split Light Theme Style Book */
body {
    background-color: #fbfbfa;
    color: #42403d;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    margin: 0; padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
.latch-container { max-width: 1100px; margin: 0 auto; padding: 25px; box-sizing: border-box; }
.latch-header { background: rgba(251, 251, 250, 0.9); border-bottom: 1px solid #f0ede8; }
.latch-header-container { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.latch-logo img { height: 35px; display: block; }
.latch-nav { display: flex; list-style: none; margin: 0; padding: 0; gap: 24px; }
.latch-nav a { color: #5c5956; text-decoration: none; font-size: 14px; font-weight: 500; }
.latch-nav a:hover { color: #8e7b6c; }

/* 斜切对称双栏核心卡片 */
.latch-skew-panel {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #edeae4;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.latch-split-left {
    flex: 1 1 50%;
    min-width: 320px;
    background: #f7f6f2;
    position: relative;
    padding: 30px;
    box-sizing: border-box;
}
/* PC端对称斜切分界效果 */
@media (min-width: 769px) {
    .latch-split-left {
        clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
        padding-right: 8%;
    }
}
.latch-split-right {
    flex: 1 1 50%;
    min-width: 320px;
    padding: 30px;
    box-sizing: border-box;
}

/* 交付流/评论流 列表 */
.latch-comment-stream {
    height: 150px;
    overflow: hidden;
    border: 1px solid #f2eee8;
    background: #fafaf8;
    border-radius: 8px;
    padding: 10px 15px;
    box-sizing: border-box;
    position: relative;
    margin-top: 15px;
}
.latch-comment-item {
    font-size: 12px;
    color: #6a6764;
    padding: 6px 0;
    border-bottom: 1px dashed #edeae4;
    animation: latchScrollUp 10s infinite linear;
}
@keyframes latchScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-80px); }
}

/* 基础卡片与通用组件 */
.latch-card {
    background: #ffffff;
    border: 1px solid #edeae4;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}
.latch-card-header {
    font-size: 14px; font-weight: 700; color: #3d3b38;
    border-bottom: 1px dashed #f2eee8; padding-bottom: 10px; margin-bottom: 15px;
}
.latch-notice { background: #fdfaf2; border-left: 3px solid #8e7b6c; padding: 12px 15px; border-radius: 4px; margin-bottom: 20px; font-size: 12px; color: #7c6a46; border: 1px solid #f2eee8; }

/* 表格、输入框及按钮 */
.latch-table { width: 100%; border-collapse: collapse; }
.latch-table th { text-align: left; padding: 10px; border-bottom: 1px solid #edeae4; color: #8e8b87; font-weight: 400; font-size: 12px; }
.latch-table td { padding: 12px 10px; border-bottom: 1px dashed #edeae4; font-size: 13px; }
.latch-input { width: 100%; padding: 10px 12px; border: 1px solid #e1ddd7; border-radius: 6px; background: #faf9f6; box-sizing: border-box; font-size: 13px; outline: none; margin-bottom: 12px; }
.latch-input:focus { border-color: #8e7b6c; }
.latch-btn { display: inline-block; background: #5c5956; color: #fff !important; border: none; padding: 9px 18px; border-radius: 5px; font-size: 13px; text-align: center; cursor: pointer; text-decoration: none; }
.latch-btn:hover { background: #73706d; }
.latch-btn-fluid { display: block; width: 100%; box-sizing: border-box; }
.latch-btn-disabled { background: #d0cdc9 !important; cursor: not-allowed; }
.latch-badge { padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.latch-badge-auto { background: #edf5f1; color: #2e693f; }
.latch-badge-manual { background: #fdf3f3; color: #9c3a3a; }
.latch-text-green { color: #2e693f; font-weight: bold; }
.latch-text-red { color: #9c3a3a; font-weight: bold; }
.latch-price { color: #b53e3e; font-weight: bold; font-size: 15px; }

/* 详情自适应双栏 */
.latch-preview-img { width: 100%; height: auto; display: block; border-radius: 8px; }
.latch-form-item { margin-bottom: 14px; }
.latch-form-label { display: block; font-size: 12px; font-weight: 700; color: #6a6764; margin-bottom: 6px; }

/* 页脚 */
.latch-footer { text-align: center; padding: 35px 20px; font-size: 11px; color: #9c9995; border-top: 1px solid #edeae4; margin-top: 40px; }
.latch-footer a { color: #73706d; text-decoration: none; margin: 0 8px; }
