/*
 * OjaLinks Customer Dashboard
 * v53.1 — standalone SaaS dashboard UI
 *
 * This file must remain CSS-only. It is deliberately scoped to the customer
 * dashboard so Workreap/theme styles cannot break the customer application.
 */

body.oj-dashboard-standalone-customer {
    --oj-customer-orange: #ff6800;
    --oj-customer-orange-dark: #e85b00;
    --oj-customer-black: #000000;
    --oj-customer-navy: #081a3a;
    --oj-customer-bg: #f5f7fb;
    --oj-customer-panel: #ffffff;
    --oj-customer-text: #101828;
    --oj-customer-muted: #667085;
    --oj-customer-border: #e4e7ec;
    --oj-customer-green: #16a34a;
    --oj-customer-shadow: 0 12px 35px rgba(16,24,40,.06);
    background: var(--oj-customer-bg) !important;
    color: var(--oj-customer-text) !important;
}

body.oj-dashboard-standalone-customer,
body.oj-dashboard-standalone-customer * {
    box-sizing: border-box;
}

body.oj-dashboard-standalone-customer .oj-customer-dashboard {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* Sidebar */
body.oj-dashboard-standalone-customer .oj-customer-sidebar {
    position: sticky;
    top: 18px;
    min-height: calc(100vh - 126px);
    display: flex;
    flex-direction: column;
    background: #000;
    color: #fff;
    border-radius: 0;
    padding: 28px 14px 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

body.oj-dashboard-standalone-customer .oj-customer-brand {
    padding: 4px 20px 24px;
    margin: 0 0 24px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

body.oj-dashboard-standalone-customer .oj-customer-brand img {
    display: block;
    width: 155px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

body.oj-dashboard-standalone-customer .oj-customer-sidebar-label {
    padding: 0 20px 14px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

body.oj-dashboard-standalone-customer .oj-customer-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

body.oj-dashboard-standalone-customer .oj-customer-nav-item {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 18px;
    border-radius: 13px;
    color: #e6e7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

body.oj-dashboard-standalone-customer .oj-customer-nav-item i {
    width: 20px;
    flex: 0 0 20px;
    text-align: center;
    color: var(--oj-customer-orange);
    font-size: 15px;
}

body.oj-dashboard-standalone-customer .oj-customer-nav-item:hover {
    background: rgba(255,104,0,.12);
    color: #fff;
}

body.oj-dashboard-standalone-customer .oj-customer-nav-item.is-active {
    background: var(--oj-customer-orange);
    color: #fff;
    box-shadow: 0 10px 25px rgba(255,104,0,.22);
}

body.oj-dashboard-standalone-customer .oj-customer-nav-item.is-active i {
    color: #fff;
}

body.oj-dashboard-standalone-customer .oj-customer-nav-item.is-disabled {
    color: #667085;
    cursor: not-allowed;
}

body.oj-dashboard-standalone-customer .oj-customer-nav-item.is-disabled i {
    color: #8b5b2a;
}

body.oj-dashboard-standalone-customer .oj-customer-nav-item small {
    margin-left: auto;
    color: var(--oj-customer-orange);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

body.oj-dashboard-standalone-customer .oj-customer-sidebar-footer {
    margin-top: auto;
    padding: 20px 8px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

body.oj-dashboard-standalone-customer .oj-customer-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    color: #e6e7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

body.oj-dashboard-standalone-customer .oj-customer-sidebar-footer a i {
    color: var(--oj-customer-orange);
}

/* Main area */
body.oj-dashboard-standalone-customer .oj-customer-main {
    min-width: 0;
}

body.oj-dashboard-standalone-customer .oj-customer-header {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 34px;
    margin: 0 0 30px;
    background: #fff;
    border: 1px solid var(--oj-customer-border);
    border-radius: 22px;
    box-shadow: var(--oj-customer-shadow);
}

body.oj-dashboard-standalone-customer .oj-customer-greeting {
    color: var(--oj-customer-orange);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 7px;
}

body.oj-dashboard-standalone-customer .oj-customer-header h1 {
    margin: 0;
    color: var(--oj-customer-navy);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

body.oj-dashboard-standalone-customer .oj-customer-header p {
    margin: 8px 0 0;
    color: var(--oj-customer-muted);
    font-size: 14px;
}

body.oj-dashboard-standalone-customer .oj-customer-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

body.oj-dashboard-standalone-customer .oj-customer-icon-button {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--oj-customer-navy);
    background: #fff;
    border: 1px solid var(--oj-customer-border);
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(16,24,40,.04);
}

body.oj-dashboard-standalone-customer .oj-customer-icon-button span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--oj-customer-orange);
    color: #fff;
    border: 2px solid #fff;
    font-size: 10px;
    font-weight: 800;
}

body.oj-dashboard-standalone-customer .oj-customer-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--oj-customer-orange);
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
}

body.oj-dashboard-standalone-customer .oj-customer-content {
    min-width: 0;
}

/* Page titles / overview */
body.oj-dashboard-standalone-customer .oj-customer-page,
body.oj-dashboard-standalone-customer .oj-customer-overview {
    min-width: 0;
}

body.oj-dashboard-standalone-customer .oj-customer-page-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin: 0 0 24px;
}

body.oj-dashboard-standalone-customer .oj-customer-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--oj-customer-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
}

body.oj-dashboard-standalone-customer .oj-customer-page-title h2,
body.oj-dashboard-standalone-customer .oj-customer-welcome h2 {
    margin: 0;
    color: var(--oj-customer-navy);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

body.oj-dashboard-standalone-customer .oj-customer-page-title p,
body.oj-dashboard-standalone-customer .oj-customer-welcome p {
    margin: 8px 0 0;
    color: var(--oj-customer-muted);
    font-size: 14px;
    line-height: 1.65;
}

body.oj-dashboard-standalone-customer .oj-customer-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 34px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--oj-customer-border);
    border-radius: 22px;
    box-shadow: var(--oj-customer-shadow);
}

/* Buttons */
body.oj-dashboard-standalone-customer .oj-customer-primary-btn,
body.oj-dashboard-standalone-customer .oj-customer-secondary-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

body.oj-dashboard-standalone-customer .oj-customer-primary-btn {
    border: 1px solid var(--oj-customer-orange);
    background: var(--oj-customer-orange);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255,104,0,.16);
}

