/* ============ ZuriPOS — attendant, cashier & printer screens ============ */

/* ---------- Slim attendant sidebar ---------- */
body.tablet { --sidebar-w: 200px; }
.sidebar-slim .brand { padding: 24px 22px 26px; }
.brand-pos { font-size: 24px; }
.brand-pos span { color: #2fc4bd; font-weight: 700; }
.sidebar-slim .nav-link { padding: 12px 14px; font-size: 15px; gap: 14px; }

.sync-list { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px 22px; font-size: 14px; color: #e3eaf3; }
.sync-list > div { display: flex; gap: 12px; align-items: flex-start; line-height: 1.3; }
.sync-list small { color: #c2cfdd; font-size: 13px; }
.sync-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #9fb0c4; padding: 6px 0; }
.sync-switch:hover { color: #fff; }
.sync-switch-admin { margin: 8px 30px 12px; }

.dot-lg { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; }
.dot-sm { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot-green { background: var(--green); }
.dot-orange { background: var(--orange); }
.dot-blue { background: var(--blue); }

/* ---------- Page head ---------- */
.pos-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.pos-head .page-title { flex-wrap: wrap; gap: 14px; }
.pos-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -.3px; }
.legend-inline { display: flex; gap: 22px; margin-top: 6px; font-size: 14px; color: var(--text-2); flex-wrap: wrap; }
.legend-inline span { display: inline-flex; align-items: center; gap: 8px; }
.legend-inline .dot-lg { width: 11px; height: 11px; margin: 0; }
.clock { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-2); white-space: pre; }

.search { position: relative; display: flex; align-items: center; min-width: 240px; }
.search input {
    width: 100%; font: inherit; font-size: 14px;
    padding: 10px 40px 10px 14px;
    border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
    outline: none;
}
.search input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,154,150,.12); }
.search > .icon, .search-btn { position: absolute; right: 10px; color: var(--muted); }
.search-btn { border: 0; background: none; padding: 0; cursor: pointer; display: grid; }

/* ---------- Chips / tags / badges ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    font: inherit; font-size: 14px; font-weight: 500;
    padding: 7px 14px; border-radius: 6px;
    background: #eef2f6; color: var(--text-2);
    border: 1px solid transparent; cursor: pointer;
}
.chip:hover { background: #e4eaf0; }
.chip.active { background: #1f6fe0; color: #fff; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; width: fit-content; }
.tag-orange { background: #fde7cf; color: #c76200; }
.tag-blue { background: #dcebfd; color: #1f62c9; }
.tag-green { background: var(--green-50); color: #138a47; }
.tag-red { background: var(--red-50); color: #c62828; }
.tag-btn { border: 0; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.tag-btn:hover { background: #cde1fb; }

.badge { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #fff; width: fit-content; }
.badge-kitchen { background: #f08a24; }
.badge-barista { background: #3d8be6; }
.badge-drinks { background: #2b6fd8; }

.btn-block { width: 100%; }
.btn-blue { background: #1f6fe0; color: #fff; }
.btn-blue:hover { background: #185ec2; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #c62828; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.empty-note { color: var(--muted); font-size: 14px; text-align: center; padding: 18px 8px; margin: 0; grid-column: 1 / -1; }

/* ---------- Thumbnails ---------- */
.thumb {
    width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0;
    display: grid; place-items: center; font-size: 30px; object-fit: cover;
}
.thumb-kitchen { background: linear-gradient(135deg, #fff1e0, #ffe0bd); }
.thumb-barista { background: linear-gradient(135deg, #f3ebe3, #e5d5c5); }
.thumb-drinks { background: linear-gradient(135deg, #e5f1ff, #cfe3fb); }

/* ---------- 01 Tables ---------- */
.table-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.table-card {
    display: flex; align-items: center; gap: 18px;
    padding: 18px 18px; min-height: 92px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: var(--shadow);
    transition: border-color .15s, transform .1s;
}
.table-card:hover { border-color: #b9c6d3; }
.table-card:active { transform: scale(.98); }
.table-card.selected { border: 2px solid #1f6fe0; background: #f3f8ff; }
.table-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.table-meta { display: flex; flex-direction: column; line-height: 1.35; }
.table-meta strong { font-size: 20px; }
.table-meta span { font-size: 15px; }
.table-meta small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.table-green .table-icon { background: var(--green-50); color: var(--green); } .table-green .table-meta span { color: #138a47; }
.table-orange .table-icon { background: #fdebd6; color: var(--orange); } .table-orange .table-meta span { color: #d86a00; }
.table-blue .table-icon { background: #dcebfd; color: #1f6fe0; } .table-blue .table-meta span { color: #1f62c9; }

/* ---------- 02 Take order ---------- */
.order-screen { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.order-menu .pos-head { margin-bottom: 12px; }
.order-menu .chips { margin-bottom: 14px; }
.order-menu .chip.active { background: #1f6fe0; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.menu-card {
    display: flex; align-items: center; gap: 12px;
    padding: 10px; text-align: left;
    font: inherit; color: inherit;
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    cursor: pointer; transition: border-color .15s, transform .1s;
}
.menu-card[hidden] { display: none; }
.menu-card:hover { border-color: var(--teal); }
.menu-card:active { transform: scale(.97); }
.menu-card .thumb { width: 72px; height: 64px; font-size: 36px; }
.menu-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.menu-meta strong { font-size: 14px; font-weight: 600; }
.menu-price { font-size: 14px; font-weight: 600; }

.cart {
    position: sticky; top: 14px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 16px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 10px;
    max-height: calc(100vh - 28px); overflow-y: auto;
}
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 18px; font-weight: 600; }
.on-bill { background: #f5f7fa; border-radius: 8px; padding: 8px 12px; font-size: 13px; color: var(--text-2); }
.on-bill summary { cursor: pointer; font-weight: 500; }
.on-bill ul { list-style: none; margin: 8px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.on-bill li { display: flex; justify-content: space-between; gap: 8px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cart-lines li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.cart-lines .thumb { width: 44px; height: 44px; font-size: 24px; }
.cart-item { display: flex; flex-direction: column; font-size: 14px; min-width: 0; }
.cart-item strong { font-weight: 600; }
.cart-item span { color: var(--muted); font-size: 13px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.stepper button { width: 32px; height: 32px; border: 0; background: #f7f9fb; font-size: 18px; cursor: pointer; color: var(--text); }
.stepper button:hover { background: #e9eef3; }
.stepper span { min-width: 30px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-foot { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.notes { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
.notes > span { display: flex; justify-content: space-between; align-items: center; }
.notes textarea { font: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; resize: vertical; background: #f7f9fb; }
.notes textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; font-weight: 600; }
.cart-total strong { font-size: 20px; }

/* ---------- 03 Open bills ---------- */
.bill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 16px; }
.bill-card {
    display: flex; flex-direction: column; gap: 4px;
    padding: 14px 16px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: var(--shadow); font-size: 14px;
    transition: border-color .15s;
}
.bill-card:hover { border-color: #b9c6d3; }
.bill-card.selected { border: 2px solid var(--teal); background: #f6fcfb; }
.bill-card-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.bill-card-head:has(.dot-lg) { justify-content: flex-start; }
.bill-card-head strong { font-size: 16px; }
.bill-amount { font-size: 17px; font-weight: 700; margin: 2px 0 6px; }
.bill-items { font-size: 13px; color: var(--text-2); }

.order-details { padding: 18px 20px; }
.details-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; font-size: 14px; }
.details-head h2 { font-size: 18px; font-weight: 600; }
.details-head .tag { margin-left: auto; }
.details-body { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; align-items: start; }
.details-actions { display: flex; flex-direction: column; gap: 12px; padding-top: 30px; }
.details-actions .btn { padding: 14px; }

.items-table th { background: #f5f7fa; }
.items-table td { padding: 10px 18px; }
.items-table th:first-child, .items-table td:first-child { padding-left: 14px; }
.items-table th:nth-child(n+2), .items-table td:nth-child(n+2) { text-align: right; }
.items-table th:nth-child(2), .items-table td:nth-child(2) { text-align: center; }
.items-table tfoot td:last-child { text-align: right; }
.items-table tfoot td { border-top: 1px solid var(--border); font-weight: 700; font-size: 16px; padding-top: 14px; }
.item-cell { display: inline-flex; align-items: center; gap: 12px; }
.item-cell .thumb { width: 36px; height: 36px; font-size: 20px; border-radius: 6px; }
.item-cell small { color: var(--muted); }

/* ---------- 04 Payment ---------- */
.pay-screen { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.pay-form { padding: 6px 0 18px; }
.pay-fields { padding: 8px 18px 0; display: flex; flex-direction: column; gap: 12px; }
.pay-fields h3 { font-size: 15px; font-weight: 600; margin: 4px 0 0; }
.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method span {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px; border: 1px solid var(--border); border-radius: 6px;
    font-size: 14px; cursor: pointer; background: var(--surface);
}
.method span:hover { border-color: #b9c6d3; }
.method input:checked + span { border: 2px solid var(--teal); background: var(--teal-50); color: var(--teal-dark); font-weight: 600; }
.method input:focus-visible + span { box-shadow: 0 0 0 3px rgba(20,154,150,.25); }
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.amounts label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.amounts input, .change {
    font: inherit; font-size: 18px; font-weight: 500;
    padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px;
    background: var(--surface); min-height: 46px;
}
.amounts input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,154,150,.12); }
.amounts input[readonly] { background: #f5f7fa; color: var(--muted); }
.change { background: var(--green-50); border-color: #c8ecd7; color: #138a47; font-size: 22px; font-weight: 700; }
.change.is-zero { background: #f5f7fa; border-color: var(--border); color: var(--text-2); }
.field-error { color: var(--red); font-size: 14px; margin: -4px 0 0; }
.quick-cash { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-cash[hidden] { display: none; }

.receipt {
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    padding: 22px 18px; font-size: 13px; color: var(--text);
    box-shadow: var(--shadow);
    font-variant-numeric: tabular-nums;
}
.receipt-brand { text-align: center; font-size: 20px; color: var(--navy); }
.receipt-brand span { color: var(--teal); font-weight: 600; }
.receipt-center { display: flex; flex-direction: column; align-items: center; margin-top: 4px; }
.receipt-center small { color: var(--muted); }
.receipt hr { border: 0; border-top: 1px dashed #c4ccd5; margin: 12px 0; }
.receipt-meta { line-height: 1.6; }
.receipt-lines { width: 100%; border-collapse: collapse; }
.receipt-lines th { font-weight: 500; color: var(--text-2); text-align: left; padding-bottom: 4px; }
.receipt-lines td, .receipt-lines th { padding: 2px 0; }
.receipt-lines td:nth-child(2), .receipt-lines th:nth-child(2) { text-align: center; }
.receipt-lines td:last-child, .receipt-lines th:last-child { text-align: right; }
.receipt-totals th { color: var(--text); font-weight: 700; }
.receipt-thanks { text-align: center; margin: 0; }

.picker-sm { min-width: 0; padding: 6px 12px; gap: 8px; }
.picker-sm select { font-size: 14px; }

/* ---------- 05 Printers ---------- */
.banner-error {
    display: flex; align-items: center; gap: 16px;
    background: var(--red-50); border: 1px solid #f6caca; border-radius: 8px;
    padding: 12px 16px; margin-bottom: 14px; color: #c62828;
}
.banner-error div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.banner-error strong { font-size: 16px; }
.banner-error span { font-size: 14px; color: #b23434; }
.section-head { margin: 4px 0 10px; }
.section-head h2 { font-size: 18px; font-weight: 600; }
.printer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 16px; }
.printer-card {
    position: relative; display: flex; gap: 18px; align-items: flex-start;
    padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: var(--shadow); scroll-margin-top: 20px;
}
.printer-card.is-offline { border-color: #f3c2c2; }
.printer-card:target { box-shadow: 0 0 0 3px rgba(229,57,53,.25); }
.printer-icon { width: 54px; height: 54px; border-radius: 12px; background: #f1f4f8; color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.is-offline .printer-icon { background: var(--red-50); color: var(--red); }
.printer-info { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.printer-info strong { font-size: 16px; }
.menu-pop { position: absolute; top: 8px; right: 8px; }
.menu-pop summary { list-style: none; }
.menu-pop summary::-webkit-details-marker { display: none; }
.menu-pop-body {
    position: absolute; right: 0; top: 42px; z-index: 10; min-width: 170px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16,32,56,.12); padding: 6px;
    display: flex; flex-direction: column;
}
.menu-pop-body a, .menu-pop-body button {
    display: block; width: 100%; text-align: left;
    font: inherit; font-size: 14px; padding: 8px 10px; border: 0; background: none; border-radius: 6px; cursor: pointer; color: var(--text);
}
.menu-pop-body a:hover, .menu-pop-body button:hover { background: #f1f4f8; }

.jobs-head { flex-wrap: wrap; }
.jobs-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jobs-tabs h2 { margin-right: 10px; }
.jobs-card .table td { font-size: 14px; padding: 9px 18px; }
.jobs-empty { padding: 28px; }

/* ---------- Orders ---------- */
.stats-compact .stat { min-height: 0; padding: 16px 18px; gap: 16px; }
.stats-compact .stat-icon { width: 46px; height: 46px; }
.stats-compact .stat-value { font-size: 24px; }
.stats-compact .stat-note { font-size: 13px; }
.orders-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.orders-layout.has-detail { grid-template-columns: minmax(0, 1fr) 360px; }
.orders-head { padding: 0 18px; flex-wrap: wrap; }
.orders-table td { font-size: 14px; }
.orders-table td a { font-weight: 600; color: #1f5fbf; }
.row-link { cursor: pointer; }
.row-link.is-selected td { background: #eef8f7 !important; }
.items-col { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.order-panel { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 14px; }
.order-panel .card-head { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }
.facts-paid { background: var(--green-50); border-radius: 8px; padding: 12px 14px; }
.panel-lines { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.panel-lines li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.panel-lines .thumb { width: 40px; height: 40px; font-size: 22px; }
.panel-lines div { display: flex; flex-direction: column; }
.panel-lines div span { color: var(--muted); font-size: 13px; }
.panel-note { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 13px; color: var(--text-2); background: #f5f7fa; border-radius: 6px; padding: 8px 10px; }
.panel-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); padding-top: 12px; font-weight: 600; }
.panel-total strong { font-size: 20px; }
.panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 36px)); }
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
    color: #fff; box-shadow: 0 8px 24px rgba(16,32,56,.2);
    animation: toast-in .25s ease, toast-out .3s ease 5s forwards;
}
.toast-ok { background: var(--navy); }
.toast-ok .icon { color: #4fd1c5; }
.toast-error { background: #c62828; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); visibility: hidden; } }

/* ---------- Profile ---------- */
.profile-card { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px; }
.profile-card h2 { font-size: 22px; }
.profile-stats { margin-left: auto; display: flex; gap: 32px; }
.profile-stats div { display: flex; flex-direction: column; }
.profile-stats strong { font-size: 22px; }
.profile-stats span { font-size: 13px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .orders-layout.has-detail { grid-template-columns: minmax(0, 1fr); }
    .order-panel { position: static; order: -1; }
    .table-grid { grid-template-columns: repeat(3, 1fr); }
    .pay-screen { grid-template-columns: minmax(0, 1fr); }
    .receipt { max-width: 360px; }
}
@media (max-width: 1024px) {
    .order-screen { grid-template-columns: minmax(0, 1fr); }
    .cart { position: static; max-height: none; }
    .details-body { grid-template-columns: minmax(0, 1fr); }
    .details-actions { flex-direction: row; padding-top: 0; }
    .details-actions .btn { flex: 1; }
}
@media (max-width: 720px) {
    .table-grid { grid-template-columns: repeat(2, 1fr); }
    .table-card { gap: 12px; padding: 14px; }
    .table-icon { width: 44px; height: 44px; }
    .search { min-width: 0; width: 100%; }
    .methods { grid-template-columns: 1fr; }
    .amounts { grid-template-columns: 1fr; gap: 12px; }
    .details-head .tag { margin-left: 0; }
    .profile-stats { margin-left: 0; gap: 20px; flex-wrap: wrap; }
}

/* Attendant tablet: keep the slim sidebar visible in portrait (only collapse on phones) */
@media (min-width: 761px) and (max-width: 1024px) {
    body.tablet .sidebar { transform: none; box-shadow: none; }
    body.tablet .main { margin-left: var(--sidebar-w); }
    body.tablet .icon-btn.menu-toggle, body.tablet .icon-btn.sidebar-close { display: none; }
    body.tablet .sidebar-backdrop { display: none !important; }
    body.tablet .table-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Orders: the detail panel already lists items, so drop that column while it is open */
@media (min-width: 1281px) {
    .has-detail .orders-table .items-col { display: none; }
    .has-detail .orders-table th, .has-detail .orders-table td { padding-left: 12px; padding-right: 12px; }
}


/* ---------- Signed-in user menu (sidebar) ---------- */
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu .user-meta { min-width: 0; }
.user-menu .user-name, .user-menu .user-role { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chevron { transition: transform .2s; }
.user-menu[open] .user-chevron { transform: rotate(-90deg); }
.user-pop {
    position: absolute; left: 12px; right: 12px; bottom: calc(100% + 8px); z-index: 50;
    background: #fff; color: var(--text); border-radius: 12px; padding: 6px;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    animation: pop-in .15s ease;
}
@keyframes pop-in { from { opacity: 0; transform: translateY(6px); } }
.user-pop-head { display: flex; flex-direction: column; padding: 10px 12px 8px; border-bottom: 1px solid #eef1f4; margin-bottom: 4px; }
.user-pop-head strong { font-size: 15px; }
.user-pop-head span { font-size: 13px; color: var(--muted); }
.user-pop a, .user-pop button {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 10px 12px; border: 0; border-radius: 8px; background: none;
    font: inherit; font-size: 14px; color: var(--text); cursor: pointer; text-align: left;
}
.user-pop a:hover, .user-pop button:hover { background: #f1f4f8; }
.user-pop form button { color: #c62828; }
.user-pop form button:hover { background: var(--red-50); }
.sidebar-slim .user-card { padding: 14px 16px; gap: 10px; }
.sidebar-slim .avatar-light { width: 38px; height: 38px; font-size: 16px; }
.sidebar-slim .user-role { font-size: 12px; }
.sidebar-slim .user-pop { left: 8px; right: 8px; }
