:root {
    --mono-bg: #ffffff;
    --mono-card-bg: #ffffff;
    --mono-border: #000000;
    --mono-text: #000000;
    --mono-sub: #555555;
    --mono-accent: #000000;
    --mono-font: 'Times New Roman', Times, 'Georgia', serif;
}

body {
    margin: 0; background: var(--mono-bg); color: var(--mono-text);
    font-family: var(--mono-font); font-size: 13px; -webkit-font-smoothing: antialiased;
}

.mono-header {
    position: fixed; top: 0; width: 100%; height: 56px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px);
    z-index: 2000; border-bottom: 0.5px solid var(--mono-border);
}

.mono-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
}

.mono-logo-nav { display: flex; align-items: center; gap: 30px; }
.mono-logo img { height: 20px; }
.mono-nav { display: flex; list-style: none; gap: 24px; margin: 0; padding: 0; }
.mono-nav a { color: var(--mono-sub); text-decoration: none; font-weight: bold; }
.mono-nav a:hover, .mono-nav a.active { color: var(--mono-accent); border-bottom: 0.5px solid var(--mono-accent); }
.mono-user-zone { display: flex; align-items: center; gap: 16px; }
.mono-btn-login { background: none; color: #000; padding: 6px 16px; border: 0.5px solid var(--mono-border); text-decoration: none; font-size: 11px; font-weight: bold; }
.mono-avatar { width: 26px; height: 26px; border-radius: 50%; border: 0.5px solid var(--mono-border); }
.mono-m-trigger { display: none; color: var(--mono-text); font-size: 20px; cursor: pointer; }

/* 留白通告 */
.mono-notice-bar { margin: 80px auto 20px; max-width: 1200px; padding: 0 20px; }
.mono-notice-inner { border: 0.5px solid var(--mono-border); padding: 12px 24px; background: var(--mono-card-bg); display: flex; align-items: center; }
.mono-notice-dot { width: 4px; height: 4px; background: var(--mono-accent); border-radius: 50%; margin-right: 12px; }

/* 页脚 */
.mono-footer { padding: 40px 0; background: #ffffff; border-top: 0.5px solid var(--mono-border); margin-top: 60px; }
.mono-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mono-copyright { font-size: 11px; color: var(--mono-sub); display: flex; align-items: center; }
.mono-status-indicator { width: 4px; height: 4px; background: var(--mono-accent); border-radius: 50%; margin-right: 10px; }

/* 布局 155: 顶部双线打字机纸带 ➡️ 下方双列打孔穿孔纸商品单据收据卡 */
.mono-home-wrap { max-width: 1000px; margin: 40px auto; padding: 0 20px; min-height: 80vh; }

/* 顶部双线打字机纸带 */
.mono-typewriter-strip {
    border-top: 1.5px double var(--mono-border); border-bottom: 1.5px double var(--mono-border);
    padding: 15px 0; margin-bottom: 40px; text-align: center; font-size: 11px; letter-spacing: 2px;
}

.mono-cat-hd { font-size: 14px; font-weight: bold; color: var(--mono-text); margin: 40px 0 25px; display: flex; align-items: center; }
.mono-cat-hd::after { content: ""; flex: 1; height: 0.5px; background: var(--mono-border); margin-left: 20px; }
.mono-cat-hd::before { content: "― "; color: var(--mono-accent); margin-right: 8px; }

.mono-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* 双列打孔收据卡 (0.5px 极细线 + 纯直角 + 悬空) */
.mono-card-receipt {
    display: block; background: var(--mono-card-bg); text-decoration: none; transition: 0.2s;
    padding: 24px 24px 24px 45px; position: relative; border: 0.5px solid var(--mono-border);
}
.mono-card-receipt:hover { border-color: var(--mono-border); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.mono-card-receipt:hover .mono-name { border-bottom-color: var(--mono-accent); }

/* 模拟打孔边缘 */
.mono-card-receipt::before {
    content: "• • • • • • • • •"; position: absolute; left: 12px; top: 0; bottom: 0;
    width: 15px; writing-mode: vertical-rl; text-orientation: upright;
    font-size: 8px; color: rgba(0,0,0,0.15); letter-spacing: 10px; overflow: hidden;
}

.mono-img-box { width: 100%; aspect-ratio: 2.2; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: rgba(0,0,0,0.01); border: 0.5px solid var(--mono-border); }
.mono-img-box img { width: 35%; height: 35%; object-fit: contain; }
.mono-name { font-size: 14px; height: 38px; color: var(--mono-text); line-height: 1.5; overflow: hidden; margin-bottom: 15px; }
.mono-footer-meta { display: flex; justify-content: space-between; align-items: center; }
.mono-price { font-size: 15px; font-weight: bold; color: var(--mono-accent); }
.mono-sell-count { font-size: 11px; color: var(--mono-sub); }
.mono-tag-auto { position: absolute; top: 12px; right: 15px; font-size: 9px; color: var(--mono-accent); border: 0.5px solid var(--mono-border); padding: 1px 6px; }

/* Detail Pages */
.mono-trade-wrap { padding: 40px 10px; min-height: 80vh; }
.mono-trade-node { max-width: 900px; margin: 0 auto; border: 0.5px solid var(--mono-border); display: flex; flex-wrap: wrap; background: var(--mono-card-bg); }
.mono-media-side { flex: 0 0 32%; background: rgba(0,0,0,0.01); padding: 30px; display: flex; align-items: center; border-right: 0.5px solid var(--mono-border); }
.mono-media-side img { width: 100%; height: auto; }
.mono-form-side { flex: 1; padding: 40px; min-width: 320px; }
.mono-title { font-size: 22px; font-weight: 700; color: var(--mono-text); margin-bottom: 10px; }
.mono-tag-status { display: inline-block; padding: 3px 12px; border: 0.5px solid var(--mono-border); color: var(--mono-text); font-size: 11px; margin-bottom: 25px; }
.mono-price-node { margin-bottom: 30px; padding: 20px; background: var(--mono-bg); border: 0.5px solid var(--mono-border); display: flex; justify-content: space-between; align-items: center; }
.mono-price-val { font-size: 26px; font-weight: 800; color: var(--mono-accent); }
.mono-field { margin-bottom: 20px; }
.mono-label { display: block; font-size: 11px; color: var(--mono-sub); margin-bottom: 8px; }
.mono-input { width: 100%; height: 44px; background: var(--mono-bg); border: 0.5px solid var(--mono-border); color: var(--mono-text); padding: 0 15px; box-sizing: border-box; outline: none; }
.mono-input:focus { border-color: var(--mono-accent); }

/* 无填充下划线纯文字按钮（Stark 极致线段风格） */
.mono-btn-submit { width: 100%; height: 48px; background: none; color: var(--mono-text); border: none; border-bottom: 1.5px solid var(--mono-border); cursor: pointer; font-size: 14px; font-weight: 700; transition: 0.3s; }
.mono-btn-submit:hover { border-bottom-width: 3px; letter-spacing: 1.5px; }
.mono-btn-submit:disabled { color: #a5a5a0; border-bottom-color: #cbd3ca; cursor: not-allowed; }
.mono-desc-box { max-width: 900px; margin: 20px auto 0; border: 0.5px solid var(--mono-border); padding: 30px; background: var(--mono-card-bg); color: var(--mono-sub); }
.mono-desc-title { font-size: 12px; font-weight: 700; color: var(--mono-text); margin-bottom: 15px; border-left: 2px solid var(--mono-accent); padding-left: 10px; }

/* Queries & Lists */
.mono-query-wrap { max-width: 520px; margin: 80px auto; padding: 0 20px; min-height: 70vh; }
.mono-query-node { background: var(--mono-card-bg); border: 0.5px solid var(--mono-border); padding: 30px; margin-bottom: 20px; }
.mono-btn-prime { background: none; color: var(--mono-text); border: none; border-bottom: 1.5px solid var(--mono-border); padding: 12px 0; font-weight: 700; font-size: 13px; cursor: pointer; width: 100%; }

@media (max-width: 768px) {
    .mono-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .mono-card-receipt { padding: 24px; }
    .mono-card-receipt::before { display: none; }
    .mono-typewriter-strip { margin-left: 0; }
    .mono-header { position: relative; }
    .mono-nav { position: fixed; top: 56px; left: -100%; width: 100%; height: 100vh; background: var(--mono-bg); flex-direction: column; padding: 40px; transition: 0.3s; gap: 30px; }
    .mono-nav.is-open { left: 0; }
    .mono-m-trigger { display: block; }
}