body.oj-dashboard-standalone-customer .oj-customer-primary-btn:hover {
    background: var(--oj-customer-orange-dark);
    border-color: var(--oj-customer-orange-dark);
    color: #fff;
    transform: translateY(-1px);
}

body.oj-dashboard-standalone-customer .oj-customer-secondary-btn {
    border: 1px solid var(--oj-customer-border);
    background: #fff;
    color: var(--oj-customer-navy);
}

body.oj-dashboard-standalone-customer .oj-customer-secondary-btn:hover {
    border-color: var(--oj-customer-orange);
    color: var(--oj-customer-orange);
}

/* KPI cards */
body.oj-dashboard-standalone-customer .oj-customer-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

body.oj-dashboard-standalone-customer .oj-customer-kpi {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--oj-customer-border);
    border-radius: 18px;
    box-shadow: var(--oj-customer-shadow);
}

body.oj-dashboard-standalone-customer .oj-customer-kpi .kpi-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 17px;
}

body.oj-dashboard-standalone-customer .oj-customer-kpi strong {
    display: block !important;
    margin: 0;
    color: var(--oj-customer-navy);
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
}

body.oj-dashboard-standalone-customer .oj-customer-kpi span,
body.oj-dashboard-standalone-customer .oj-customer-kpi small {
    display: block;
    margin-top: 6px;
    color: var(--oj-customer-muted);
    font-size: 12px;
}

