/*
 * PPBS design system — tokens and components (v1 doc 08, docs/architecture-v2 doc 01 §4.5).
 * Loaded after Bootstrap 5. Brand colours are CSS custom properties so every surface shares them.
 * Fonts: system stacks until licensed brand fonts are self-hosted (v1 doc 08 §8.3).
 */

/* ---------- 1. Tokens ---------- */
:root {
    --ppbs-red: #C8102E;
    --ppbs-red-dark: #9B0C24;
    --ppbs-yellow: #F5C518;
    --ppbs-yellow-dark: #D4A017;
    --ppbs-navy: #0B1F3A;
    --ppbs-navy-mid: #16325C;
    --ppbs-white: #FFFFFF;
    --ppbs-gray-50: #F6F7F9;
    --ppbs-gray-100: #EEF0F3;
    --ppbs-gray-600: #5C6570;
    --ppbs-gray-900: #1A1D21;
    --ppbs-success: #1F7A4D;
    --ppbs-warning: #B45309;
    --ppbs-danger: #B42318;
    --ppbs-info: #155EEF;

    --ppbs-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
    --ppbs-font-body: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ppbs-font-mono: ui-monospace, "Cascadia Code", Consolas, monospace;

    --ppbs-radius-card: 12px;
    --ppbs-radius-button: 8px;
    --ppbs-space-1: 4px;
    --ppbs-space-2: 8px;
    --ppbs-space-3: 16px;
    --ppbs-space-4: 24px;
    --ppbs-space-5: 32px;
    --ppbs-space-6: 48px;
    --ppbs-space-7: 64px;
    --ppbs-shadow-card: 0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 16px rgba(11, 31, 58, 0.06);
    --ppbs-focus: 0 0 0 3px var(--ppbs-yellow);

    /* Bootstrap bridge */
    --bs-body-font-family: var(--ppbs-font-body);
    --bs-body-color: var(--ppbs-gray-900);
    --bs-body-bg: var(--ppbs-gray-50);
    --bs-heading-color: var(--ppbs-navy);
    --bs-link-color: var(--ppbs-navy-mid);
    --bs-link-hover-color: var(--ppbs-red);
    --bs-border-radius: var(--ppbs-radius-button);
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--ppbs-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ppbs-gray-900);
    background: var(--ppbs-gray-50);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .ppbs-display {
    font-family: var(--ppbs-font-display);
    color: var(--ppbs-navy);
    font-weight: 700;
}
h1 { font-size: 2rem; line-height: 1.2; }
h2 { font-size: 1.5rem; line-height: 1.25; }
h3 { font-size: 1.25rem; line-height: 1.3; }
@media (min-width: 992px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
}
small, .ppbs-small { font-size: 0.875rem; line-height: 1.5; }
a { color: var(--ppbs-navy-mid); text-underline-offset: 3px; }
a:hover { color: var(--ppbs-red); }
:focus-visible { outline: none; box-shadow: var(--ppbs-focus); border-radius: 4px; }
.ppbs-skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 1000;
    background: var(--ppbs-yellow); color: var(--ppbs-navy); padding: 8px 16px; font-weight: 600;
}
.ppbs-skip-link:focus { left: 8px; }
.ppbs-mono { font-family: var(--ppbs-font-mono); letter-spacing: 0.02em; }
.ppbs-muted { color: var(--ppbs-gray-600); }

/* ---------- 3. Buttons (min 44px touch target) ---------- */
.ppbs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 20px;
    border-radius: var(--ppbs-radius-button); border: 2px solid transparent;
    font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ppbs-btn-primary { background: var(--ppbs-red); color: var(--ppbs-white); }
.ppbs-btn-primary:hover { background: var(--ppbs-red-dark); color: var(--ppbs-white); }
.ppbs-btn-secondary { background: var(--ppbs-yellow); color: var(--ppbs-navy); }
.ppbs-btn-secondary:hover { background: var(--ppbs-yellow-dark); color: var(--ppbs-navy); }
.ppbs-btn-outline { background: transparent; color: var(--ppbs-navy); border-color: var(--ppbs-navy); }
.ppbs-btn-outline:hover { background: var(--ppbs-navy); color: var(--ppbs-white); }
.ppbs-btn-ghost { background: transparent; color: var(--ppbs-white); text-decoration: underline; }

/* ---------- 4. Public header and footer ---------- */
.ppbs-header { background: var(--ppbs-white); border-bottom: 1px solid var(--ppbs-gray-100); }
.ppbs-header .ppbs-header-inner { display: flex; align-items: center; gap: var(--ppbs-space-4); min-height: 72px; }
.ppbs-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ppbs-navy); }
.ppbs-brand-mark {
    width: 36px; height: 36px; border-radius: 8px; background: var(--ppbs-red);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ppbs-white); font-weight: 800; font-family: var(--ppbs-font-display);
    box-shadow: inset 0 -4px 0 var(--ppbs-yellow);
}
.ppbs-brand-logo { display: block; width: auto; height: 56px; }
.ppbs-holding .ppbs-brand-logo { height: 72px; }
.ppbs-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.ppbs-brand-text strong { font-size: 1.15rem; letter-spacing: 0.04em; }
.ppbs-brand-text span { font-size: 0.75rem; color: var(--ppbs-gray-600); }
.ppbs-nav { display: flex; flex-wrap: wrap; gap: var(--ppbs-space-1) var(--ppbs-space-3); margin: 0; padding: 0; list-style: none; }
.ppbs-nav a { color: var(--ppbs-navy); text-decoration: none; font-weight: 600; padding: 8px 4px; }
.ppbs-nav a:hover, .ppbs-nav a[aria-current="page"] { color: var(--ppbs-red); }
.ppbs-header-actions { margin-left: auto; display: flex; gap: var(--ppbs-space-2); }
.ppbs-footer { background: var(--ppbs-navy); color: rgba(255, 255, 255, 0.85); padding: var(--ppbs-space-6) 0 var(--ppbs-space-4); margin-top: var(--ppbs-space-7); }
.ppbs-footer a { color: var(--ppbs-white); }
.ppbs-footer h2 { color: var(--ppbs-white); font-size: 1rem; font-family: var(--ppbs-font-body); text-transform: uppercase; letter-spacing: 0.08em; }
.ppbs-footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: var(--ppbs-space-5); padding-top: var(--ppbs-space-3); font-size: 0.875rem; }

/* ---------- 5. Cards, notices, chips, timeline ---------- */
.ppbs-card {
    background: var(--ppbs-white); border: 1px solid var(--ppbs-gray-100);
    border-radius: var(--ppbs-radius-card); box-shadow: var(--ppbs-shadow-card); padding: var(--ppbs-space-4);
}
.ppbs-card h3 { margin-top: 0; }
.ppbs-notice {
    background: #FFF9E0; border-left: 4px solid var(--ppbs-yellow); color: var(--ppbs-navy);
    padding: var(--ppbs-space-3); border-radius: 0 var(--ppbs-radius-button) var(--ppbs-radius-button) 0;
}
.ppbs-alert { padding: var(--ppbs-space-3); border-radius: var(--ppbs-radius-button); border: 1px solid; }
.ppbs-alert-success { background: #ECF7F1; border-color: #BFE3D0; color: var(--ppbs-success); }
.ppbs-alert-danger { background: #FDEDEC; border-color: #F5C6C2; color: var(--ppbs-danger); }
.ppbs-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px;
    font-size: 0.8125rem; font-weight: 600; background: var(--ppbs-gray-100); color: var(--ppbs-navy);
}
.ppbs-chip-success { background: #E3F4EA; color: var(--ppbs-success); }
.ppbs-chip-warning { background: #FDF0E1; color: var(--ppbs-warning); }
.ppbs-chip-danger { background: #FDE8E6; color: var(--ppbs-danger); }
.ppbs-chip-info { background: #E6EEFE; color: var(--ppbs-info); }
.ppbs-timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--ppbs-gray-100); }
.ppbs-timeline li { position: relative; padding: 0 0 var(--ppbs-space-3) var(--ppbs-space-3); }
.ppbs-timeline li::before {
    content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--ppbs-navy); border: 2px solid var(--ppbs-white);
}
.ppbs-timeline li.is-current::before { background: var(--ppbs-red); box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.15); }

/* ---------- 6. Forms ---------- */
.ppbs-form label { font-weight: 600; color: var(--ppbs-navy); margin-bottom: 4px; display: block; }
.ppbs-form .ppbs-required::after { content: " *"; color: var(--ppbs-danger); }
.ppbs-input {
    width: 100%; min-height: 44px; padding: 10px 12px; font: inherit;
    border: 1px solid #C9CED6; border-radius: var(--ppbs-radius-button); background: var(--ppbs-white);
}
.ppbs-input:focus { border-color: var(--ppbs-navy-mid); box-shadow: var(--ppbs-focus); outline: none; }
.ppbs-input[aria-invalid="true"] { border-color: var(--ppbs-danger); }
.ppbs-field-error { color: var(--ppbs-danger); font-size: 0.875rem; margin-top: 4px; }
.ppbs-field-help { color: var(--ppbs-gray-600); font-size: 0.875rem; margin-top: 4px; }

/* ---------- 7. Tables ---------- */
.ppbs-table { width: 100%; border-collapse: collapse; background: var(--ppbs-white); font-size: 0.9375rem; }
.ppbs-table th { text-align: left; color: var(--ppbs-gray-600); font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.ppbs-table th, .ppbs-table td { padding: 10px 12px; border-bottom: 1px solid var(--ppbs-gray-100); }
.ppbs-table tbody tr:hover { background: var(--ppbs-gray-50); }

/* ---------- 8. Staff console shell: see section 18 ---------- */

/* ---------- 9. Rider mobile shell ---------- */
.ppbs-rider { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--ppbs-gray-50); padding-bottom: 72px; }
.ppbs-rider-bar { position: sticky; top: 0; z-index: 10; background: var(--ppbs-navy); color: var(--ppbs-white); padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.ppbs-rider-main { padding: 16px; }
.ppbs-rider-tabs {
    position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center;
    background: var(--ppbs-white); border-top: 1px solid var(--ppbs-gray-100);
}
.ppbs-rider-tabs a { flex: 1; max-width: 140px; text-align: center; padding: 12px 4px; min-height: 56px; color: var(--ppbs-navy); text-decoration: none; font-weight: 600; font-size: 0.875rem; }
.ppbs-rider-tabs a[aria-current="page"] { color: var(--ppbs-red); }

/* ---------- 10. Holding page ---------- */
.ppbs-holding { min-height: 100vh; display: flex; flex-direction: column; background:
    radial-gradient(1200px 500px at 85% -10%, rgba(245, 197, 24, 0.25), transparent 60%),
    linear-gradient(180deg, var(--ppbs-white) 0%, var(--ppbs-gray-50) 100%); }
.ppbs-holding-main { flex: 1; display: flex; align-items: center; }
.ppbs-holding-kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ppbs-navy); color: var(--ppbs-yellow); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ppbs-holding h1 { margin: var(--ppbs-space-3) 0; max-width: 18ch; }
.ppbs-holding-stamp {
    width: 220px; height: 220px; border-radius: 50%; border: 6px double var(--ppbs-red);
    display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ppbs-red);
    transform: rotate(-12deg); font-family: var(--ppbs-font-display); font-weight: 800; letter-spacing: 0.06em; opacity: 0.9;
}

