        *{box-sizing:border-box}
        body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#0f172a;background:#f3f4f6;line-height:1.5}
        .wrap{max-width:820px;margin:0 auto;padding:32px 20px 64px}
        .card{background:#fff;border-radius:14px;box-shadow:0 2px 10px rgba(15,23,42,.04);overflow:hidden;margin-bottom:20px}
        .hdr{padding:28px 32px;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff}
        .hdr .meta{display:flex;justify-content:space-between;align-items:start;gap:16px;flex-wrap:wrap}
        .hdr h1{margin:0 0 4px;font-size:22px;font-weight:700;letter-spacing:-.01em}
        .hdr .num{font-size:13px;opacity:.85;font-family:ui-monospace,monospace}
        .hdr .total{font-size:28px;font-weight:800;text-align:right}
        .hdr .total small{display:block;font-size:11px;font-weight:500;opacity:.85;text-transform:uppercase;letter-spacing:.08em}
        .body{padding:28px 32px}
        h2{font-size:15px;font-weight:700;color:#0f172a;margin:0 0 12px;text-transform:uppercase;letter-spacing:.06em}
        table{width:100%;border-collapse:collapse;font-size:14px}
        th{text-align:left;padding:10px 12px;color:#64748b;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em;border-bottom:2px solid #e5e7eb}
        td{padding:12px;border-bottom:1px solid #f1f5f9;color:#334155;vertical-align:top}
        td.r{text-align:right}
        td .desc{color:#64748b;font-size:12px;margin-top:2px}
        .tot{margin-top:16px;border-top:2px solid #e5e7eb;padding-top:12px}
        .tot-row{display:flex;justify-content:space-between;padding:6px 12px;font-size:14px;color:#475569}
        .tot-row.grand{font-size:18px;font-weight:800;color:#0f172a;margin-top:8px;padding-top:12px;border-top:1px solid #e5e7eb}
        .meta-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px;font-size:13px}
        .meta-box{padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}
        .meta-box strong{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:10px;color:#64748b;margin-bottom:3px}
        .pay-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:14px}
        .pay-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px;background:#fff;border:2px solid #4f46e5;color:#4f46e5;border-radius:10px;font-weight:700;font-size:14px;cursor:pointer;text-decoration:none;transition:all .15s}
        .pay-btn:hover{background:#4f46e5;color:#fff}
        .pay-btn.manual{border-color:#64748b;color:#64748b}
        .pay-btn.manual:hover{background:#64748b;color:#fff}
        .manual-box{margin-top:14px;padding:16px;background:#fef9c3;border-radius:10px;border:1px solid #facc15;font-size:13px;color:#713f12}
        .manual-box dl{margin:8px 0 0}
        .manual-box dt{font-weight:700;display:inline;margin-right:6px}
        .manual-box dd{display:inline;margin:0 0 6px}
        .manual-box .line{display:block;margin-bottom:4px}
        .notice{padding:12px 16px;border-radius:10px;background:#eef2ff;color:#3730a3;font-size:13px;margin-bottom:20px;border:1px solid #c7d2fe}
        .err{padding:10px 14px;border-radius:8px;background:#fef2f2;color:#b91c1c;font-size:13px;margin-bottom:10px;border:1px solid #fecaca}
        .pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
        .pill-success{background:#dcfce7;color:#166534}
        .pill-warning{background:#fef3c7;color:#92400e}
        .pill-info{background:#dbeafe;color:#1e40af}
        .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;border-radius:10px;font-weight:600;font-size:13px;cursor:pointer;border:0;text-decoration:none}
        .btn-gray{background:#fff;color:#334155;border:1px solid #cbd5e1}
        .btn-gray:hover{background:#f8fafc}
        .foot{text-align:center;padding:20px 0;color:#94a3b8;font-size:12px}
        /*
         | -- Extension --
         | Helpers added during the CodeCanyon inline-style cleanup.
         | Class prefix: is- (invoice-show).
         */
        .is-meta-row{margin-top:16px}
        .is-paid-row{text-align:center}
        .is-paid-badge{display:inline-flex;align-items:center;gap:10px;background:#dcfce7;color:#15803d;border:1px solid #86efac;padding:10px 18px;border-radius:999px;font-weight:600;font-size:14px}
        .is-paid-when{font-size:12px;color:#64748b;margin:10px 0 0}
        .is-pdf-row{text-align:center}
