/* pipe.css - Layout 110 Calendar Grid Style Book */
body {
    background-color: #faf8f5;
    color: #4a4845;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    margin: 0; padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
.pipe-container { max-width: 1000px; margin: 0 auto; padding: 25px; box-sizing: border-box; }
.pipe-header { background: #ffffff; border-bottom: 1px solid #e5e2dd; }
.pipe-header-container { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.pipe-logo img { height: 35px; display: block; }
.pipe-nav { display: flex; list-style: none; margin: 0; padding: 0; gap: 24px; }
.pipe-nav a { color: #5c5956; text-decoration: none; font-size: 14px; font-weight: 500; }
.pipe-nav a:hover { color: #8e7b6c; }

/* 顶部全局筛选条 */
.pipe-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e2dd;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 25px;
    font-size: 13px;
    box-sizing: border-box;
}
.pipe-filter-links { display: flex; gap: 15px; }
.pipe-filter-links a { color: #5c5956; text-decoration: none; font-weight: bold; }
.pipe-filter-links a:hover, .pipe-filter-links a.active { color: #8e7b6c; }

/* 交互式极简日历网格 */
.pipe-calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.pipe-calendar-cell {
    background: #ffffff;
    border: 1px solid #e5e2dd;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}
/* 鼠标悬停日期格子向上滑动且显露购买细节 */
.pipe-calendar-cell:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    border-color: #8e7b6c;
}
.pipe-date-num {
    font-size: 28px;
    font-weight: 700;
    color: #e5e2dd;
    line-height: 1;
    margin-bottom: 12px;
    font-family: "Courier New", monospace;
    transition: color 0.25s;
}
.pipe-calendar-cell:hover .pipe-date-num {
    color: #8e7b6c;
}

/* 简约卡片与基本元素 */
.pipe-card {
    background: #ffffff;
    border: 1px solid #e5e2dd;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}
.pipe-card-header {
    font-size: 14px; font-weight: 700; color: #3d3b38;
    border-bottom: 1px dashed #e5e2dd; padding-bottom: 10px; margin-bottom: 15px;
}
.pipe-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 #e5e2dd; }
.pipe-table { width: 100%; border-collapse: collapse; }
.pipe-table th { text-align: left; padding: 10px; border-bottom: 1px solid #e5e2dd; color: #8e8b87; font-weight: 400; font-size: 12px; }
.pipe-table td { padding: 12px 10px; border-bottom: 1px dashed #e5e2dd; font-size: 13px; }
.pipe-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; }
.pipe-input:focus { border-color: #8e7b6c; }
.pipe-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; }
.pipe-btn:hover { background: #73706d; }
.pipe-btn-fluid { display: block; width: 100%; box-sizing: border-box; }
.pipe-btn-disabled { background: #d0cdc9 !important; cursor: not-allowed; }
.pipe-badge { padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.pipe-badge-auto { background: #edf5f1; color: #2e693f; }
.pipe-badge-manual { background: #fdf3f3; color: #9c3a3a; }
.pipe-text-green { color: #2e693f; font-weight: bold; }
.pipe-text-red { color: #9c3a3a; font-weight: bold; }
.pipe-price { color: #b53e3e; font-weight: bold; font-size: 15px; }

/* 详情自适应双栏 */
.pipe-detail-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.pipe-detail-left { flex: 1 1 280px; }
.pipe-detail-right { flex: 1.2 1 360px; }
.pipe-preview-img { width: 100%; height: auto; display: block; border-radius: 8px; }
.pipe-form-item { margin-bottom: 14px; }
.pipe-form-label { display: block; font-size: 12px; font-weight: 700; color: #6a6764; margin-bottom: 6px; }

/* 页脚 */
.pipe-footer { text-align: center; padding: 35px 20px; font-size: 11px; color: #9c9995; border-top: 1px solid #e5e2dd; margin-top: 40px; }
.pipe-footer a { color: #73706d; text-decoration: none; margin: 0 8px; }