/* ---------- 11. Utilities ---------- */
.ppbs-section { padding: var(--ppbs-space-6) 0; }
.ppbs-stack > * + * { margin-top: var(--ppbs-space-3); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.ppbs-narrow { max-width: 720px; }
.ppbs-pre { white-space: pre-wrap; word-break: break-word; font-size: 0.8125rem; }
.ppbs-swatch { height: 56px; border-radius: var(--ppbs-radius-button); border: 1px solid var(--ppbs-gray-100); }
.ppbs-swatch-red { background: var(--ppbs-red); } .ppbs-swatch-red-dark { background: var(--ppbs-red-dark); }
.ppbs-swatch-yellow { background: var(--ppbs-yellow); } .ppbs-swatch-yellow-dark { background: var(--ppbs-yellow-dark); }
.ppbs-swatch-navy { background: var(--ppbs-navy); } .ppbs-swatch-navy-mid { background: var(--ppbs-navy-mid); }
.ppbs-swatch-gray-50 { background: var(--ppbs-gray-50); } .ppbs-swatch-gray-100 { background: var(--ppbs-gray-100); }
.ppbs-swatch-gray-600 { background: var(--ppbs-gray-600); } .ppbs-swatch-gray-900 { background: var(--ppbs-gray-900); }
.ppbs-swatch-success { background: var(--ppbs-success); } .ppbs-swatch-warning { background: var(--ppbs-warning); }
.ppbs-swatch-danger { background: var(--ppbs-danger); } .ppbs-swatch-info { background: var(--ppbs-info); }

.ppbs-holding-logo { width: 100%; max-width: 360px; height: auto; }
.ppbs-holding-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ppbs-space-3); }
.ppbs-holding-parent { display: inline-flex; align-items: center; gap: 10px; }
.ppbs-holding-parent img { width: auto; height: 64px; }
@media (max-width: 991.98px) { .ppbs-holding-logo { max-width: 240px; } }

/* ---------- Staff login and console user box (S1) ---------- */
.ppbs-btn-sm { padding: 6px 12px; font-size: 0.875rem; }
.ppbs-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--ppbs-space-4); background: var(--ppbs-gray-50); }
.ppbs-auth-card { width: 100%; max-width: 420px; background: var(--ppbs-white); border: 1px solid var(--ppbs-gray-100); border-radius: 16px; padding: 32px; box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06); }
.ppbs-auth-card .ppbs-brand-logo { height: 88px; margin: 0 auto var(--ppbs-space-3); }
.ppbs-auth-card h1 { font-size: 1.5rem; text-align: center; margin-bottom: var(--ppbs-space-3); }
.ppbs-auth-card .ppbs-brand { display: flex; justify-content: center; }
.ppbs-form-row { margin-bottom: var(--ppbs-space-3); }
.ppbs-form-row label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--ppbs-navy); }
.ppbs-btn-block { width: 100%; }

/* ---------- 12. Public website (first launch) ---------- */
.ppbs-icon { flex-shrink: 0; vertical-align: -0.2em; }
.ppbs-btn-lg { min-height: 52px; padding: 12px 24px; font-size: 1.0625rem; }
.ppbs-btn-whatsapp { background: #1F8F4E; color: var(--ppbs-white); }
.ppbs-btn-whatsapp:hover { background: #17733E; color: var(--ppbs-white); }
.ppbs-btn-ghost:hover { color: var(--ppbs-yellow); }

.ppbs-topstrip { background: var(--ppbs-navy); color: rgba(255, 255, 255, 0.9); font-size: 0.875rem; }
.ppbs-topstrip-inner { display: flex; gap: var(--ppbs-space-4); align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; }
.ppbs-topstrip-inner span, .ppbs-topstrip-inner a { display: inline-flex; align-items: center; gap: 6px; }
.ppbs-topstrip a { color: var(--ppbs-yellow); text-decoration: none; font-weight: 600; }
.ppbs-topstrip .ppbs-icon { width: 16px; height: 16px; }

.ppbs-header-sticky { position: sticky; top: 0; z-index: 1020; box-shadow: 0 1px 0 var(--ppbs-gray-100); }
.ppbs-public .ppbs-header .ppbs-header-inner { flex-wrap: wrap; min-height: 80px; padding-top: 8px; padding-bottom: 8px; }
.ppbs-public .ppbs-brand-logo { height: 60px; }
.ppbs-public .ppbs-nav .nav-link { color: var(--ppbs-navy); font-weight: 600; padding: 10px 12px; border-radius: 8px; }
.ppbs-public .ppbs-nav .nav-link:hover { color: var(--ppbs-red); background: var(--ppbs-gray-50); }
.ppbs-public .ppbs-nav .nav-link.active { color: var(--ppbs-red); }
.ppbs-nav-toggle { border: 2px solid var(--ppbs-navy); padding: 6px 10px; }
.ppbs-nav-toggle:focus { box-shadow: var(--ppbs-focus); }
@media (max-width: 991.98px) {
    .ppbs-public .ppbs-nav { padding: 8px 0; }
    .ppbs-public .ppbs-header-actions { margin: 0 0 12px; flex-wrap: wrap; }
}

.ppbs-hero { background:
        radial-gradient(900px 420px at 95% -10%, rgba(245, 197, 24, 0.22), transparent 60%),
        radial-gradient(700px 380px at -10% 110%, rgba(200, 16, 46, 0.08), transparent 60%),
        var(--ppbs-white);
    padding: var(--ppbs-space-7) 0; border-bottom: 1px solid var(--ppbs-gray-100); }
.ppbs-kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ppbs-navy); color: var(--ppbs-yellow); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.04em; }
.ppbs-hero-title { font-family: var(--ppbs-font-display); font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 18px 0; color: var(--ppbs-navy); }
.ppbs-hero-title span { color: var(--ppbs-red); }
.ppbs-hero-lead { font-size: 1.15rem; color: var(--ppbs-gray-600); max-width: 600px; }
.ppbs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.ppbs-hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ppbs-navy); font-weight: 600; font-size: 0.9375rem; }
.ppbs-hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.ppbs-hero-points .ppbs-icon { color: var(--ppbs-success); }

.ppbs-visit-card { background: var(--ppbs-white); border: 1px solid var(--ppbs-gray-100); border-radius: 16px; padding: 24px; box-shadow: 0 18px 40px rgba(11, 31, 58, 0.08); }
.ppbs-visit-logo { display: flex; justify-content: center; margin-bottom: 12px; }
.ppbs-visit-logo img { height: 96px; width: auto; }
.ppbs-visit-row { display: flex; gap: 10px; color: var(--ppbs-gray-900); }
.ppbs-visit-row .ppbs-icon { color: var(--ppbs-red); margin-top: 3px; }
.ppbs-hours { width: 100%; margin: 8px 0 16px; font-size: 0.9375rem; }
.ppbs-hours th, .ppbs-hours td { padding: 5px 0; border-bottom: 1px dashed var(--ppbs-gray-100); font-weight: 500; }
.ppbs-hours td { text-align: right; color: var(--ppbs-gray-600); }
.ppbs-hours tr.is-today th, .ppbs-hours tr.is-today td { color: var(--ppbs-navy); font-weight: 700; }
.ppbs-today { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ppbs-yellow); color: var(--ppbs-navy); font-size: 0.75rem; }