body.oj-dashboard-standalone-customer .oj-customer-kpi.kpi-orange .kpi-icon { background:#fff1e8; color:#ff6800; }
body.oj-dashboard-standalone-customer .oj-customer-kpi.kpi-blue .kpi-icon { background:#edf4ff; color:#2563eb; }
body.oj-dashboard-standalone-customer .oj-customer-kpi.kpi-purple .kpi-icon { background:#f3edff; color:#7c3aed; }
body.oj-dashboard-standalone-customer .oj-customer-kpi.kpi-green .kpi-icon { background:#eaf8ef; color:#16a34a; }

/* Panels / grids */
body.oj-dashboard-standalone-customer .oj-customer-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .95fr);
    gap: 20px;
    margin-bottom: 20px;
}

body.oj-dashboard-standalone-customer .oj-customer-panel {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--oj-customer-border);
    border-radius: 20px;
    box-shadow: var(--oj-customer-shadow);
    padding: 24px;
    margin-bottom: 20px;
}

body.oj-dashboard-standalone-customer .oj-customer-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

body.oj-dashboard-standalone-customer .oj-customer-panel-head h3 {
    margin: 0;
    color: var(--oj-customer-navy);
    font-size: 18px;
    line-height: 1.25;
}

body.oj-dashboard-standalone-customer .oj-customer-panel-head p {
    margin: 6px 0 0;
    color: var(--oj-customer-muted);
    font-size: 12px;
    line-height: 1.55;
}

body.oj-dashboard-standalone-customer .oj-customer-panel-head > a {
    color: var(--oj-customer-orange);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* Empty states */
body.oj-dashboard-standalone-customer .oj-customer-empty,
body.oj-dashboard-standalone-customer .oj-customer-empty-page {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: var(--oj-customer-muted);
}

body.oj-dashboard-standalone-customer .oj-customer-empty-page {
    min-height: 330px;
}

body.oj-dashboard-standalone-customer .oj-customer-empty i,
body.oj-dashboard-standalone-customer .oj-customer-empty-page i {
    margin-bottom: 8px;
    color: var(--oj-customer-orange);
    font-size: 42px;
}

body.oj-dashboard-standalone-customer .oj-customer-empty strong,
body.oj-dashboard-standalone-customer .oj-customer-empty-page h3 {
    margin: 0;
    color: var(--oj-customer-navy);
    font-size: 18px;
}

body.oj-dashboard-standalone-customer .oj-customer-empty span,
body.oj-dashboard-standalone-customer .oj-customer-empty-page p {
    max-width: 440px;
    margin: 0 0 10px;
    color: var(--oj-customer-muted);
    font-size: 13px;
    line-height: 1.6;
}

body.oj-dashboard-standalone-customer .oj-customer-empty a:not(.oj-customer-primary-btn) {
    color: var(--oj-customer-orange);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}


/* Booking statistics */
body.oj-dashboard-standalone-customer .oj-customer-booking-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 0 24px;
}

body.oj-dashboard-standalone-customer .oj-customer-booking-stats > div {
    min-width: 0;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--oj-customer-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16,24,40,.045);
}

body.oj-dashboard-standalone-customer .oj-customer-booking-stats strong {
    display: block;
    margin: 0;
    color: var(--oj-customer-navy);
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.03em;
}

