:root {
            --primary-red: #b91c1c;
            --dark-navy: #111827;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --border-color: #e5e7eb;
            --bg-soft: #f8fafc;
            --card-bg: #ffffff;
            --warning-bg: #fff7ed;
            --warning-text: #c2410c;
            --success-bg: #dcfce7;
            --success-text: #15803d;
            --pending-bg: #fef3c7;
            --pending-text: #b45309;
        }

        body {
            font-family: "DM Sans", sans-serif;
        }

        .detail-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 340px;
            gap: 20px;
        }

        .panel {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
        }

        .panel-header {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .panel-title {
            margin: 0;
            font-size: 1rem;
            color: var(--text-main);
            font-weight: 700;
        }

        .panel-body {
            padding: 20px;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 4px 10px;
            border-radius: 999px;
            font-size: 0.75rem;
            font-weight: 700;
            white-space: nowrap;
        }

        .status-approved {
            background: var(--success-bg);
            color: var(--success-text);
        }

        .status-pending {
            background: var(--pending-bg);
            color: var(--pending-text);
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px 24px;
        }

        .info-item label {
            display: block;
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-bottom: 5px;
            font-weight: 600;
        }

        .info-item div {
            font-size: 0.92rem;
            color: var(--text-main);
            font-weight: 500;
            line-height: 1.45;
        }

        .section-divider {
            border-top: 1px solid var(--border-color);
            margin: 22px 0;
        }

        .timeline {
            position: relative;
            padding-left: 22px;
        }

        .timeline::before {
            content: "";
            position: absolute;
            left: 6px;
            top: 5px;
            bottom: 5px;
            width: 2px;
            background: var(--border-color);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 18px;
        }

        .timeline-dot {
            position: absolute;
            left: -21px;
            top: 3px;
            width: 14px;
            height: 14px;
            background: var(--primary-red);
            border: 3px solid #fff;
            border-radius: 50%;
            box-shadow: 0 0 0 1px var(--border-color);
        }

        .timeline-title {
            font-weight: 700;
            color: var(--text-main);
            font-size: 0.9rem;
        }

        .timeline-meta {
            color: var(--text-muted);
            font-size: 0.78rem;
            margin-top: 3px;
        }

        .attachment-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 12px;
            margin-bottom: 10px;
            background: #fff;
        }

        .attachment-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .attachment-icon {
            width: 34px;
            height: 34px;
            border-radius: 6px;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
        }

        .summary-card {
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 16px;
        }

        .summary-card h3 {
            margin: 0 0 14px 0;
            font-size: 0.95rem;
            color: var(--text-main);
        }

        .cost-row {
            display: flex;
            justify-content: space-between;
            padding: 9px 0;
            border-bottom: 1px solid var(--border-color);
            font-size: 0.88rem;
        }

        .cost-row:last-child {
            border-bottom: none;
            font-weight: 700;
            color: var(--text-main);
        }

        .notice {
            background: #fff7ed;
            color: #9a3412;
            border: 1px solid #fed7aa;
            padding: 12px;
            border-radius: 6px;
            font-size: 0.84rem;
            line-height: 1.45;
        }

        .footer-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 24px;
        }

        @media (max-width: 1100px) {
            .detail-layout {
                grid-template-columns: 1fr;
            }

            .info-grid {
                grid-template-columns: 1fr;
            }
        }