.ppbs-public .ppbs-section { padding: var(--ppbs-space-7) 0; }
.ppbs-section-white { background: var(--ppbs-white); }
.ppbs-section-head { max-width: 720px; margin-bottom: var(--ppbs-space-5); }
.ppbs-section-head h2, .ppbs-public h2 { font-family: var(--ppbs-font-display); font-weight: 700; }
.ppbs-eyebrow { display: inline-block; color: var(--ppbs-red); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }

.ppbs-service-card { display: flex; flex-direction: column; height: 100%; padding: 24px; background: var(--ppbs-white); border: 1px solid var(--ppbs-gray-100); border-radius: var(--ppbs-radius-card); text-decoration: none; color: inherit; box-shadow: var(--ppbs-shadow-card); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.ppbs-service-card:hover { transform: translateY(-3px); border-color: var(--ppbs-yellow); box-shadow: 0 14px 30px rgba(11, 31, 58, 0.1); color: inherit; }
.ppbs-service-card h3 { font-size: 1.15rem; margin: 14px 0 8px; color: var(--ppbs-navy); font-weight: 700; }
.ppbs-service-card p { color: var(--ppbs-gray-600); flex: 1; }
.ppbs-service-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: #FDECEF; color: var(--ppbs-red); }
.ppbs-service-icon .ppbs-icon { width: 24px; height: 24px; }
.ppbs-link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ppbs-red); font-weight: 700; text-decoration: none; }
.ppbs-link-arrow .ppbs-icon { width: 16px; height: 16px; }

.ppbs-feature { height: 100%; padding: 20px; border-radius: var(--ppbs-radius-card); background: var(--ppbs-gray-50); border: 1px solid var(--ppbs-gray-100); }
.ppbs-feature h3 { font-size: 1.05rem; font-weight: 700; margin: 12px 0 6px; color: var(--ppbs-navy); }
.ppbs-feature p { margin: 0; color: var(--ppbs-gray-600); font-size: 0.9375rem; }
.ppbs-feature-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--ppbs-navy); color: var(--ppbs-yellow); }

.ppbs-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ppbs-steps li { position: relative; padding: 24px; background: var(--ppbs-white); border-radius: var(--ppbs-radius-card); border: 1px solid var(--ppbs-gray-100); }
.ppbs-steps h3 { font-size: 1.1rem; font-weight: 700; margin: 14px 0 6px; color: var(--ppbs-navy); }
.ppbs-steps p { margin: 0; color: var(--ppbs-gray-600); }
.ppbs-step-no { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ppbs-red); color: var(--ppbs-white); font-weight: 800; font-family: var(--ppbs-font-display); }

.ppbs-cta { background: var(--ppbs-red); color: var(--ppbs-white); padding: var(--ppbs-space-6) 0; }
.ppbs-cta h2 { color: var(--ppbs-white); margin-bottom: 6px; }
.ppbs-cta p { margin: 0; color: rgba(255, 255, 255, 0.9); }
.ppbs-cta-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.ppbs-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.ppbs-page-hero { background: var(--ppbs-white); padding: var(--ppbs-space-6) 0 var(--ppbs-space-5); border-bottom: 1px solid var(--ppbs-gray-100); }
.ppbs-page-hero h1 { font-family: var(--ppbs-font-display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 4px 0 12px; }
.ppbs-page-lead { font-size: 1.1rem; color: var(--ppbs-gray-600); max-width: 760px; margin: 0; }
.ppbs-breadcrumb { font-size: 0.9375rem; margin-bottom: 8px; color: var(--ppbs-gray-600); }
.ppbs-breadcrumb a { color: var(--ppbs-red); font-weight: 600; text-decoration: none; }

.ppbs-prose { font-size: 1.0625rem; }
.ppbs-prose h2 { font-size: 1.5rem; margin-top: 28px; }
.ppbs-prose h2:first-child { margin-top: 0; }
.ppbs-promise { padding: 16px 20px; border-left: 4px solid var(--ppbs-yellow); background: var(--ppbs-gray-50); border-radius: 0 8px 8px 0; }
.ppbs-vision { background: var(--ppbs-navy); color: rgba(255, 255, 255, 0.92); border: 0; font-size: 1.1rem; }
.ppbs-vision .ppbs-eyebrow { color: var(--ppbs-yellow); }
.ppbs-mission { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ppbs-mission li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: var(--ppbs-white); border-radius: var(--ppbs-radius-card); border: 1px solid var(--ppbs-gray-100); font-weight: 600; color: var(--ppbs-navy); }
.ppbs-mission .ppbs-icon { color: var(--ppbs-success); margin-top: 2px; }
.ppbs-parent-block { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.ppbs-parent-block img { width: 160px; height: auto; }
.ppbs-parent-block > div { flex: 1; min-width: 260px; }

.ppbs-service-panel { height: 100%; padding: 28px; background: var(--ppbs-white); border-radius: var(--ppbs-radius-card); border: 1px solid var(--ppbs-gray-100); box-shadow: var(--ppbs-shadow-card); }
.ppbs-service-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ppbs-service-panel h2 { font-size: 1.35rem; margin: 0; }
.ppbs-service-panel h2 a { color: var(--ppbs-navy); text-decoration: none; }
.ppbs-checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.ppbs-checklist li { display: flex; gap: 10px; padding: 6px 0; }
.ppbs-checklist .ppbs-icon { color: var(--ppbs-success); margin-top: 3px; }
.ppbs-checklist-lg li { padding: 10px 0; border-bottom: 1px solid var(--ppbs-gray-100); font-size: 1.0625rem; }
.ppbs-ask-card { border-top: 4px solid var(--ppbs-yellow); }
.ppbs-service-panel + .ppbs-notice, .ppbs-checklist + .ppbs-notice { margin-top: 20px; }

.ppbs-form-card { padding: 28px; }
.ppbs-optional { font-weight: 400; color: var(--ppbs-gray-600); }
.ppbs-consent { font-size: 0.9375rem; color: var(--ppbs-gray-600); }
.ppbs-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ppbs-contact-list { list-style: none; padding: 0; margin: 16px 0 0; }
.ppbs-contact-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--ppbs-gray-100); }
.ppbs-contact-list .ppbs-icon { color: var(--ppbs-red); }
.ppbs-thanks { text-align: center; padding: 40px 28px; }
.ppbs-thanks-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: #E3F4EA; color: var(--ppbs-success); margin-bottom: 16px; }
.ppbs-thanks-icon .ppbs-icon { width: 32px; height: 32px; }
.ppbs-thanks-actions { max-width: 320px; margin: 20px auto 0; }

.ppbs-public .ppbs-footer { margin-top: 0; padding-top: var(--ppbs-space-7); }
.ppbs-footer-title { color: var(--ppbs-white); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.875rem; margin-bottom: 12px; }
.ppbs-footer-links { list-style: none; padding: 0; margin: 0; }
.ppbs-footer-links li { padding: 4px 0; }
.ppbs-footer a { text-decoration: none; }
.ppbs-footer a:hover { color: var(--ppbs-yellow); }
.ppbs-footer address { font-style: normal; }
.ppbs-footer-parent { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ppbs-footer-parent img { width: 56px; height: auto; background: var(--ppbs-white); border-radius: 8px; padding: 4px; }

.ppbs-mobile-bar { display: none; }
@media (max-width: 767.98px) {
    .ppbs-public { padding-bottom: 64px; }
    .ppbs-mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; box-shadow: 0 -4px 16px rgba(11, 31, 58, 0.15); }
    .ppbs-mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-weight: 700; text-decoration: none; background: var(--ppbs-red); color: var(--ppbs-white); }
    .ppbs-mobile-bar a.ppbs-mobile-bar-wa { background: #1F8F4E; }
    .ppbs-hero { padding: var(--ppbs-space-5) 0; }
    .ppbs-public .ppbs-section { padding: var(--ppbs-space-6) 0; }
}

/* ---------- 13. Staff inbox ---------- */
.ppbs-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ppbs-tabs a { padding: 8px 14px; border-radius: 999px; background: var(--ppbs-white); border: 1px solid var(--ppbs-gray-100); color: var(--ppbs-navy); text-decoration: none; font-weight: 600; }
.ppbs-tabs a.is-active { background: var(--ppbs-navy); color: var(--ppbs-white); border-color: var(--ppbs-navy); }
.ppbs-count { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--ppbs-yellow); color: var(--ppbs-navy); font-size: 0.75rem; text-align: center; }
.ppbs-dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; margin: 0; }
.ppbs-dl dt { color: var(--ppbs-gray-600); font-weight: 600; }
.ppbs-dl dd { margin: 0; }
.ppbs-message { white-space: normal; background: var(--ppbs-gray-50); border-radius: 8px; padding: 12px; }
.ppbs-public .navbar.ppbs-header-inner { padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5); padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5); }
@media (max-width: 575.98px) {
    .ppbs-topstrip-inner > span:first-child { display: none !important; }
    .ppbs-topstrip-inner { justify-content: center; }
    .ppbs-kicker { font-size: 0.75rem; }
}

