/* ==========================================
   GOOGLE FONTS & BASE DESIGN SYSTEM
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');
@import url('theme.css');

/* ==========================================
   RESET & BOX MODEL
========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ==========================================
   DESIGN TOKENS (BASED ON CUSTOMERS REFERENCE)
========================================== */
:root {
    --owner-primary: #0A67E8;
    --owner-primary-hover: #0757C9;
    --owner-primary-active: #064CAE;
    --owner-primary-soft: #EAF3FF;
    --owner-primary-border: #CFE2FF;
    --primary-hover: var(--owner-primary-hover);
    --primary-border: #bfdbfe;

    --success-border: #bbf7d0;

    --warning-border: #fef08a;

    --danger-border: #fecaca;

    --due: #b45309;
    --due-light: #fef3c7;
    --due-border: #fde68a;

    --white: #ffffff;

    --text-light: #94a3b8;

    --border-light: #edf2f7;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 28px rgba(11, 115, 246, 0.08);

    --radius-sm: 8px;
    --radius-md: var(--radius-btn);
    --radius-lg: var(--radius-card);
    --radius-full: 9999px;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Poppins', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
    font-size: 14.5px;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   TYPOGRAPHY
========================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* ==========================================
   TOUCH-FRIENDLY INTERACTIVE ELEMENTS
========================================== */
button, input, select, textarea {
    font-family: inherit;
    font-size: 14px;
    outline: none;
    border: 1px solid var(--border);
    transition: var(--transition);
}

button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    min-height: var(--touch-min);
}

button:active {
    transform: scale(0.97);
}

/* ==========================================
   PRIMARY & SECONDARY BUTTON STYLES
========================================== */
.btn-primary-touch {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14.5px;
    box-shadow: 0 4px 14px rgba(23, 105, 232, 0.25);
    min-height: 46px;
    width: auto;
}

.btn-primary-touch:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(23, 105, 232, 0.35);
}

.btn-secondary-touch {
    background: #ffffff;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    min-height: 44px;
}

.btn-secondary-touch:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-danger-touch {
    background: var(--danger-light);
    color: var(--danger);
    border: 1.5px solid var(--danger-border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    font-weight: 700;
    font-size: 14px;
    min-height: 44px;
}

.btn-danger-touch:hover {
    background: var(--danger);
    color: #ffffff;
}

/* ==========================================
   INPUTS & FORM CONTROLS
========================================== */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: #ffffff;
    color: var(--text);
    font-size: 14.5px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(23, 105, 232, 0.12);
}

/* ==========================================
   CARD SYSTEM (MATCHING CUSTOMERS PAGE HCI)
========================================== */
.card, .settings-card, .orders-table, .register-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

/* Mobile Stacked Card Pattern */
.mobile-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.mobile-card:active {
    border-color: #93c5fd;
}

.mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.mobile-card-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mobile-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.mobile-card-primary-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.2px;
}

.mobile-card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.mobile-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.mobile-card-body.single-col {
    grid-template-columns: 1fr;
}

.mobile-detail-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-detail-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    word-break: break-word;
}

.mobile-card-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.mobile-card-actions button {
    flex: 1;
    min-height: 44px;
    font-size: 13.5px;
}

/* ==========================================
   STATUS BADGES
========================================== */
.status-pill, .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.status-pill.pending, .badge-pending {
    background: var(--due-light);
    color: var(--due);
    border: 1px solid var(--due-border);
}

