/* Obsolescence Theme: Layout 402 (Carbon Duplicate & Vintage Invoice Style) */
body { background: #fdfcf7; font-family: "Courier New", Courier, "Georgia", serif; color: #2b3e5c; margin: 0; padding: 0; }
.obsolescence-layout { display: flex; flex-direction: column; min-height: 100vh; position: relative; }
.obsolescence-head-wrap { border-bottom: 2px solid #2b3e5c; padding: 25px 0; background: #fdfcf7; }
.obsolescence-brand-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1140px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.obsolescence-logo img { max-height: 42px; display: block; filter: sepia(0.5) contrast(1.2) brightness(0.92); }
.obsolescence-menu { display: flex; list-style: none; padding: 0; margin: 0; gap: 30px; }
.obsolescence-menu a { color: rgba(43, 62, 92, 0.8); text-decoration: none; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 4px; transition: all 0.2s; }
.obsolescence-menu a:hover, .obsolescence-menu .active { border-bottom: 2px solid #2b3e5c; color: #2b3e5c; font-weight: bold; }
.obsolescence-columns { display: flex; gap: 24px; max-width: 1140px; margin: 30px auto; padding: 0 20px; box-sizing: border-box; width: 100%; flex-grow: 1; }
.obsolescence-col-left { width: 25%; flex-shrink: 0; }
.obsolescence-col-right { width: 75%; flex-grow: 1; min-width: 0; }
.obsolescence-binder-panel { background: #fcf9f2; border: 1.5px solid #2b3e5c; padding: 25px; box-sizing: border-box; border-right: 2px dashed rgba(43, 62, 92, 0.25); position: relative; }
.obsolescence-binder-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 1px dashed rgba(43, 62, 92, 0.1); pointer-events: none; margin: 4px; border-right: none; }
.obsolescence-stitch-line { width: 100%; height: 2px; border-top: 1px dashed #2b3e5c; margin: 25px 0; }
.obsolescence-notice-pod { background: #ffffff; border: 1.5px solid #2b3e5c; padding: 20px 25px; margin-bottom: 30px; line-height: 1.7; font-size: 13.5px; color: #2b3e5c; position: relative; }
.obsolescence-notice-pod::before { content: "一式多联单据 // INVOICE"; position: absolute; top: -10px; left: 20px; background: #fdfcf7; padding: 0 8px; font-size: 11px; font-weight: bold; color: #e11d48; letter-spacing: 0.5px; }
.obsolescence-section-title { font-size: 15px; font-weight: bold; color: #2b3e5c; margin: 0 0 20px 0; border-top: 1px solid #2b3e5c; border-bottom: 1px dashed #2b3e5c; padding: 10px 5px; display: flex; align-items: center; text-transform: uppercase; letter-spacing: 1px; }
.obsolescence-section-title i { margin-right: 10px; color: #e11d48; }
.obsolescence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.obsolescence-slip-card { background: #ffffff; border: 1.5px solid #2b3e5c; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; position: relative; border-radius: 0; }
.obsolescence-slip-card::after { content: "一式二联"; position: absolute; top: 0; right: 15px; border: 1px solid rgba(43, 62, 92, 0.3); border-top: none; font-size: 9px; padding: 2px 6px; background: #fafafa; }
.obsolescence-slip-card:hover { border-color: #e11d48; transform: translateY(-2px); }
.obsolescence-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.obsolescence-card-title { font-size: 14px; font-weight: bold; color: #2b3e5c; line-height: 1.5; }
.obsolescence-badge-auto { border: 1.5px solid #e11d48; color: #e11d48; background: rgba(225,29,72,0.02); padding: 1px 6px; font-size: 10.5px; font-weight: bold; }
.obsolescence-badge-manual { border: 1px dashed #7f8c8d; color: #7f8c8d; background: transparent; padding: 1px 6px; font-size: 10.5px; }
.obsolescence-card-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 15px; border-top: 1px dashed rgba(43, 62, 92, 0.15); padding-top: 15px; }
.obsolescence-price-box { display: flex; flex-direction: column; }
.obsolescence-qty-info { font-size: 11px; color: #7f8c8d; margin-bottom: 3px; }
.obsolescence-price { font-size: 19px; font-weight: bold; color: #e11d48; }
.obsolescence-btn-action { background: transparent; color: #2b3e5c !important; border: 1.5px solid #2b3e5c; padding: 7px 18px; font-size: 12px; font-weight: bold; cursor: pointer; transition: all 0.25s; text-decoration: none !important; display: inline-block; letter-spacing: 0.5px; }
.obsolescence-btn-action:hover { background: #2b3e5c; color: #ffffff !important; }
.obsolescence-paper-panel { border: 1px solid #2b3e5c; background: #ffffff; padding: 35px; box-sizing: border-box; position: relative; }
.obsolescence-paper-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 1px dashed rgba(43, 62, 92, 0.08); pointer-events: none; margin: 4px; }
.layui-form-label { background: #fdfaf2 !important; border: 1.5px solid #2b3e5c !important; border-right: none !important; color: #2b3e5c !important; border-radius: 0 !important; font-weight: bold !important; }
.layui-input { border-radius: 0 !important; border: 1.5px solid #2b3e5c !important; background: #ffffff !important; color: #2b3e5c !important; }
.layui-input:focus { border-color: #e11d48 !important; box-shadow: none !important; }

/* Mobile Adaptations */
@media (max-width: 992px) {
    .obsolescence-columns { flex-direction: column; padding: 0 15px; }
    .obsolescence-col-left, .obsolescence-col-right { width: 100%; }
    .obsolescence-col-left { display: none; }
}
@media (max-width: 768px) {
    .obsolescence-brand-nav { flex-direction: column; gap: 15px; padding: 0 10px; }
    .obsolescence-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .obsolescence-grid { grid-template-columns: 1fr; gap: 15px; }
}