/* ---------- 14. Contact: social links and map ---------- */
.ppbs-social-card { border-top: 4px solid var(--ppbs-navy); }
.ppbs-social-grid { display: grid; gap: 10px; }
.ppbs-social { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ppbs-gray-100); background: var(--ppbs-white); color: var(--ppbs-navy); text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.ppbs-social:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11, 31, 58, 0.08); color: var(--ppbs-navy); }
.ppbs-social-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; color: var(--ppbs-white); flex-shrink: 0; }
.ppbs-social-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.ppbs-social-text span { font-size: 0.875rem; color: var(--ppbs-gray-600); }
.ppbs-social-go { color: var(--ppbs-gray-600); }
.ppbs-social-go .ppbs-icon { width: 16px; height: 16px; }
.ppbs-social-google .ppbs-social-icon { background: #F4B400; color: var(--ppbs-navy); }
.ppbs-social-google:hover { border-color: #F4B400; }
.ppbs-social-instagram .ppbs-social-icon { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.ppbs-social-instagram:hover { border-color: #DD2A7B; }
.ppbs-social-facebook .ppbs-social-icon { background: #1877F2; }
.ppbs-social-facebook:hover { border-color: #1877F2; }
.ppbs-social-linkedin .ppbs-social-icon { background: #0A66C2; }
.ppbs-social-linkedin:hover { border-color: #0A66C2; }
@media (min-width: 576px) and (max-width: 991.98px) { .ppbs-social-grid { grid-template-columns: 1fr 1fr; } }

.ppbs-map { position: relative; height: 100%; min-height: 440px; border-radius: 16px; overflow: hidden; border: 1px solid var(--ppbs-gray-100); box-shadow: 0 18px 40px rgba(11, 31, 58, 0.10); background: var(--ppbs-gray-100); }
.ppbs-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ppbs-map-badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ppbs-navy); color: var(--ppbs-white); font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px rgba(11, 31, 58, 0.25); }
.ppbs-map-badge:hover { background: var(--ppbs-red); color: var(--ppbs-white); }
.ppbs-map-badge .ppbs-icon { color: var(--ppbs-yellow); }
@media (max-width: 767.98px) { .ppbs-map { min-height: 320px; } }

/* ---------- 15. Home slider ---------- */
.ppbs-slider { position: relative; background: var(--ppbs-navy); }
.ppbs-slider .carousel-item { min-height: clamp(560px, 78vh, 760px); }
.ppbs-slide { position: relative; overflow: hidden; }
.ppbs-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7.5s ease-out; }
.carousel-item.active .ppbs-slide-bg { transform: scale(1); }
.ppbs-slide-vision::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 44, 0.92) 0%, rgba(8, 22, 44, 0.72) 42%, rgba(8, 22, 44, 0.15) 100%); }
.ppbs-slide-easy { background: radial-gradient(900px 500px at 85% 20%, rgba(245, 197, 24, 0.25), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(200, 16, 46, 0.10), transparent 60%), #FFFBF0; }
.ppbs-slide-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: inherit; padding-top: 72px; padding-bottom: 120px; }
.ppbs-slide-copy { max-width: 640px; }
.carousel-item.active .ppbs-slide-copy > * { animation: ppbs-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.carousel-item.active .ppbs-slide-copy > *:nth-child(2) { animation-delay: .08s; }
.carousel-item.active .ppbs-slide-copy > *:nth-child(3) { animation-delay: .16s; }
.carousel-item.active .ppbs-slide-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes ppbs-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.ppbs-slide-title { font-family: var(--ppbs-font-display); font-weight: 700; font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.08; color: var(--ppbs-white); margin: 18px 0; }
.ppbs-slide-title span { color: var(--ppbs-yellow); }
.ppbs-slide-title-dark { color: var(--ppbs-navy); }
.ppbs-slide-title-dark span { color: var(--ppbs-red); }
.ppbs-slide-lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); max-width: 560px; }
.ppbs-slide-lead-dark { color: var(--ppbs-gray-600); }
.ppbs-kicker-red { background: var(--ppbs-red); color: var(--ppbs-white); }
.ppbs-btn-glass { background: rgba(255, 255, 255, 0.12); color: var(--ppbs-white); border: 1px solid rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.ppbs-btn-glass:hover { background: rgba(255, 255, 255, 0.22); color: var(--ppbs-white); }

.ppbs-slider-ui { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 5; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.ppbs-slider-ui > * { pointer-events: auto; }
.ppbs-slider-dots.carousel-indicators { position: static; margin: 0; justify-content: flex-start; gap: 10px; }
.ppbs-slider-dots [data-bs-target] { position: relative; width: 56px; height: 5px; border: 0; border-radius: 999px; margin: 0; opacity: 1; background: rgba(255, 255, 255, 0.35); overflow: hidden; text-indent: 0; }
.ppbs-slider-dots [data-bs-target]::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--ppbs-yellow); border-radius: inherit; }
.ppbs-slider-dots .active::after { animation: ppbs-dot 7s linear forwards; }
.ppbs-slider:hover .ppbs-slider-dots .active::after { animation-play-state: paused; }
@keyframes ppbs-dot { to { width: 100%; } }
.ppbs-slider-arrows { display: flex; gap: 12px; }
.ppbs-slider-arrow { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(11, 31, 58, 0.35); color: var(--ppbs-white); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.ppbs-slider-arrow:hover { background: var(--ppbs-yellow); color: var(--ppbs-navy); border-color: var(--ppbs-yellow); transform: translateY(-2px) scale(1.05); }
.ppbs-slider-arrow:focus-visible { outline: 3px solid var(--ppbs-yellow); outline-offset: 3px; }
.ppbs-slider:has(.ppbs-slide-easy.active) .ppbs-slider-arrow { background: var(--ppbs-white); color: var(--ppbs-navy); border-color: var(--ppbs-gray-100); }
.ppbs-slider:has(.ppbs-slide-easy.active) .ppbs-slider-arrow:hover { background: var(--ppbs-red); color: var(--ppbs-white); border-color: var(--ppbs-red); }
.ppbs-slider:has(.ppbs-slide-easy.active) .ppbs-slider-dots [data-bs-target] { background: rgba(11, 31, 58, 0.18); }
.ppbs-slider:has(.ppbs-slide-easy.active) .ppbs-slider-dots .active::after { background: var(--ppbs-red); }

.ppbs-flow { list-style: none; padding: 0; margin: 0 0 0 auto; max-width: 440px; display: grid; gap: 14px; counter-reset: flow; }
.ppbs-flow li { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; background: var(--ppbs-white); border-radius: 16px; box-shadow: 0 14px 34px rgba(11, 31, 58, 0.10); border: 1px solid var(--ppbs-gray-100); }
.ppbs-flow li:nth-child(2) { margin-left: 28px; }
.ppbs-flow li:nth-child(3) { margin-left: 56px; }
.ppbs-flow strong { color: var(--ppbs-navy); }
.ppbs-flow span:last-child { grid-column: 2; color: var(--ppbs-gray-600); font-size: 0.9375rem; }
.ppbs-flow-icon { grid-row: span 2; display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--ppbs-navy); color: var(--ppbs-yellow); }
.ppbs-rate-badge { display: flex; width: max-content; align-items: center; gap: 10px; margin: 22px 0 0 auto; padding: 12px 20px; border-radius: 999px; background: var(--ppbs-red); color: var(--ppbs-white); box-shadow: 0 12px 26px rgba(200, 16, 46, 0.3); }
.ppbs-rate-badge strong { font-family: var(--ppbs-font-display); font-size: 1.9rem; line-height: 1; }
.ppbs-rate-badge span { font-size: 0.8125rem; line-height: 1.2; }

.ppbs-quickbook-band { position: relative; z-index: 6; margin-top: -64px; }
.ppbs-quick-book { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--ppbs-white); border-radius: 16px; border: 1px solid var(--ppbs-gray-100); box-shadow: 0 18px 40px rgba(11, 31, 58, 0.12); color: var(--ppbs-navy); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.ppbs-quick-book > span:nth-child(2) { flex: 1; }
.ppbs-quick-book:hover { transform: translateY(-3px); border-color: var(--ppbs-red); color: var(--ppbs-navy); }
.ppbs-quick-book > .ppbs-icon { color: var(--ppbs-red); }
.ppbs-quick-book-fast .ppbs-service-icon { background: var(--ppbs-navy); color: var(--ppbs-yellow); }

@media (max-width: 767.98px) {
    .ppbs-slider .carousel-item { min-height: 600px; }
    .ppbs-slide-inner { padding-top: 48px; padding-bottom: 150px; }
    .ppbs-slide-vision::after { background: linear-gradient(180deg, rgba(8, 22, 44, 0.82) 0%, rgba(8, 22, 44, 0.9) 100%); }
    .ppbs-slider-ui { bottom: 96px; }
    .ppbs-slider-arrow { width: 46px; height: 46px; }
    .ppbs-slider-dots [data-bs-target] { width: 40px; }
    .ppbs-quickbook-band { margin-top: -70px; }
}
@media (prefers-reduced-motion: reduce) {
    .ppbs-slide-bg, .carousel-item.active .ppbs-slide-copy > * { animation: none; transition: none; transform: none; }
    .ppbs-slider-dots .active::after { animation: none; width: 100%; }
}

/* ---------- 16. Accounts and booking ---------- */
.ppbs-header-actions .ppbs-btn.is-active { border-color: var(--ppbs-red); color: var(--ppbs-red); }
.ppbs-auth-section { background: radial-gradient(800px 400px at 100% 0%, rgba(245, 197, 24, 0.18), transparent 60%), var(--ppbs-gray-50); }
.ppbs-auth-panel { display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: var(--ppbs-white); box-shadow: 0 24px 60px rgba(11, 31, 58, 0.12); }
.ppbs-auth-side { padding: 40px; background: var(--ppbs-navy); color: rgba(255, 255, 255, 0.88); }
.ppbs-auth-side h1 { color: var(--ppbs-white); font-family: var(--ppbs-font-display); font-size: 2rem; margin: 8px 0 18px; }
.ppbs-auth-side .ppbs-eyebrow { color: var(--ppbs-yellow); }
.ppbs-auth-side .ppbs-checklist .ppbs-icon { color: var(--ppbs-yellow); }
.ppbs-auth-form { padding: 40px; }
@media (max-width: 767.98px) { .ppbs-auth-panel { grid-template-columns: 1fr; } .ppbs-auth-side, .ppbs-auth-form { padding: 28px; } }

.ppbs-booking-list { display: grid; gap: 12px; }
.ppbs-booking-item { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: var(--ppbs-white); border-radius: 14px; border: 1px solid var(--ppbs-gray-100); color: inherit; text-decoration: none; }
.ppbs-booking-item:hover { border-color: var(--ppbs-yellow); color: inherit; }
.ppbs-price-sm { font-weight: 700; color: var(--ppbs-navy); margin-top: 6px; }

.ppbs-step-card { background: var(--ppbs-white); border: 1px solid var(--ppbs-gray-100); border-radius: 16px; padding: 24px; margin-bottom: 20px; box-shadow: var(--ppbs-shadow-card); }
.ppbs-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ppbs-step-head .ppbs-step-no { width: 34px; height: 34px; font-size: 0.95rem; }
.ppbs-label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ppbs-navy); }
.ppbs-choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ppbs-choice { position: relative; cursor: pointer; }
.ppbs-choice input { position: absolute; opacity: 0; }
.ppbs-choice span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ppbs-gray-100); background: var(--ppbs-gray-50); font-weight: 600; color: var(--ppbs-navy); }
.ppbs-choice input:checked + span { border-color: var(--ppbs-red); background: #FDECEF; color: var(--ppbs-red); }
.ppbs-choice input:focus-visible + span { box-shadow: var(--ppbs-focus); }
.ppbs-place gmp-place-autocomplete { width: 100%; color-scheme: light; }
.ppbs-summary-card { position: sticky; top: 104px; background: var(--ppbs-white); border-radius: 18px; overflow: hidden; border: 1px solid var(--ppbs-gray-100); box-shadow: 0 20px 44px rgba(11, 31, 58, 0.12); }
.ppbs-map-canvas { height: 280px; background: var(--ppbs-gray-100); }
.ppbs-summary-body { padding: 22px 24px; }
.ppbs-price { font-family: var(--ppbs-font-display); font-weight: 700; font-size: 2.4rem; color: var(--ppbs-navy); line-height: 1.1; }
.ppbs-delivery { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #E3F4EA; color: #1F6B42; font-weight: 600; }
.ppbs-delivery:empty { display: none; }
.ppbs-delivery.is-next-day { background: #FFF4DC; color: #8A5A00; }
.ppbs-summary-points { list-style: none; padding: 0; margin: 16px 0; font-size: 0.9375rem; }
.ppbs-summary-points li { display: flex; gap: 8px; padding: 4px 0; }
.ppbs-summary-points .ppbs-icon { color: var(--ppbs-success); }
@media (max-width: 991.98px) { .ppbs-summary-card { position: static; } }

.ppbs-progress { list-style: none; display: flex; padding: 0; margin: 22px 0 6px; }
.ppbs-progress li { position: relative; flex: 1; text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--ppbs-gray-600); padding-top: 26px; }
.ppbs-progress li span { position: absolute; top: 0; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--ppbs-gray-100); border: 3px solid var(--ppbs-white); box-shadow: 0 0 0 1px var(--ppbs-gray-100); z-index: 1; }
.ppbs-progress li::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: var(--ppbs-gray-100); }
.ppbs-progress li:first-child::before { display: none; }
.ppbs-progress li.is-done { color: var(--ppbs-navy); }
.ppbs-progress li.is-done span { background: var(--ppbs-success); box-shadow: 0 0 0 1px var(--ppbs-success); }
.ppbs-progress li.is-done::before { background: var(--ppbs-success); }
.ppbs-progress.is-stopped li span { background: var(--ppbs-gray-100); }
.ppbs-quote-box { margin-top: 18px; padding: 18px; border-radius: 12px; background: #FFF8DB; border: 1px solid #F1DE8A; }
.ppbs-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.ppbs-timeline li { display: flex; gap: 12px; padding: 0 0 16px; position: relative; }
.ppbs-timeline li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--ppbs-gray-100); }
.ppbs-timeline li:last-child::before { display: none; }
.ppbs-timeline-dot { flex-shrink: 0; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--ppbs-red); box-shadow: 0 0 0 3px #FDECEF; }
.ppbs-chip-muted { background: var(--ppbs-gray-100); color: var(--ppbs-gray-600); }

