* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #f1f5f9;
    min-height: 100vh;
}
.wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}
.wrap.narrow { max-width: 340px; padding-top: 80px; }

h1 {
    font-size: 22px;
    margin: 0 0 20px;
}

.card {
    background: #1e293b;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-top: 14px;
}
.label:first-child { margin-top: 0; }

.value { font-size: 17px; margin-top: 2px; }

.amount {
    font-size: 34px;
    font-weight: 700;
    margin-top: 4px;
}
.amount-small { font-size: 16px; font-weight: 600; color: #a5f3fc; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 13px;
    background: #334155;
}
.badge-quoted { background: #475569; }
.badge-in_progress { background: #854d0e; }
.badge-completed { background: #14532d; }

.paid-banner {
    margin-top: 18px;
    padding: 12px;
    background: #14532d;
    color: #bbf7d0;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.pay-section { margin-top: 18px; }

.pay-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
}
.pay-btn.venmo { background: #3D95CE; }
.pay-btn.apple { background: #000; }
.pay-btn.zelle { background: #6D1ED4; margin-bottom: 0; }

.zelle-box { margin-top: 10px; }
.zelle-instructions {
    font-size: 14px;
    color: #cbd5e1;
    background: #0f172a;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 8px;
}

.footer-note {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin-top: 24px;
}

/* Admin */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logout-link { color: #94a3b8; font-size: 14px; text-decoration: none; }

.summary-card { text-align: center; }

form label {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 12px;
    margin-bottom: 4px;
}
form input, form select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #f1f5f9;
    font-size: 15px;
}
.add-job-form button, .card > form > button { margin-top: 16px; }

details summary {
    cursor: pointer;
    font-weight: 600;
    padding: 4px 0;
}

.job-row-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.job-desc { color: #cbd5e1; margin-top: 4px; font-size: 14px; }

.job-controls {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}
.job-controls select {
    flex: 1;
    padding: 8px;
    font-size: 13px;
}
.paid-toggle {
    padding: 8px 14px;
    border-radius: 8px;
    background: #334155;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}
.paid-toggle.is-paid { background: #14532d; color: #bbf7d0; }

.client-link { margin-top: 12px; font-size: 12px; color: #94a3b8; }
.client-link input {
    width: 100%;
    margin-top: 4px;
    padding: 6px 8px;
    font-size: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #94a3b8;
}

.error { color: #fca5a5; }
.empty-state { color: #64748b; text-align: center; margin-top: 30px; }