body.oj-dashboard-standalone-customer .oj-customer-booking-stats span {
    display: block;
    margin: 0;
    color: var(--oj-customer-muted);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Bookings */
body.oj-dashboard-standalone-customer .oj-customer-booking-list {
    display: flex;
    flex-direction: column;
}

body.oj-dashboard-standalone-customer .oj-customer-booking-row {
    min-height: 76px;
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f3;
}

body.oj-dashboard-standalone-customer .oj-customer-booking-row:last-child { border-bottom: 0; }

body.oj-dashboard-standalone-customer .oj-customer-booking-logo {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    overflow: hidden;
    background: #f2f4f7;
}

body.oj-dashboard-standalone-customer .oj-customer-booking-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.oj-dashboard-standalone-customer .booking-copy strong,
body.oj-dashboard-standalone-customer .booking-copy span {
    display: block;
}

body.oj-dashboard-standalone-customer .booking-copy strong {
    color: var(--oj-customer-navy);
    font-size: 13px;
}

body.oj-dashboard-standalone-customer .booking-copy span {
    margin-top: 5px;
    color: var(--oj-customer-muted);
    font-size: 11px;
}

/* Status badges */
body.oj-dashboard-standalone-customer .oj-status-badge,
body.oj-dashboard-standalone-customer .oj-dispute-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

body.oj-dashboard-standalone-customer .status-completed { background:#eaf8ef; color:#15803d; }
body.oj-dashboard-standalone-customer .status-in_progress,
body.oj-dashboard-standalone-customer .status-awaiting_confirmation { background:#fff6df; color:#a16207; }
body.oj-dashboard-standalone-customer .status-enquiry_sent { background:#edf4ff; color:#2563eb; }
body.oj-dashboard-standalone-customer .status-declined,
body.oj-dashboard-standalone-customer .status-cancelled { background:#fef0f0; color:#dc2626; }

/* Recommended */
body.oj-dashboard-standalone-customer .oj-recommend-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.oj-dashboard-standalone-customer .oj-recommend-item {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}

body.oj-dashboard-standalone-customer .oj-recommend-item:hover { background:#f8fafc; }
body.oj-dashboard-standalone-customer .oj-recommend-item img { width:48px;height:48px;border-radius:11px;object-fit:cover;background:#f2f4f7; }
body.oj-dashboard-standalone-customer .oj-recommend-item strong,
body.oj-dashboard-standalone-customer .oj-recommend-item small,
body.oj-dashboard-standalone-customer .oj-recommend-item em { display:block; }
body.oj-dashboard-standalone-customer .oj-recommend-item strong { color:var(--oj-customer-navy);font-size:12px; }
body.oj-dashboard-standalone-customer .oj-recommend-item small { margin-top:4px;color:var(--oj-customer-muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
body.oj-dashboard-standalone-customer .oj-recommend-item em { margin-top:5px;color:#f59e0b;font-size:10px;font-style:normal;font-weight:700; }

/* Quick actions */
body.oj-dashboard-standalone-customer .oj-customer-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

body.oj-dashboard-standalone-customer .oj-customer-quick-grid a {
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 17px;
    border: 1px solid var(--oj-customer-border);
    border-radius: 15px;
    color: var(--oj-customer-navy);
    text-decoration: none;
    transition: .2s ease;
}

body.oj-dashboard-standalone-customer .oj-customer-quick-grid a:hover { border-color:var(--oj-customer-orange);transform:translateY(-2px); }
body.oj-dashboard-standalone-customer .oj-customer-quick-grid i { color:var(--oj-customer-orange);font-size:18px; }
body.oj-dashboard-standalone-customer .oj-customer-quick-grid strong { font-size:12px; }
body.oj-dashboard-standalone-customer .oj-customer-quick-grid span { color:var(--oj-customer-muted);font-size:10px;line-height:1.4; }

/* Vendor grids / cards */
body.oj-dashboard-standalone-customer .oj-customer-vendor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

body.oj-dashboard-standalone-customer .oj-customer-vendor-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background:#fff;
    border:1px solid var(--oj-customer-border);
    border-radius:18px;
    box-shadow:0 8px 24px rgba(16,24,40,.05);
}

body.oj-dashboard-standalone-customer .oj-customer-vendor-card .vendor-image { display:block;height:175px;background:#eef1f5; }
body.oj-dashboard-standalone-customer .oj-customer-vendor-card .vendor-image img { width:100%;height:100%;display:block;object-fit:cover; }
body.oj-dashboard-standalone-customer .oj-customer-favorite { position:absolute;top:13px;right:13px;width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:#fff;color:#d0d5dd;box-shadow:0 5px 15px rgba(0,0,0,.12);cursor:pointer; }
body.oj-dashboard-standalone-customer .oj-customer-favorite.is-saved { color:#ef4444; }
body.oj-dashboard-standalone-customer .vendor-card-body { padding:18px; }
body.oj-dashboard-standalone-customer .vendor-logo { width:58px;height:58px;margin-top:-45px;border:4px solid #fff;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.1); }
body.oj-dashboard-standalone-customer .vendor-logo img { width:100%;height:100%;object-fit:cover;display:block; }
body.oj-dashboard-standalone-customer .vendor-card-body h3 { margin:12px 0 8px;font-size:15px; }
body.oj-dashboard-standalone-customer .vendor-card-body h3 a { color:var(--oj-customer-navy);text-decoration:none; }
body.oj-dashboard-standalone-customer .vendor-card-body p { margin:9px 0;color:var(--oj-customer-muted);font-size:11px;line-height:1.55; }
body.oj-dashboard-standalone-customer .vendor-card-body > span { color:var(--oj-customer-muted);font-size:10px; }

/* Tables */
body.oj-dashboard-standalone-customer .oj-customer-table-wrap { width:100%;overflow-x:auto; }
body.oj-dashboard-standalone-customer .oj-customer-table { width:100%;min-width:850px;border-collapse:collapse; }
body.oj-dashboard-standalone-customer .oj-customer-table th { padding:12px 10px;text-align:left;border-bottom:1px solid var(--oj-customer-border);color:#667085;font-size:10px;text-transform:uppercase;letter-spacing:.08em; }
body.oj-dashboard-standalone-customer .oj-customer-table td { padding:14px 10px;border-bottom:1px solid #eef0f3;color:#475467;font-size:12px;vertical-align:middle; }
body.oj-dashboard-standalone-customer .oj-customer-table tbody tr:last-child td { border-bottom:0; }
body.oj-dashboard-standalone-customer .table-vendor { display:flex;align-items:center;gap:9px;color:var(--oj-customer-navy);text-decoration:none;font-weight:800; }
body.oj-dashboard-standalone-customer .table-vendor img { width:36px;height:36px;border-radius:9px;object-fit:cover;background:#f2f4f7; }
body.oj-dashboard-standalone-customer .oj-booking-actions { display:flex;flex-wrap:wrap;gap:6px; }
body.oj-dashboard-standalone-customer .oj-booking-actions .oj-customer-secondary-btn { min-height:32px;padding:0 9px;font-size:10px; }

/* Detail / confirmation / dispute */
body.oj-dashboard-standalone-customer .oj-job-detail-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
body.oj-dashboard-standalone-customer .oj-job-detail-grid > div { padding:15px;border:1px solid var(--oj-customer-border);border-radius:13px;background:#fafbfc; }
body.oj-dashboard-standalone-customer .oj-job-detail-grid small,
body.oj-dashboard-standalone-customer .oj-job-detail-grid strong { display:block; }
body.oj-dashboard-standalone-customer .oj-job-detail-grid small { color:#667085;font-size:10px; }
body.oj-dashboard-standalone-customer .oj-job-detail-grid strong { margin-top:6px;color:var(--oj-customer-navy);font-size:12px; }
body.oj-dashboard-standalone-customer .oj-job-detail-description { margin-top:16px;padding:16px;border-radius:13px;background:#f8fafc; }
body.oj-dashboard-standalone-customer .oj-job-detail-description small { color:#667085;font-size:10px;font-weight:800;text-transform:uppercase; }
body.oj-dashboard-standalone-customer .oj-job-detail-description p { margin:7px 0 0;color:#475467;font-size:12px;line-height:1.7; }
body.oj-dashboard-standalone-customer .oj-job-action-strip { display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;padding:15px;border:1px solid #fed7aa;border-radius:13px;background:#fff7ed; }
body.oj-dashboard-standalone-customer .oj-job-action-strip strong { color:#9a3412;font-size:12px; }
body.oj-dashboard-standalone-customer .oj-job-action-strip span { color:#7c2d12;font-size:11px;flex:1; }
body.oj-dashboard-standalone-customer .oj-confirmation-list,
body.oj-dashboard-standalone-customer .oj-dispute-list { display:flex;flex-direction:column;gap:10px; }
body.oj-dashboard-standalone-customer .oj-confirmation-item,
body.oj-dashboard-standalone-customer .oj-dispute-row { display:grid;grid-template-columns:minmax(0,1.4fr) minmax(150px,.8fr) auto;align-items:center;gap:16px;padding:15px;border:1px solid var(--oj-customer-border);border-radius:14px; }
body.oj-dashboard-standalone-customer .confirmation-vendor,
body.oj-dashboard-standalone-customer .review-vendor { display:flex;align-items:center;gap:10px;min-width:0; }
body.oj-dashboard-standalone-customer .confirmation-vendor img,
body.oj-dashboard-standalone-customer .review-vendor img { width:42px;height:42px;flex:0 0 42px;border-radius:10px;object-fit:cover;background:#f2f4f7; }
body.oj-dashboard-standalone-customer .confirmation-vendor strong,
body.oj-dashboard-standalone-customer .confirmation-vendor span,
body.oj-dashboard-standalone-customer .review-vendor strong,
body.oj-dashboard-standalone-customer .review-vendor span { display:block; }
body.oj-dashboard-standalone-customer .confirmation-vendor strong,
body.oj-dashboard-standalone-customer .review-vendor strong { color:var(--oj-customer-navy);font-size:12px; }
body.oj-dashboard-standalone-customer .confirmation-vendor span,
body.oj-dashboard-standalone-customer .review-vendor span { margin-top:4px;color:#667085;font-size:10px; }
body.oj-dashboard-standalone-customer .confirmation-code small,
body.oj-dashboard-standalone-customer .confirmation-code strong { display:block; }
body.oj-dashboard-standalone-customer .confirmation-code small { color:#667085;font-size:10px; }
body.oj-dashboard-standalone-customer .confirmation-code strong { margin-top:4px;color:var(--oj-customer-orange);font-size:13px;letter-spacing:.06em; }

/* Reviews */
body.oj-dashboard-standalone-customer .oj-pending-review-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px; }
body.oj-dashboard-standalone-customer .oj-pending-review-card { padding:17px;border:1px solid var(--oj-customer-border);border-radius:15px;background:#fafbfc; }
body.oj-dashboard-standalone-customer .oj-review-stars-input { display:flex;gap:4px;margin:15px 0 10px; }
body.oj-dashboard-standalone-customer .oj-review-star { border:0;background:transparent;color:#d0d5dd;font-size:25px;line-height:1;cursor:pointer;padding:2px; }
body.oj-dashboard-standalone-customer .oj-review-star.is-selected { color:#f59e0b; }
body.oj-dashboard-standalone-customer .oj-verified-review-form textarea { width:100%;min-height:105px;resize:vertical;padding:12px;border:1px solid var(--oj-customer-border);border-radius:11px;font:500 12px Arial,sans-serif;outline:0; }
body.oj-dashboard-standalone-customer .oj-verified-review-form textarea:focus { border-color:var(--oj-customer-orange);box-shadow:0 0 0 3px rgba(255,104,0,.08); }
body.oj-dashboard-standalone-customer .oj-review-form-message,
body.oj-dashboard-standalone-customer .oj-customer-form-message { margin-top:10px;padding:10px 12px;border-radius:9px;font-size:11px; }
body.oj-dashboard-standalone-customer .oj-customer-review-list { display:flex;flex-direction:column; }
body.oj-dashboard-standalone-customer .oj-customer-review-row { padding:18px 0;border-bottom:1px solid #eef0f3; }
body.oj-dashboard-standalone-customer .oj-customer-review-row:last-child { border-bottom:0; }
body.oj-dashboard-standalone-customer .review-stars { margin:10px 0;color:#f59e0b;font-size:13px; }
body.oj-dashboard-standalone-customer .review-stars span { margin-left:8px;color:#667085;font-size:10px; }
body.oj-dashboard-standalone-customer .oj-customer-review-row > p { margin:0;color:#475467;font-size:12px;line-height:1.7; }
body.oj-dashboard-standalone-customer .vendor-reply { margin-top:12px;padding:12px;border-left:3px solid var(--oj-customer-orange);background:#fff7ed;border-radius:0 10px 10px 0; }
body.oj-dashboard-standalone-customer .vendor-reply strong { color:#9a3412;font-size:11px; }
body.oj-dashboard-standalone-customer .vendor-reply p { margin:5px 0 0;color:#7c2d12;font-size:11px;line-height:1.6; }

/* Notifications */
body.oj-dashboard-standalone-customer .oj-customer-notification-page-count { display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;margin-left:6px;border-radius:999px;background:#fff1e8;color:var(--oj-customer-orange);font-size:11px;vertical-align:middle; }
body.oj-dashboard-standalone-customer .oj-customer-notification-list { display:flex;flex-direction:column; }
body.oj-dashboard-standalone-customer .oj-customer-notification-row { display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:13px;padding:17px 0;border-bottom:1px solid #eef0f3; }
body.oj-dashboard-standalone-customer .oj-customer-notification-row:last-child { border-bottom:0; }
body.oj-dashboard-standalone-customer .oj-customer-notification-row.is-unread { padding-left:12px;padding-right:12px;border-radius:12px;background:#fff8f3; }
body.oj-dashboard-standalone-customer .notification-icon { width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff1e8;color:var(--oj-customer-orange); }
body.oj-dashboard-standalone-customer .notification-copy strong { display:block;color:var(--oj-customer-navy);font-size:13px; }
body.oj-dashboard-standalone-customer .notification-copy p { display:block!important;margin:5px 0;color:#475467;font-size:11px;line-height:1.6; }
body.oj-dashboard-standalone-customer .notification-copy small { display:block!important;color:#98a2b3;font-size:10px; }
body.oj-dashboard-standalone-customer .notification-open { align-self:center;color:var(--oj-customer-orange);font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap; }

/* Settings */
body.oj-dashboard-standalone-customer .oj-customer-settings-grid { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.7fr);gap:20px; }
body.oj-dashboard-standalone-customer .oj-customer-form-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
body.oj-dashboard-standalone-customer .oj-customer-form-grid label { display:block;color:var(--oj-customer-navy);font-size:11px;font-weight:800; }
body.oj-dashboard-standalone-customer .oj-customer-form-grid input,
body.oj-dashboard-standalone-customer .oj-customer-form-grid textarea,
body.oj-dashboard-standalone-customer .oj-customer-form-grid select { width:100%;margin-top:7px;min-height:43px;padding:0 12px;border:1px solid var(--oj-customer-border);border-radius:10px;background:#fff;color:#172033;font:500 12px Arial,sans-serif;outline:0; }
body.oj-dashboard-standalone-customer .oj-customer-form-grid textarea { min-height:110px;padding:12px; }
body.oj-dashboard-standalone-customer .oj-customer-form-grid input:focus,
body.oj-dashboard-standalone-customer .oj-customer-form-grid textarea:focus { border-color:var(--oj-customer-orange);box-shadow:0 0 0 3px rgba(255,104,0,.08); }
body.oj-dashboard-standalone-customer .settings-side { display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center; }
body.oj-dashboard-standalone-customer .settings-avatar { width:74px;height:74px;display:grid;place-items:center;margin-bottom:13px;border-radius:50%;background:var(--oj-customer-orange);color:#fff;font-size:26px;font-weight:900; }
body.oj-dashboard-standalone-customer .settings-side h3 { margin:0;color:var(--oj-customer-navy);font-size:16px; }
body.oj-dashboard-standalone-customer .settings-side p { margin:5px 0 14px;color:#667085;font-size:11px; }
body.oj-dashboard-standalone-customer .settings-side a { color:var(--oj-customer-orange);font-size:11px;font-weight:800;text-decoration:none; }
body.oj-dashboard-standalone-customer .oj-preference-row { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid #eef0f3; }
body.oj-dashboard-standalone-customer .oj-preference-row:last-of-type { border-bottom:0; }
body.oj-dashboard-standalone-customer .oj-preference-row strong,
body.oj-dashboard-standalone-customer .oj-preference-row small { display:block; }
body.oj-dashboard-standalone-customer .oj-preference-row strong { color:var(--oj-customer-navy);font-size:12px; }
body.oj-dashboard-standalone-customer .oj-preference-row small { margin-top:4px;color:#667085;font-size:10px;line-height:1.5; }
body.oj-dashboard-standalone-customer .oj-required-label { color:var(--oj-customer-orange);font-size:9px;font-style:normal; }
body.oj-dashboard-standalone-customer .oj-privacy-actions { display:flex;flex-direction:column;gap:10px; }
body.oj-dashboard-standalone-customer .oj-privacy-action { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px;border:1px solid var(--oj-customer-border);border-radius:13px; }
body.oj-dashboard-standalone-customer .oj-privacy-action strong { color:var(--oj-customer-navy);font-size:12px; }
body.oj-dashboard-standalone-customer .oj-privacy-action p { margin:4px 0 0;color:#667085;font-size:10px;line-height:1.55; }

/* Dispute list / modal */
body.oj-dashboard-standalone-customer .oj-dispute-row { grid-template-columns:minmax(0,1fr) auto; }
body.oj-dashboard-standalone-customer .oj-dispute-row strong,
body.oj-dashboard-standalone-customer .oj-dispute-row span,
body.oj-dashboard-standalone-customer .oj-dispute-row small { display:block; }
body.oj-dashboard-standalone-customer .oj-dispute-row strong { color:var(--oj-customer-navy);font-size:12px; }
body.oj-dashboard-standalone-customer .oj-dispute-row div > span { margin-top:4px;color:#475467;font-size:11px; }
body.oj-dashboard-standalone-customer .oj-dispute-row small { margin-top:4px;color:#98a2b3;font-size:10px; }
body.oj-dashboard-standalone-customer .dispute-open,
body.oj-dashboard-standalone-customer .dispute-in_review { background:#fff6df;color:#a16207; }
body.oj-dashboard-standalone-customer .dispute-resolved,
body.oj-dashboard-standalone-customer .dispute-closed { background:#eaf8ef;color:#15803d; }
body.oj-dashboard-standalone-customer .oj-customer-modal[hidden] { display:none!important; }
body.oj-dashboard-standalone-customer .oj-customer-modal { position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px; }
body.oj-dashboard-standalone-customer .oj-customer-modal-backdrop { position:absolute;inset:0;background:rgba(0,0,0,.6); }
body.oj-dashboard-standalone-customer .oj-customer-modal-card { position:relative;width:min(600px,100%);max-height:90vh;overflow:auto;padding:26px;background:#fff;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.25); }
body.oj-dashboard-standalone-customer .oj-customer-modal-close { position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:9px;background:#f2f4f7;cursor:pointer; }
body.oj-dashboard-standalone-customer .oj-customer-dispute-form label { display:block;margin:0 0 14px;color:var(--oj-customer-navy);font-size:11px;font-weight:800; }
body.oj-dashboard-standalone-customer .oj-customer-dispute-form select,
body.oj-dashboard-standalone-customer .oj-customer-dispute-form textarea { width:100%;margin-top:7px;padding:11px;border:1px solid var(--oj-customer-border);border-radius:10px;font:500 12px Arial,sans-serif; }
body.oj-dashboard-standalone-customer .oj-customer-dispute-form textarea { min-height:130px;resize:vertical; }

/* Frozen messages */
body.oj-dashboard-standalone-customer .oj-customer-frozen { min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center; }
body.oj-dashboard-standalone-customer .oj-customer-frozen i { color:var(--oj-customer-orange);font-size:40px;margin-bottom:12px; }
body.oj-dashboard-standalone-customer .oj-customer-frozen h2 { margin:0;color:var(--oj-customer-navy); }
body.oj-dashboard-standalone-customer .oj-customer-frozen p { max-width:520px;color:#667085;font-size:13px;line-height:1.7; }
body.oj-dashboard-standalone-customer .oj-customer-frozen span { color:var(--oj-customer-orange);font-size:11px;font-weight:800;text-transform:uppercase; }

/* Defensive overrides for late Workreap/theme rules */
body.oj-dashboard-standalone-customer .oj-customer-panel,
body.oj-dashboard-standalone-customer .oj-customer-header,
body.oj-dashboard-standalone-customer .oj-customer-welcome,
body.oj-dashboard-standalone-customer .oj-customer-kpi,
body.oj-dashboard-standalone-customer .oj-customer-vendor-card,
body.oj-dashboard-standalone-customer .oj-customer-notification-row,
body.oj-dashboard-standalone-customer .oj-customer-booking-row,
body.oj-dashboard-standalone-customer .oj-customer-review-row { visibility:visible!important;opacity:1!important; }

/* Responsive */
@media (max-width: 1180px) {
    body.oj-dashboard-standalone-customer .oj-customer-dashboard { grid-template-columns:230px minmax(0,1fr); }
    body.oj-dashboard-standalone-customer .oj-customer-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
    body.oj-dashboard-standalone-customer .oj-customer-quick-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    body.oj-dashboard-standalone-customer .oj-customer-vendor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    body.oj-dashboard-standalone-customer .oj-job-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
    body.oj-dashboard-standalone-customer .oj-dashboard-standalone-main { padding-left:14px!important;padding-right:14px!important; }
    body.oj-dashboard-standalone-customer .oj-customer-dashboard { grid-template-columns:1fr;gap:18px; }
    body.oj-dashboard-standalone-customer .oj-customer-sidebar { position:relative;top:auto;min-height:auto;border-radius:18px;padding:18px; }
    body.oj-dashboard-standalone-customer .oj-customer-brand { display:none; }
    body.oj-dashboard-standalone-customer .oj-customer-sidebar-label { padding:0 6px 10px; }
    body.oj-dashboard-standalone-customer .oj-customer-sidebar nav { display:grid;grid-template-columns:repeat(4,minmax(0,1fr)); }
    body.oj-dashboard-standalone-customer .oj-customer-sidebar-footer { margin-top:12px; }
    body.oj-dashboard-standalone-customer .oj-customer-main-grid { grid-template-columns:1fr; }
    body.oj-dashboard-standalone-customer .oj-customer-settings-grid { grid-template-columns:1fr; }
}

@media (max-width: 650px) {
    body.oj-dashboard-standalone-customer .oj-customer-header { align-items:flex-start;padding:22px; }
    body.oj-dashboard-standalone-customer .oj-customer-header-actions { display:none; }
    body.oj-dashboard-standalone-customer .oj-customer-welcome,
    body.oj-dashboard-standalone-customer .oj-customer-page-title { display:block; }
    body.oj-dashboard-standalone-customer .oj-customer-welcome .oj-customer-primary-btn,
    body.oj-dashboard-standalone-customer .oj-customer-page-title .oj-customer-primary-btn { margin-top:18px; }
    body.oj-dashboard-standalone-customer .oj-customer-kpis { grid-template-columns:1fr 1fr; }
    body.oj-dashboard-standalone-customer .oj-customer-quick-grid { grid-template-columns:1fr 1fr; }
    body.oj-dashboard-standalone-customer .oj-customer-vendor-grid,
    body.oj-dashboard-standalone-customer .oj-pending-review-grid { grid-template-columns:1fr; }
    body.oj-dashboard-standalone-customer .oj-customer-form-grid { grid-template-columns:1fr; }
    body.oj-dashboard-standalone-customer .oj-customer-sidebar nav { grid-template-columns:1fr 1fr; }
    body.oj-dashboard-standalone-customer .oj-customer-booking-row { grid-template-columns:42px minmax(0,1fr); }
    body.oj-dashboard-standalone-customer .oj-customer-booking-row .oj-status-badge { grid-column:2;justify-self:start; }
    body.oj-dashboard-standalone-customer .oj-confirmation-item,
    body.oj-dashboard-standalone-customer .oj-dispute-row { grid-template-columns:1fr;align-items:start; }
    body.oj-dashboard-standalone-customer .oj-job-detail-grid { grid-template-columns:1fr; }
    body.oj-dashboard-standalone-customer .oj-customer-notification-row { grid-template-columns:38px minmax(0,1fr); }
    body.oj-dashboard-standalone-customer .notification-open { grid-column:2;justify-self:start; }
    body.oj-dashboard-standalone-customer .oj-privacy-action { display:block; }
    body.oj-dashboard-standalone-customer .oj-privacy-action .oj-customer-secondary-btn { margin-top:12px; }
}


@media (max-width: 1100px) {
    body.oj-dashboard-standalone-customer .oj-customer-booking-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}



@media (max-width: 640px) {
    body.oj-dashboard-standalone-customer .oj-customer-booking-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.oj-dashboard-standalone-customer .oj-customer-booking-stats > div {
        min-height: 78px;
        padding: 14px;
    }

    body.oj-dashboard-standalone-customer .oj-customer-booking-stats strong {
        font-size: 23px;
    }
}