.ppbs-book-hero { background: radial-gradient(900px 400px at 100% 0%, rgba(245, 197, 24, 0.22), transparent 60%), var(--ppbs-white); }
.ppbs-option-card { position: relative; height: 100%; padding: 32px; border-radius: 20px; background: var(--ppbs-white); border: 1px solid var(--ppbs-gray-100); box-shadow: 0 18px 40px rgba(11, 31, 58, 0.08); }
.ppbs-option-card h2 { font-size: 1.6rem; margin: 16px 0 10px; }
.ppbs-option-card-fast { border-top: 5px solid var(--ppbs-yellow); }
.ppbs-option-card:not(.ppbs-option-card-fast) { border-top: 5px solid var(--ppbs-red); }
.ppbs-option-badge { position: absolute; top: 24px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--ppbs-navy); color: var(--ppbs-yellow); font-size: 0.8125rem; font-weight: 700; }
.ppbs-track-strip { margin-top: 32px; padding: 24px; border-radius: 16px; background: var(--ppbs-navy); color: rgba(255, 255, 255, 0.85); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.ppbs-track-strip h2 { color: var(--ppbs-white); }
.ppbs-track-strip .ppbs-muted { color: rgba(255, 255, 255, 0.7); }
.ppbs-track-form { display: flex; flex-wrap: wrap; gap: 8px; }
.ppbs-track-form .form-control { width: auto; min-width: 160px; flex: 1; }
.ppbs-tabs-sm a { padding: 5px 12px; font-size: 0.875rem; }

/* 17. Email code (OTP) */
.ppbs-otp-input { font-size: 1.75rem; font-weight: 700; letter-spacing: .5em; text-align: center; padding: 12px; }
.ppbs-otp-input::placeholder { letter-spacing: .5em; color: #c3cad6; }
.ppbs-auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ppbs-muted, #6b7280); font-size: .875rem; }
.ppbs-auth-or::before, .ppbs-auth-or::after { content: ""; flex: 1; height: 1px; background: #e3e7ee; }
.ppbs-link-button { background: none; border: 0; padding: 0; color: var(--ppbs-red); font-weight: 600; text-decoration: underline; cursor: pointer; }
.ppbs-link-button:hover { color: var(--ppbs-navy); }

/* ---------- 18. Staff console theme (dark sidebar, live dashboard) ---------- */
.ppbs-console-body {
    --pc-bg: #F2F4F8; --pc-side: #0C1729; --pc-side-2: #13213A; --pc-side-text: #9AA6BD;
    --pc-line: #E9EDF3; --pc-muted: #7A8599; --pc-ink: #0B1F3A;
    --pc-card-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 6px 24px rgba(15, 23, 42, 0.05);
    --pc-navy: #16325C; --pc-navy-bg: #E8EEF8; --pc-green: #128C5E; --pc-green-bg: #E3F6EE;
    --pc-red: #C8102E; --pc-red-bg: #FDECEF; --pc-gold: #B7860B; --pc-gold-bg: #FFF5D6;
    --pc-blue: #2563EB; --pc-blue-bg: #E8F0FE;
    background: var(--pc-bg);
}
.ppbs-console { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.ppbs-console-column { display: flex; flex-direction: column; min-width: 0; }
.ppbs-console-menu-toggle { position: absolute; opacity: 0; pointer-events: none; }

/* Sidebar */
.ppbs-sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 1040; width: 272px; display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--pc-side) 0%, var(--pc-side-2) 100%); color: var(--pc-side-text);
    transform: translateX(-100%); transition: transform 0.25s ease;
}
.ppbs-console-menu-toggle:checked ~ .ppbs-console .ppbs-sidebar { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, 0.35); }
.ppbs-nav-scrim { display: none; }
.ppbs-console-menu-toggle:checked ~ .ppbs-console .ppbs-nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 1030; background: rgba(12, 23, 41, 0.45);
}
.ppbs-sidebar-head { padding: 22px 20px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ppbs-sidebar-head .ppbs-brand-logo { height: 46px; padding: 5px 10px; border-radius: 10px; background: #fff; }
.ppbs-surface-badge {
    display: inline-block; margin-top: 14px; padding: 3px 10px; border-radius: 999px;
    background: rgba(245, 197, 24, 0.14); color: var(--ppbs-yellow); font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.ppbs-sidebar-scroll { flex: 1; overflow-y: auto; padding: 8px 12px 16px; }
.ppbs-sidebar-nav { list-style: none; margin: 0; padding: 0; }
.ppbs-nav-section {
    margin: 18px 12px 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(154, 166, 189, 0.6);
}
.ppbs-sidebar-nav a {
    position: relative; display: flex; align-items: center; gap: 12px; margin: 2px 0; padding: 10px 12px;
    border-radius: 10px; color: var(--pc-side-text); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.ppbs-sidebar-nav a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.ppbs-sidebar-nav a[aria-current="page"] { background: rgba(200, 16, 46, 0.16); color: #fff; }
.ppbs-sidebar-nav a[aria-current="page"]::before {
    content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0;
    background: var(--ppbs-red);
}
.ppbs-nav-icon { display: inline-flex; color: inherit; opacity: 0.8; }
.ppbs-sidebar-nav a[aria-current="page"] .ppbs-nav-icon { color: #FF5C77; opacity: 1; }
.ppbs-sidebar-user {
    display: flex; align-items: center; gap: 12px; margin: 12px; padding: 12px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.04); color: #fff;
}
.ppbs-sidebar-user-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ppbs-sidebar-user-text small { color: var(--pc-side-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Avatar */
.ppbs-avatar {
    position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--ppbs-red), #8E0B21);
    color: #fff; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.02em;
}
.ppbs-avatar-sm { width: 36px; height: 36px; border-radius: 10px; background: var(--pc-navy-bg); color: var(--pc-navy); }
.ppbs-avatar.is-online::after {
    content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%;
    background: #22C55E; border: 2px solid #fff;
}

/* Top bar */
.ppbs-topbar {
    position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 14px 20px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--pc-line);
}
.ppbs-topbar-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ppbs-crumb { display: block; font-size: 0.75rem; color: var(--pc-muted); font-weight: 600; }
.ppbs-topbar h1 {
    margin: 0; font-family: var(--ppbs-font-body); font-size: 1.25rem; font-weight: 700; color: var(--pc-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ppbs-nav-button, .ppbs-icon-button {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
    border-radius: 10px; border: 1px solid var(--pc-line); background: #fff; color: var(--pc-ink); cursor: pointer;
}
.ppbs-nav-button:hover, .ppbs-icon-button:hover { background: var(--pc-bg); color: var(--ppbs-red); }
.ppbs-userbox { display: flex; align-items: center; gap: 12px; }
.ppbs-userbox form { margin: 0; }
.ppbs-userbox-text { display: none; flex-direction: column; line-height: 1.2; }
.ppbs-userbox-text small { color: var(--pc-muted); }
.ppbs-topbar-link {
    display: none; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: var(--pc-muted);
    font-weight: 600; font-size: 0.875rem; text-decoration: none;
}
.ppbs-topbar-link:hover { background: var(--pc-bg); color: var(--pc-ink); }
.ppbs-console-main { flex: 1; padding: 20px; }
.ppbs-console-footer { padding: 16px 20px 24px; color: var(--pc-muted); font-size: 0.8125rem; }

@media (min-width: 992px) {
    .ppbs-console { grid-template-columns: 272px 1fr; }
    .ppbs-sidebar { position: sticky; top: 0; height: 100vh; transform: none; }
    .ppbs-nav-button, .ppbs-nav-scrim, .ppbs-console-menu-toggle:checked ~ .ppbs-console .ppbs-nav-scrim { display: none; }
    .ppbs-topbar { padding: 16px 32px; }
    .ppbs-console-main { padding: 28px 32px; }
    .ppbs-console-footer { padding: 16px 32px 28px; }
    .ppbs-userbox-text, .ppbs-topbar-link { display: flex; }
}

/* Existing console pages pick up the new look */
.ppbs-console-main .ppbs-card { border: 0; border-radius: 14px; box-shadow: var(--pc-card-shadow); }
.ppbs-console-main .ppbs-table { border-radius: 14px; overflow: hidden; box-shadow: var(--pc-card-shadow); }
.ppbs-console-main .ppbs-table th { background: #F8FAFC; color: var(--pc-muted); font-size: 0.75rem; }
.ppbs-console-main .ppbs-table th, .ppbs-console-main .ppbs-table td { padding: 13px 16px; border-bottom-color: var(--pc-line); }
.ppbs-btn .ppbs-icon { margin-right: 6px; }
.ppbs-btn-light { background: #fff; color: var(--pc-ink, var(--ppbs-navy)); border: 1px solid var(--pc-line, #E9EDF3); }
.ppbs-btn-light:hover { background: var(--pc-bg, #F2F4F8); color: var(--ppbs-red); }

/* Dashboard */
.ppbs-dash-hero {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px;
}
.ppbs-dash-date { margin: 0 0 2px; color: var(--pc-muted); font-weight: 600; font-size: 0.875rem; }
.ppbs-dash-greeting { margin: 0; font-family: var(--ppbs-font-display); font-size: 1.75rem; color: var(--pc-ink); }
.ppbs-dash-sub { margin: 4px 0 0; color: var(--pc-muted); }
.ppbs-dash-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ppbs-live-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff;
    box-shadow: var(--pc-card-shadow); color: var(--pc-muted); font-size: 0.8125rem; font-weight: 600;
}
.ppbs-live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: ppbs-pulse 1.8s infinite;
}
@keyframes ppbs-pulse {
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ppbs-online-strip, .ppbs-kpi-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 576px) { .ppbs-online-strip, .ppbs-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ppbs-online-strip, .ppbs-kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.ppbs-online-card {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #fff;
    box-shadow: var(--pc-card-shadow); color: inherit; text-decoration: none;
}
.ppbs-online-card > div { flex: 1; min-width: 0; }
.ppbs-online-label { display: block; color: var(--pc-muted); font-size: 0.8125rem; font-weight: 600; }
.ppbs-online-value { display: block; font-size: 1.625rem; line-height: 1.1; color: var(--pc-ink); }
.ppbs-online-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--pc-muted); font-size: 0.75rem; font-weight: 600; }
.ppbs-online-customers { background: linear-gradient(135deg, #0B1F3A 0%, #16325C 100%); }
.ppbs-online-customers .ppbs-online-label, .ppbs-online-customers .ppbs-online-meta { color: rgba(255, 255, 255, 0.7); }
.ppbs-online-customers .ppbs-online-value { color: #fff; }
.ppbs-online-customers .ppbs-kpi-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ppbs-online-action:hover { color: inherit; box-shadow: 0 0 0 2px var(--pc-red-bg), var(--pc-card-shadow); }
.ppbs-online-action.is-hot { box-shadow: inset 4px 0 0 var(--pc-red), var(--pc-card-shadow); }
.ppbs-online-action.is-hot .ppbs-online-value { color: var(--pc-red); }

.ppbs-kpi-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 12px;
}
.ppbs-kpi-icon.ppbs-tone-navy { background: var(--pc-navy-bg); color: var(--pc-navy); }
.ppbs-kpi-icon.ppbs-tone-green { background: var(--pc-green-bg); color: var(--pc-green); }
.ppbs-kpi-icon.ppbs-tone-red { background: var(--pc-red-bg); color: var(--pc-red); }
.ppbs-kpi-icon.ppbs-tone-gold { background: var(--pc-gold-bg); color: var(--pc-gold); }
.ppbs-kpi-icon.ppbs-tone-blue { background: var(--pc-blue-bg); color: var(--pc-blue); }

.ppbs-kpi {
    position: relative; display: flex; flex-direction: column; padding: 20px; border-radius: 14px; background: #fff;
    box-shadow: var(--pc-card-shadow); overflow: hidden;
}
.ppbs-kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ppbs-kpi-label { color: var(--pc-muted, #7A8599); font-size: 0.875rem; font-weight: 600; }
.ppbs-kpi-value {
    display: block; margin: 2px 0 6px; font-size: 2rem; line-height: 1.1; color: var(--pc-ink, #0B1F3A);
    font-weight: 800; letter-spacing: -0.01em;
}
.ppbs-kpi-note { color: var(--pc-muted); font-size: 0.8125rem; margin-top: 8px; }
.ppbs-trend { padding: 3px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.ppbs-trend-up { background: var(--pc-green-bg); color: var(--pc-green); }
.ppbs-trend-down { background: var(--pc-red-bg); color: var(--pc-red); }
.ppbs-trend-flat { background: var(--pc-bg); color: var(--pc-muted); }
.ppbs-spark { display: block; width: 100%; height: 40px; margin-top: 4px; }
.ppbs-spark-line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ppbs-spark-area { opacity: 0.12; }
.ppbs-spark.ppbs-tone-navy .ppbs-spark-line { stroke: var(--pc-navy); }
.ppbs-spark.ppbs-tone-navy .ppbs-spark-area { fill: var(--pc-navy); }
.ppbs-spark.ppbs-tone-green .ppbs-spark-line { stroke: var(--pc-green); }
.ppbs-spark.ppbs-tone-green .ppbs-spark-area { fill: var(--pc-green); }
.ppbs-spark.ppbs-tone-red .ppbs-spark-line { stroke: var(--pc-red); }
.ppbs-spark.ppbs-tone-red .ppbs-spark-area { fill: var(--pc-red); }
.ppbs-spark.ppbs-tone-gold .ppbs-spark-line { stroke: var(--pc-gold); }
.ppbs-spark.ppbs-tone-gold .ppbs-spark-area { fill: var(--pc-gold); }

.ppbs-dash-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 1200px) {
    .ppbs-dash-grid { grid-template-columns: repeat(12, 1fr); }
    .ppbs-span-4 { grid-column: span 4; }
    .ppbs-span-8 { grid-column: span 8; }
    .ppbs-span-12 { grid-column: span 12; }
}
.ppbs-panel { padding: 20px 22px; border-radius: 14px; background: #fff; box-shadow: var(--pc-card-shadow); min-width: 0; }
.ppbs-panel-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ppbs-panel-head h3 { margin: 0; font-family: var(--ppbs-font-body); font-size: 1.0625rem; font-weight: 700; color: var(--pc-ink); }
.ppbs-panel-head p { margin: 2px 0 0; color: var(--pc-muted); font-size: 0.8125rem; }
.ppbs-empty { margin: 0; padding: 28px 12px; text-align: center; color: var(--pc-muted); }

.ppbs-chart { display: block; width: 100%; height: auto; overflow: visible; }
.ppbs-grid { stroke: #EEF1F6; stroke-width: 1; }
.ppbs-axis { fill: #8A94A6; font-size: 11px; font-family: var(--ppbs-font-body); }
.ppbs-axis-today { fill: var(--pc-ink); font-weight: 700; }
.ppbs-bar-bookings { fill: #A9BCE0; }
.ppbs-bar-pickups { fill: var(--pc-navy); }
.ppbs-bar-deliveries { fill: #1FB57D; }
.ppbs-chart-key, .ppbs-legend { list-style: none; margin: 0; padding: 0; }
.ppbs-chart-key { display: flex; flex-wrap: wrap; gap: 14px; color: var(--pc-muted); font-size: 0.8125rem; font-weight: 600; }
.ppbs-chart-key li { display: inline-flex; align-items: center; gap: 6px; }
.ppbs-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.ppbs-key-bookings { background: #A9BCE0; }
.ppbs-key-pickups { background: var(--pc-navy); }
.ppbs-key-deliveries { background: #1FB57D; }
.ppbs-key-pan { background: var(--pc-navy); }
.ppbs-key-same { background: var(--pc-red); }
.ppbs-area-stop-top { stop-color: #C8102E; stop-opacity: 0.22; }
.ppbs-area-stop-bottom { stop-color: #C8102E; stop-opacity: 0; }
.ppbs-area-line { fill: none; stroke: var(--pc-red); stroke-width: 2.5; stroke-linecap: round; }
.ppbs-area-dot { fill: #fff; stroke: var(--pc-red); stroke-width: 2; }
.ppbs-area-dot-today { fill: var(--pc-red); stroke: #fff; stroke-width: 3; }

.ppbs-split { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.ppbs-split-label { color: var(--pc-muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.ppbs-split-bar { display: block; width: 100%; height: 8px; border-radius: 4px; background: var(--pc-bg); overflow: hidden; }
.ppbs-split-pan { fill: var(--pc-navy); }
.ppbs-split-same { fill: var(--pc-red); }
.ppbs-split-legend { display: flex; align-items: center; gap: 6px; color: var(--pc-muted); font-size: 0.8125rem; }
.ppbs-split-legend .ppbs-dot:last-of-type { margin-left: 8px; }

.ppbs-donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ppbs-donut { width: 180px; height: 180px; }
.ppbs-donut-track { fill: none; stroke: #F1F3F7; stroke-width: 16; }
.ppbs-donut-seg { fill: none; stroke-width: 16; }
.ppbs-donut-total { fill: var(--pc-ink); font-size: 30px; font-weight: 800; font-family: var(--ppbs-font-body); }
.ppbs-donut-caption { fill: var(--pc-muted); font-size: 12px; font-weight: 600; font-family: var(--ppbs-font-body); }
.ppbs-legend { width: 100%; display: grid; gap: 6px; }
.ppbs-legend li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--pc-ink); }
.ppbs-legend li strong { margin-left: auto; }
.ppbs-legend li.is-empty { color: #B0B8C6; }
.ppbs-seg-0 { stroke: #F59E0B; } .ppbs-seg-bg-0 { background: #F59E0B; }
.ppbs-seg-1 { stroke: #3B82F6; } .ppbs-seg-bg-1 { background: #3B82F6; }
.ppbs-seg-2 { stroke: #16325C; } .ppbs-seg-bg-2 { background: #16325C; }
.ppbs-seg-3 { stroke: #8B5CF6; } .ppbs-seg-bg-3 { background: #8B5CF6; }
.ppbs-seg-4 { stroke: #C8102E; } .ppbs-seg-bg-4 { background: #C8102E; }
.ppbs-seg-5 { stroke: #14B8A6; } .ppbs-seg-bg-5 { background: #14B8A6; }
.ppbs-seg-6 { stroke: #1FB57D; } .ppbs-seg-bg-6 { background: #1FB57D; }
.ppbs-seg-7 { stroke: #94A3B8; } .ppbs-seg-bg-7 { background: #94A3B8; }

.ppbs-rider-list { list-style: none; margin: 0; padding: 0; }
.ppbs-rider-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--pc-line); }
.ppbs-rider-list li:last-child { border-bottom: 0; }
.ppbs-rider-name { flex: 1; display: flex; flex-direction: column; font-weight: 700; color: var(--pc-ink); line-height: 1.25; }
.ppbs-rider-name small { color: var(--pc-muted); font-weight: 600; }
.ppbs-rider-jobs { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; font-size: 1.125rem; color: var(--pc-ink); line-height: 1.1; }
.ppbs-rider-jobs small { color: var(--pc-muted); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; }

.ppbs-console-main .ppbs-table-dash { box-shadow: none; border-radius: 0; }
.ppbs-table-dash td { vertical-align: middle; }
.ppbs-ref { font-family: var(--ppbs-font-mono); font-size: 0.8125rem; font-weight: 700; color: var(--pc-navy); text-decoration: none; }
.ppbs-ref:hover { color: var(--ppbs-red); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    .ppbs-live-dot { animation: none; }
    .ppbs-sidebar { transition: none; }
}
.ppbs-week-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
@media (min-width: 768px) { .ppbs-week-stats { grid-template-columns: repeat(4, 1fr); } }
.ppbs-week-stats div { padding: 12px 14px; border-radius: 12px; background: var(--pc-bg); }
.ppbs-week-stats span { display: block; color: var(--pc-muted); font-size: 0.75rem; font-weight: 600; }
.ppbs-week-stats strong { display: block; font-size: 1.375rem; color: var(--pc-ink); line-height: 1.2; }
.ppbs-online-meta { white-space: nowrap; }
@media (max-width: 575.98px) {
    .ppbs-online-strip, .ppbs-kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ppbs-online-card { flex-wrap: wrap; gap: 8px; padding: 14px; }
    .ppbs-online-card .ppbs-kpi-icon { width: 36px; height: 36px; border-radius: 10px; }
    .ppbs-online-meta { width: 100%; }
    .ppbs-kpi { padding: 14px; }
    .ppbs-kpi-value { font-size: 1.5rem; }
    .ppbs-kpi-top { margin-bottom: 8px; }
    .ppbs-kpi .ppbs-kpi-icon { width: 36px; height: 36px; border-radius: 10px; }
    .ppbs-kpi-note { font-size: 0.75rem; }
    .ppbs-dash-greeting { font-size: 1.5rem; }
    .ppbs-panel { padding: 16px; }
}

/* ---------- 19. India Post: PIN search on the booking form, tracking box ---------- */
.ppbs-progress li.is-current span { box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.18), 0 0 0 1px var(--ppbs-success); }
.ppbs-progress li.is-current { color: var(--ppbs-navy); font-weight: 800; }
@media (max-width: 575.98px) {
    .ppbs-progress-6 li { font-size: 0.6875rem; line-height: 1.2; }
}

.ppbs-pin-search { padding: 14px 16px 4px; margin-bottom: 14px; border-radius: 12px; background: #F4F7FB; }
.ppbs-pin-status { min-height: 1.25em; margin: 0 0 10px; font-size: 0.875rem; font-weight: 600; color: var(--ppbs-gray-600); }
.ppbs-pin-status.is-ok { color: var(--ppbs-success); }
.ppbs-pin-status.is-warn { color: #9A6700; }
.ppbs-pin-status.is-error { color: var(--ppbs-red); }
.ppbs-pin-status.is-busy::before {
    content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px;
    border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ppbs-spin 0.8s linear infinite;
}
@keyframes ppbs-spin { to { transform: rotate(360deg); } }
.form-control.ppbs-autofilled { background: #EEF7F1; border-color: #B7E1C5; }

.ppbs-indiapost { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #F4F7FB; border: 1px solid #E3E9F2; }
.ppbs-card .ppbs-indiapost:first-child { margin-top: 0; }
.ppbs-indiapost-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ppbs-indiapost-label, .ppbs-indiapost-eta span { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ppbs-gray-600); }
.ppbs-indiapost-number { font-size: 1.125rem; color: var(--ppbs-navy); }
.ppbs-indiapost-eta { text-align: right; }
.ppbs-indiapost-eta strong { color: var(--ppbs-success); font-size: 1.0625rem; }
.ppbs-indiapost-latest { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff; font-weight: 700; color: var(--ppbs-navy); }
.ppbs-indiapost-latest.is-waiting { font-weight: 600; color: var(--ppbs-gray-600); }
.ppbs-indiapost-foot { margin: 12px 0 0; font-size: 0.8125rem; color: var(--ppbs-gray-600); }
.ppbs-indiapost form { margin-top: 10px; }
.ppbs-journey { list-style: none; margin: 14px 0 0; padding: 0; }
.ppbs-journey li { position: relative; display: flex; gap: 14px; padding: 0 0 14px; }
.ppbs-journey li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: #D6DEEA; }
.ppbs-journey-dot { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: #C3CDDC; border: 3px solid #F4F7FB; box-shadow: 0 0 0 1px #C3CDDC; }
.ppbs-journey li.is-latest .ppbs-journey-dot { background: var(--ppbs-success); box-shadow: 0 0 0 1px var(--ppbs-success), 0 0 0 5px rgba(25, 135, 84, 0.15); }
.ppbs-journey strong { display: block; color: var(--ppbs-navy); font-size: 0.9375rem; }
.ppbs-journey span { display: block; color: var(--ppbs-gray-600); font-size: 0.8125rem; }
@media (max-width: 575.98px) {
    .ppbs-indiapost-eta { text-align: left; }
}

/* ---------- 20. Customer account: side menu, profile, addresses, refer & earn ---------- */
.ppbs-account-section { padding-top: 32px; }
.ppbs-account-layout { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .ppbs-account-layout { grid-template-columns: 260px 1fr; } }
.ppbs-account-main, .ppbs-account-menu { min-width: 0; } /* lets the tab row scroll instead of widening the page */

.ppbs-account-menu { background: var(--ppbs-white); border-radius: 16px; box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06); padding: 14px; }
.ppbs-account-me { display: flex; align-items: center; gap: 12px; padding: 6px 6px 14px; border-bottom: 1px solid var(--ppbs-gray-100); }
.ppbs-account-avatar {
    flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ppbs-red), #8E0B21); color: #fff; font-weight: 700;
}
.ppbs-account-me strong { display: block; color: var(--ppbs-navy); line-height: 1.2; }
.ppbs-account-hello { display: block; font-size: 0.75rem; color: var(--ppbs-gray-600); }
.ppbs-account-menu ul { list-style: none; margin: 10px 0; padding: 0; }
.ppbs-account-menu li form { margin: 0; }
.ppbs-account-menu nav a, .ppbs-account-menu nav button {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px;
    background: none; color: var(--ppbs-navy); font-weight: 600; text-align: left; text-decoration: none; cursor: pointer;
}
.ppbs-account-menu nav a:hover, .ppbs-account-menu nav button:hover { background: #F4F7FB; }
.ppbs-account-menu nav a[aria-current="page"] { background: #FDECEF; color: var(--ppbs-red); }
.ppbs-account-menu nav button { color: var(--ppbs-gray-600); }
.ppbs-account-book { display: none; }
@media (min-width: 992px) {
    .ppbs-account-menu { position: sticky; top: 96px; }
    .ppbs-account-book { display: flex; justify-content: center; margin-top: 4px; }
}
@media (max-width: 991.98px) {
    /* Phones and tablets: the menu becomes one row of tabs that scrolls sideways. */
    .ppbs-account-menu { padding: 8px; }
    .ppbs-account-me { display: none; }
    .ppbs-account-menu ul { display: flex; gap: 6px; margin: 0; overflow-x: auto; scrollbar-width: none; }
    .ppbs-account-menu ul::-webkit-scrollbar { display: none; }
    .ppbs-account-menu li { flex: none; }
    .ppbs-account-menu nav a, .ppbs-account-menu nav button { width: auto; white-space: nowrap; padding: 8px 12px; font-size: 0.875rem; }
}

.ppbs-narrow-card { max-width: 560px; }
.ppbs-empty-card { text-align: center; color: var(--ppbs-gray-600); padding: 28px; }
.ppbs-link-danger { color: var(--ppbs-red); }
.ppbs-text-success { color: var(--ppbs-success); }
.ppbs-text-danger { color: var(--ppbs-red); }

/* Profile */
.ppbs-profile-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ppbs-profile-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #E3E9F2; }
.ppbs-profile-initials { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ppbs-navy), #16325C); color: #fff; font-size: 2rem; font-weight: 700; }
.ppbs-profile-who { display: flex; flex-direction: column; flex: 1; min-width: 180px; }
.ppbs-profile-who strong { font-size: 1.25rem; color: var(--ppbs-navy); }
.ppbs-profile-photo-actions { flex-basis: 100%; }
@media (min-width: 768px) { .ppbs-profile-photo-actions { flex-basis: 320px; } }
.ppbs-profile-photo-actions form + form { margin-top: 6px; }
.ppbs-contact-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--ppbs-gray-100); }
.ppbs-contact-row .ppbs-label { display: block; }
.ppbs-contact-row details { flex: 1; min-width: 260px; text-align: right; }
.ppbs-contact-row summary { list-style: none; display: inline-flex; }
.ppbs-contact-row summary::-webkit-details-marker { display: none; }
.ppbs-change-form { margin-top: 12px; padding: 14px; border-radius: 12px; background: #F4F7FB; text-align: left; }

/* Saved addresses */
.ppbs-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.ppbs-count { font-size: 0.8125rem; font-weight: 600; color: var(--ppbs-gray-600); }
.ppbs-address-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ppbs-address-grid { grid-template-columns: repeat(2, 1fr); } }
.ppbs-address-card { padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #E3E9F2; }
.ppbs-address-card.is-default { border-color: #9FD5B5; box-shadow: 0 0 0 3px #EAF7EF; }
.ppbs-address-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 4px; }
.ppbs-address-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 0.875rem; font-weight: 600; }
.ppbs-address-actions form { margin: 0; }
.ppbs-saved-row { padding: 12px 14px; border-radius: 12px; background: #FFF8E1; }
.ppbs-save-check { margin: 4px 0 6px; }

/* Points */
.ppbs-points-banner {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
    background: linear-gradient(90deg, #FFF5D6, #FDECEF); color: var(--ppbs-navy);
}
.ppbs-points-banner span { flex: 1; }
.ppbs-points-banner:hover { color: var(--ppbs-red); }
.ppbs-points-hero {
    display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 18px; padding: 24px; border-radius: 18px;
    background: linear-gradient(135deg, #0B1F3A 0%, #16325C 60%, #8E0B21 140%); color: #fff;
}
@media (min-width: 768px) { .ppbs-points-hero { grid-template-columns: 1fr 1.4fr; } }
.ppbs-points-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); }
.ppbs-points-value { display: block; font-size: 2.75rem; line-height: 1.1; font-weight: 800; color: var(--ppbs-yellow); }
.ppbs-points-worth { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.ppbs-points-code strong { display: block; font-size: 1.75rem; letter-spacing: 0.12em; margin: 4px 0 12px; }
.ppbs-share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ppbs-steps-3 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ppbs-steps-3 { grid-template-columns: repeat(3, 1fr); } }
.ppbs-steps-3 > div { padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #E3E9F2; }
.ppbs-steps-3 span {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 8px;
    border-radius: 50%; background: var(--ppbs-red); color: #fff; font-weight: 700;
}
.ppbs-steps-3 strong { display: block; color: var(--ppbs-navy); }
.ppbs-steps-3 p { margin: 4px 0 0; font-size: 0.875rem; color: var(--ppbs-gray-600); }
.ppbs-plain-list { list-style: none; margin: 0; padding: 0; }
.ppbs-plain-list li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px dashed var(--ppbs-gray-100); }
.ppbs-plain-list li:last-child { border-bottom: 0; }
.ppbs-plain-list span { font-size: 0.8125rem; color: var(--ppbs-gray-600); }
.ppbs-points-use {
    display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; padding: 12px; border-radius: 12px;
    background: #FFF5D6; border: 1px solid #F5DC8A;
}
.ppbs-points-use input { margin-top: 3px; flex: none; }
.ppbs-points-use span { display: block; font-size: 0.8125rem; color: var(--ppbs-gray-600); }

/* 21. Administration: departments, roles, permission grid, areas, staff users */
.ppbs-admin-split { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .ppbs-admin-split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.ppbs-admin-split > * { min-width: 0; }
.ppbs-perm-consoles, .ppbs-area-list { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px; }
.ppbs-perm-check {
    display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px;
    border: 1px solid #E3E9F2; background: #fff; font-weight: 500; cursor: pointer;
}
.ppbs-perm-check:has(input:checked) { border-color: var(--ppbs-navy); background: #EEF3FA; }
.ppbs-perm-grid th[scope="row"] { white-space: nowrap; font-weight: 600; color: var(--ppbs-navy); }
.ppbs-perm-grid td input { width: 18px; height: 18px; cursor: pointer; }
.ppbs-perm-grid thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.ppbs-one-time { border: 2px solid #F5DC8A; background: #FFF9E8; }
.ppbs-one-time-code { font-size: 1.25rem; letter-spacing: 0.06em; padding: 2px 8px; background: #fff; border-radius: 6px; }
/* Console cards: small section headings use the body font (the display font is for the public website). */
.ppbs-console .ppbs-card h2, .ppbs-console .ppbs-card h3 { font-family: var(--ppbs-font-body); font-weight: 700; color: var(--ppbs-navy); }