.status-pill.due, .badge-due {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.status-pill.delivered, .badge-delivered, .badge-active {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.status-pill.cancelled, .badge-cancelled, .badge-inactive {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* ==========================================
   DESKTOP / MOBILE VISIBILITY SWITCHES
========================================== */
.desktop-view-only {
    display: block;
}

.mobile-view-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-view-only {
        display: none !important;
    }

    .mobile-view-only {
        display: block !important;
    }

    .mobile-view-only.flex-view {
        display: flex !important;
    }
}

/* ==========================================
   SCROLLBAR
========================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

/* ==========================================
   MOBILE RESPONSIVE NAVIGATION & LAYOUT
========================================== */
.mobile-nav-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    min-height: 56px;
}

.mobile-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-brand-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.mobile-brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.mobile-brand-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   LOGOUT CONFIRMATION MODAL & DROPDOWN
========================================== */
.logout-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.logout-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.logout-modal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 22px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1.5px solid #edf2f7;
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.logout-modal-backdrop.active .logout-modal-card {
    transform: scale(1);
}

.logout-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.logout-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.logout-modal-header h3 {
    margin: 0 0 2px 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.logout-modal-header p {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
}

.logout-modal-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel-logout {
    flex: 1;
    min-height: 46px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
}

.btn-cancel-logout:hover {
    background: #e2e8f0;
}

.btn-confirm-logout {
    flex: 1;
    min-height: 46px;
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-confirm-logout:hover {
    background: #b91c1c;
}

.sidebar-logout-item {
    margin-top: 20px;
    color: #dc2626 !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 10px;
    transition: background 0.2s;
}

.sidebar-logout-item:hover {
    background: #fee2e2 !important;
}

.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    border: none;
    font-size: 20px;
    cursor: pointer;
    min-height: 40px;
}

/* ==========================================
   MOBILE BREAKPOINTS (<= 768px)
========================================== */
@media (max-width: 768px) {
    .dashboard {
        flex-direction: column !important;
        min-height: 100vh;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .mobile-nav-bar {
        display: flex;
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -300px !important;
        width: 280px !important;
        height: 100vh !important;
        z-index: 1050 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15) !important;
        background: #ffffff !important;
        padding: 24px 18px !important;
        overflow-y: auto !important;
    }

    .sidebar.mobile-open {
        left: 0 !important;
    }

    .sidebar-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar li {
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .main-content {
        padding: 16px 14px 28px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .topbar {
        margin-bottom: 16px !important;
    }

    .topbar h1 {
        font-size: 22px !important;
        font-weight: 800 !important;
    }

    /* Prevent horizontal overflow across all elements */
    img, svg, canvas {
        max-width: 100%;
        height: auto;
    }
}

/* Specific tuning for narrow phones (360px - 390px) */
@media (max-width: 390px) {
    .main-content {
        padding: 12px 10px 24px !important;
    }

    .mobile-card {
        padding: 14px 14px;
    }

    .mobile-card-primary-title {
        font-size: 15.5px;
    }

    .mobile-card-body {
        gap: 8px 10px;
    }

    .topbar h1 {
        font-size: 20px !important;
    }
}

/* Orders Notification Badge */
.order-count-badge {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
}
.order-count-badge.hidden {
    display: none !important;
}

/* FINAL OWNER EXPERIENCE — SHARED POLISH */
body {
    background: radial-gradient(circle at 92% 0%,rgba(24,169,87,.09),transparent 30rem),var(--background);
}
.sidebar { border-right:1px solid #dfe9e4; background:#fff; box-shadow:8px 0 30px rgba(20,61,40,.035); }
.sidebar-header { border-bottom:1px solid var(--border); }
.sidebar-logo { object-fit:contain; filter:drop-shadow(0 5px 10px rgba(11,115,246,.14)); }
.sidebar nav li,.sidebar nav a {
    min-height:46px; border-radius:12px; transition:background .18s ease,color .18s ease,transform .18s ease;
}
.sidebar nav li:hover,.sidebar nav a:hover { color:var(--owner-primary-hover); background:var(--owner-primary-soft); transform:translateX(2px); }
.sidebar nav li.active,.sidebar nav a.active {
    color:var(--owner-primary); background:linear-gradient(90deg,var(--owner-primary-soft),#f5f9ff); box-shadow:inset 3px 0 0 var(--owner-primary);
}
.main-content { background:transparent; }
.page-header,.top-bar,.top-header {
    background:rgba(255,255,255,.92); border-bottom:1px solid var(--border); backdrop-filter:blur(14px);
}
.card,.stat-card,.kpi-card,.settings-card,.orders-table,.register-card,.report-card,.route-card,.customer-card {
    border:1px solid var(--border); border-radius:var(--radius-card); background:var(--surface);
    box-shadow:0 5px 18px rgba(20,61,40,.055);
}
.btn-primary-touch,.primary-btn,.btn-primary,button[type="submit"] {
    min-height:var(--touch-min); border-radius:var(--radius-btn);
}
.btn-success { color:#fff; background:var(--success); border-color:var(--success); }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline:3px solid rgba(11,115,246,.28); outline-offset:2px;
}
.status-pill.confirmed,.badge-confirmed,.status-pill.assigned,.badge-assigned,.status-pill.active {
    color:#0756bc; background:#eaf3ff; border:1px solid #c6dcfb;
}
.status-pill.ready,.badge-ready { color:#087a67; background:#e7f8f4; border:1px solid #b5eadf; }
.status-pill.arrived,.badge-arrived { color:#0756bc; background:var(--primary-light); border:1px solid #bdd8ff; }
.status-pill.skipped,.badge-skipped,.badge-processing,.badge-refund-pending {
    color:#9a5b05; background:var(--warning-light); border:1px solid #f7d28a;
}
.badge-paid,.badge-refunded { color:#087338; background:var(--success-light); border:1px solid #bce4ca; }
.badge-failed { color:#b4232a; background:var(--danger-light); border:1px solid #f4c2c5; }
table { border-collapse:separate; border-spacing:0; }
th { color:var(--text-muted); font-size:.75rem; letter-spacing:.04em; text-transform:uppercase; }
tbody tr { transition:background .18s ease; }
tbody tr:hover { background:#f8fbfa; }
@media (max-width:768px) {
    .main-content { padding-bottom:calc(96px + env(safe-area-inset-bottom))!important; }
    .card,.settings-card,.orders-table,.register-card { border-radius:14px; }
    .mobile-nav-bar { display:flex; }
}

/* FINAL OWNER MOBILE APP SHELL */
.owner-mobile-header,.owner-mobile-drawer,.owner-shared-bottom-nav{display:none}
.owner-mobile-header svg,.owner-mobile-drawer svg,.owner-shared-bottom-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.owner-drawer-open{overflow:hidden!important}
.btn-primary-touch,.primary-btn,.btn-primary,.btn-green,.quick-action-primary,.route-button.primary,.rd-button.primary,.register-customer-btn,.modal-save-btn,.download-qr-btn,.register-primary,.button.primary,.history-refresh,.history-link,.report-primary,.apply-filter,#applyPaymentRange,.action-deliver,.route-start-button,button[type="submit"]:not(.btn-danger-touch):not(.danger):not(.btn-red){color:#fff!important;background:var(--owner-primary)!important;border-color:var(--owner-primary)!important;box-shadow:0 6px 16px rgba(10,103,232,.2);transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.btn-primary-touch:hover,.primary-btn:hover,.btn-primary:hover,.btn-green:hover,.quick-action-primary:hover,.route-button.primary:hover,.rd-button.primary:hover,.register-customer-btn:hover,.modal-save-btn:hover,.download-qr-btn:hover,.register-primary:hover,.button.primary:hover,.history-refresh:hover,.history-link:hover,.report-primary:hover,.apply-filter:hover,#applyPaymentRange:hover,.action-deliver:hover,.route-start-button:hover,button[type="submit"]:not(.btn-danger-touch):not(.danger):not(.btn-red):hover{background:var(--owner-primary-hover)!important;border-color:var(--owner-primary-hover)!important}
.btn-primary-touch:active,.primary-btn:active,.btn-primary:active,.btn-green:active,.quick-action-primary:active,.route-button.primary:active,.rd-button.primary:active,.register-customer-btn:active,.modal-save-btn:active,.download-qr-btn:active,.register-primary:active,.button.primary:active,.history-refresh:active,.history-link:active,.report-primary:active,.apply-filter:active,#applyPaymentRange:active,.action-deliver:active,.route-start-button:active,button[type="submit"]:not(.btn-danger-touch):not(.danger):not(.btn-red):active{background:var(--owner-primary-active)!important;border-color:var(--owner-primary-active)!important;transform:scale(.98)}
.customer-action-btn.qr{color:var(--owner-primary)!important;border-color:var(--owner-primary-border)!important;background:#fff!important}
@media(max-width:768px){
    .dashboard>.sidebar{display:none!important}
    .dashboard>.main-content{margin-left:0!important;width:100%!important;max-width:100vw!important}
    .mobile-nav-bar.owner-mobile-header{position:sticky!important;top:0;z-index:1030;display:flex!important;min-height:64px;padding:8px 13px;background:rgba(255,255,255,.97);border-bottom:1px solid #e1e9f2;box-shadow:0 4px 16px rgba(24,57,91,.06);backdrop-filter:blur(14px)}
    .owner-mobile-header .mobile-nav-left{min-width:0;display:flex;align-items:center;gap:9px}.owner-mobile-header .mobile-nav-toggle{width:44px;height:44px;flex:0 0 44px;padding:0;border:1px solid var(--owner-primary-border);border-radius:12px;color:var(--owner-primary);background:var(--owner-primary-soft)}
    .owner-mobile-header .mobile-brand-wrap{min-width:0;display:flex!important;align-items:center;gap:8px;color:inherit;text-decoration:none}.owner-mobile-header .mobile-brand-wrap::after{content:none!important;display:none!important}.owner-mobile-header .mobile-brand-logo{width:36px;height:36px;flex:0 0 36px;object-fit:contain}.owner-mobile-header .mobile-brand-wrap>span{min-width:0;display:grid;line-height:1.15}.owner-mobile-header .mobile-brand-title{color:#12304d;font-size:.9rem;font-weight:850;white-space:nowrap}.owner-mobile-header .mobile-brand-wrap small{color:var(--owner-primary);font-size:.59rem;font-weight:750}
    .owner-mobile-profile{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:1px solid #dbe5ef;border-radius:50%;background:#fff}.owner-mobile-profile img{width:36px;height:36px;border-radius:50%;object-fit:cover}
    .owner-mobile-drawer{position:fixed;inset:0 auto 0 0;z-index:1060;width:min(82vw,300px);display:block;padding:18px;overflow-y:auto;transform:translateX(-105%);background:#fff;box-shadow:12px 0 40px rgba(15,35,55,.18);transition:transform .2s ease;visibility:hidden}.owner-mobile-drawer.open{transform:translateX(0);visibility:visible}
    .owner-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid #e4ebf2}.owner-drawer-header>div{display:flex;align-items:center;gap:9px}.owner-drawer-header img{width:42px;height:42px;object-fit:contain}.owner-drawer-header span{display:grid}.owner-drawer-header strong{color:#12304d;font-size:.9rem}.owner-drawer-header small{color:var(--owner-primary);font-size:.62rem;font-weight:750}.owner-drawer-header button{width:44px;height:44px;padding:0;border:0;border-radius:11px;color:#526679;background:#f1f5f8;font-size:1.35rem}
    .owner-mobile-drawer nav{display:grid;gap:6px;margin-top:16px}.owner-mobile-drawer nav a,.owner-mobile-drawer nav button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:0 13px;border:1px solid transparent;border-radius:11px;color:#526477;background:transparent;font:inherit;font-size:.78rem;font-weight:750;text-decoration:none}.owner-mobile-drawer nav a.active{color:var(--owner-primary);border-color:var(--owner-primary-border);background:var(--owner-primary-soft)}.owner-mobile-drawer .owner-drawer-logout{margin-top:8px;color:#b4232c;border-color:#f2c7ca;background:#fff6f6}
    .owner-shell-backdrop{z-index:1050}.owner-shell-backdrop.active{opacity:1;visibility:visible}
    .owner-shared-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:1040;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));min-height:68px;padding:5px 7px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #dce6ef;background:rgba(255,255,255,.97);box-shadow:0 -8px 26px rgba(20,54,87,.09);backdrop-filter:blur(14px)}
    .owner-shared-bottom-nav a{min-width:0;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px;border-radius:12px;color:#788898;text-decoration:none;font-size:.62rem;font-weight:750}.owner-shared-bottom-nav a.active{color:var(--owner-primary)!important;background:var(--owner-primary-soft)!important}.owner-shared-bottom-nav a:active{transform:scale(.97)}
}
