/* Admin sidebar: page search (Ctrl+K) and «★ Τα δικά μου» (booking/menu_pins.py). */
.lb-msearch { position: relative; margin-bottom: .5rem; }
.lb-msearch > .bi-search { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); font-size: .8rem; color: #8e8e93; pointer-events: none; }
.lb-msearch-in { width: 100%; padding: .38rem 3rem .38rem 1.8rem; font-size: .85rem; border: 1px solid rgba(0,0,0,.1); border-radius: 10px; background: rgba(118,118,128,.08); outline: none; }
.lb-msearch-in:focus { background: #fff; border-color: #0a84ff; box-shadow: 0 0 0 3px rgba(10,132,255,.15); }
.lb-msearch-in::-webkit-search-cancel-button { display: none; }
.lb-msearch kbd { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); font-size: .62rem; padding: .05rem .3rem; background: #fff; color: #8e8e93; border: 1px solid rgba(0,0,0,.12); border-radius: 5px; box-shadow: none; pointer-events: none; }
.lb-msearch-res { position: absolute; z-index: 1080; left: 0; right: 0; top: calc(100% + 4px); max-height: 60vh; overflow-y: auto; background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.16); padding: .25rem; min-width: 240px; }
.lb-mres { display: flex; align-items: center; gap: .5rem; padding: .45rem .55rem; border-radius: 8px; color: #1c1c1e; text-decoration: none; cursor: pointer; }
.lb-mres:hover, .lb-mres.on { background: rgba(10,132,255,.1); color: #1c1c1e; }
.lb-mres > .bi, .lb-mres-go > .bi { width: 1.1rem; text-align: center; color: #0a84ff; flex: none; }
.lb-mres-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.lb-mres-go:hover { color: inherit; }
.lb-mres-txt { flex: 1; min-width: 0; line-height: 1.2; }
.lb-mres-l { display: block; font-size: .86rem; font-weight: 600; overflow-wrap: anywhere; }
.lb-mres-s { display: block; font-size: .72rem; color: #8e8e93; }
.lb-mres-pin { flex: none; border: 0; background: none; color: #c7c7cc; padding: .15rem .3rem; border-radius: 6px; font-size: .9rem; line-height: 1; }
.lb-mres-pin:hover { color: #ff9f0a; background: rgba(255,159,10,.12); }
.lb-mres-pin.on { color: #ff9f0a; }
.lb-mres-none { padding: .6rem .7rem; font-size: .82rem; color: #8e8e93; }

.lb-pins { margin-bottom: .35rem; }
.lb-menu-more { list-style: none; margin: .7rem 0 .1rem; padding: 0 .75rem; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8e8e93; }
.lb-pins-head { display: flex; align-items: center; justify-content: space-between; padding: .1rem .35rem .25rem .75rem; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8e8e93; }
.lb-pins-head .bi-star-fill { color: #ff9f0a; margin-right: .3rem; }
.lb-pins-btn { border: 0; background: none; color: #8e8e93; padding: .15rem .35rem; border-radius: 6px; font-size: .85rem; line-height: 1; }
.lb-pins-btn:hover { color: #0a84ff; background: rgba(10,132,255,.1); }
.lb-pins-list .nav-link .lb-ext { font-size: .62rem; margin-left: .25rem; opacity: .7; }
.lb-pins-empty button { width: 100%; text-align: left; border: 1px dashed rgba(0,0,0,.18); background: none; border-radius: 10px; padding: .45rem .7rem; font-size: .8rem; color: #8e8e93; }
.lb-pins-empty button:hover { color: #0a84ff; border-color: #0a84ff; }

.lb-pe-ov { position: fixed; inset: 0; z-index: 10050; background: rgba(0,0,0,.38); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lb-pe { width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #f2f2f7; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.3); overflow: hidden; }
.lb-pe-h { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem .6rem; }
.lb-pe-h h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.lb-pe-x { border: 0; background: rgba(118,118,128,.12); width: 30px; height: 30px; border-radius: 50%; font-size: .9rem; color: #3a3a3c; }
.lb-pe-b { overflow-y: auto; padding: 0 1rem 1rem; }
.lb-pe-sec { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8e8e93; margin: .9rem .2rem .35rem; }
.lb-pe-card { background: #fff; border-radius: 12px; overflow: hidden; }
.lb-pe-list { list-style: none; margin: 0; padding: 0; }
.lb-pe-row { display: flex; align-items: center; gap: .5rem; padding: .5rem .6rem; border-top: 1px solid rgba(60,60,67,.12); background: #fff; }
.lb-pe-row:first-child { border-top: 0; }
.lb-pe-row.drag { opacity: .45; }
.lb-pe-row.over { box-shadow: inset 0 2px 0 #0a84ff; }
.lb-pe-grip { cursor: grab; color: #c7c7cc; flex: none; }
.lb-pe-row > .bi:not(.lb-pe-grip) { color: #0a84ff; width: 1.1rem; text-align: center; flex: none; }
.lb-pe-lbl { flex: 1; min-width: 0; font-size: .9rem; line-height: 1.2; }
.lb-pe-lbl small { display: block; font-size: .72rem; color: #8e8e93; overflow-wrap: anywhere; }
.lb-pe-ib { flex: none; border: 0; background: none; width: 30px; height: 30px; border-radius: 8px; color: #8e8e93; }
.lb-pe-ib:hover { background: rgba(118,118,128,.12); color: #1c1c1e; }
.lb-pe-ib.del:hover { color: #ff3b30; background: rgba(255,59,48,.1); }
.lb-pe-empty { padding: .9rem; font-size: .85rem; color: #8e8e93; text-align: center; }
.lb-pe-in { width: 100%; border: 0; border-bottom: 1px solid rgba(60,60,67,.12); padding: .6rem .75rem; font-size: .9rem; outline: none; }
.lb-pe-in:last-child { border-bottom: 0; }
.lb-pe-add-res .lb-mres { border-radius: 0; border-top: 1px solid rgba(60,60,67,.08); }
.lb-pe-icons { display: flex; flex-wrap: wrap; gap: .3rem; padding: .55rem .75rem; border-bottom: 1px solid rgba(60,60,67,.12); }
.lb-pe-icons button { border: 1px solid transparent; background: rgba(118,118,128,.08); width: 32px; height: 32px; border-radius: 8px; color: #3a3a3c; }
.lb-pe-icons button.on { border-color: #0a84ff; color: #0a84ff; background: rgba(10,132,255,.1); }
.lb-pe-own-f { display: flex; justify-content: flex-end; padding: .5rem .75rem; }
.lb-pe-msg { min-height: 1.1rem; font-size: .8rem; color: #ff3b30; padding: .3rem .2rem 0; }
.lb-pe-f { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; padding: .75rem 1rem; border-top: 1px solid rgba(60,60,67,.12); background: #f9f9fb; }
.lb-pe-f .grow { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.lb-pe-btn { border: 0; border-radius: 10px; padding: .5rem .9rem; font-size: .85rem; font-weight: 600; background: rgba(118,118,128,.12); color: #1c1c1e; }
.lb-pe-btn.pri { background: #0a84ff; color: #fff; }
.lb-pe-btn.lnk { background: none; color: #0a84ff; padding-left: .3rem; padding-right: .3rem; }
.lb-pe-btn:disabled { opacity: .5; }
.lb-toast { position: fixed; z-index: 10060; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(28,28,30,.92); color: #fff; padding: .5rem .9rem; border-radius: 10px; font-size: .85rem; }
@media (max-width: 575.98px) {
    .lb-pe-ov { padding: 0; align-items: flex-end; }
    .lb-pe { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
    .lb-msearch kbd { display: none; }
    .lb-msearch-in { padding-right: .6rem; }
}

/* Ctrl+K — pages and records (admin_menu.js palette, booking/quick_find.py) */
.lb-mres-more { width: 100%; border: 0; background: none; text-align: left; border-top: 1px solid rgba(0,0,0,.06); border-radius: 0 0 8px 8px; margin-top: .15rem; }
.lb-mres-more kbd { font-size: .6rem; padding: .05rem .3rem; background: #fff; color: #8e8e93; border: 1px solid rgba(0,0,0,.12); border-radius: 5px; box-shadow: none; }
.lb-pal-ov { position: fixed; inset: 0; z-index: 10060; background: rgba(0,0,0,.32); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.lb-pal-ov[hidden] { display: none; }
.lb-pal { width: min(680px, 100%); max-height: 76vh; display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.3); overflow: hidden; }
.lb-pal-in { position: relative; display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.lb-pal-in > .bi { color: #8e8e93; }
.lb-pal-in input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 1.05rem; background: none; }
.lb-pal-in input::-webkit-search-cancel-button { display: none; }
.lb-pal-in kbd { font-size: .62rem; padding: .05rem .3rem; background: #fff; color: #8e8e93; border: 1px solid rgba(0,0,0,.12); border-radius: 5px; box-shadow: none; }
.lb-pal-list { overflow-y: auto; padding: .25rem .4rem .4rem; }
.lb-pal-sec { font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8e8e93; margin: .6rem .5rem .2rem; }
.lb-pal-row { display: flex; align-items: center; gap: .35rem; padding: .3rem .4rem; border-radius: 8px; }
.lb-pal-row.on, .lb-pal-row:hover { background: rgba(10,132,255,.09); }
.lb-pal-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: .6rem; color: #1c1c1e; text-decoration: none; padding: .15rem 0; }
.lb-pal-go:hover { color: #1c1c1e; }
.lb-pal-go > .bi { width: 1.1rem; text-align: center; color: #0a84ff; flex: none; }
.lb-pal-act { flex: none; font-size: .72rem; padding: .15rem .45rem; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); color: #3a3a3c; text-decoration: none; white-space: nowrap; background: #fff; }
.lb-pal-act:hover { border-color: #0a84ff; color: #0a84ff; }
.lb-pal-peek { flex: none; border: 0; background: none; color: #8e8e93; padding: .2rem .35rem; border-radius: 6px; line-height: 1; }
.lb-pal-peek:hover { color: #0a84ff; background: rgba(10,132,255,.12); }
.lb-pal-foot { padding: .4rem 1rem; font-size: .7rem; color: #8e8e93; border-top: 1px solid rgba(0,0,0,.06); }
@media (max-width: 640px) {
    .lb-pal-ov { padding: 0; }
    .lb-pal { max-height: 100vh; height: 100%; border-radius: 0; }
    .lb-pal-act { display: none; }
    .lb-pal-foot { display: none; }
}

/* Side panel (lb_peek.js) */
.lb-peek { position: fixed; inset: 0; z-index: 10040; }
.lb-peek[hidden] { display: none; }
.lb-peek-back { position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.lb-peek-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(860px, 62vw); max-width: calc(100vw - 80px); min-width: 420px; display: flex; flex-direction: column; background: #f5f6f8; box-shadow: -12px 0 40px rgba(0,0,0,.2); }
.lb-peek-grip { position: absolute; left: -4px; top: 0; bottom: 0; width: 8px; cursor: col-resize; z-index: 2; }
.lb-peek.sizing iframe { pointer-events: none; }
.lb-peek.sizing { user-select: none; }
.lb-peek-head { display: flex; align-items: center; gap: .35rem; padding: .45rem .6rem .45rem 1rem; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); }
.lb-peek-title { flex: 1; min-width: 0; font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-peek-btn { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid rgba(0,0,0,.1); background: #fff; color: #3a3a3c; border-radius: 8px; padding: .3rem .55rem; font-size: .8rem; line-height: 1; }
.lb-peek-btn:hover { color: #0a84ff; border-color: #0a84ff; }
.lb-peek-body { position: relative; flex: 1; min-height: 0; }
.lb-peek-frame { width: 100%; height: 100%; border: 0; display: block; background: #f5f6f8; }
.lb-peek-wait { position: absolute; inset: 0; display: none; align-items: flex-start; justify-content: center; padding-top: 3rem; color: #8e8e93; }
.lb-peek.loading .lb-peek-wait { display: flex; }
.lb-peek.loading .lb-peek-frame { visibility: hidden; }
html.lb-peek-open, html.lb-peek-open body { overflow: hidden; }
.lb-peek-stale { position: fixed; z-index: 10030; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: flex; align-items: center; gap: .6rem; max-width: calc(100vw - 32px); padding: .55rem .6rem .55rem 1rem; background: #1c1c1e; color: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: .85rem; }
.lb-peek-stale .btn-link { color: #fff; text-decoration: none; }
@media (max-width: 640px) {
    .lb-peek-box { width: 100% !important; min-width: 0; max-width: none; }
    .lb-peek-grip { display: none; }
    .lb-peek-btn span { display: none; }
}

/* «Καρτέλες» link under the search (booking/workspace.py) */
.lb-ws-link { display: flex; align-items: center; gap: .5rem; margin: -.15rem 0 .55rem; padding: .38rem .75rem; border-radius: 10px; font-size: .84rem; font-weight: 600; color: #0a84ff; text-decoration: none; background: rgba(10,132,255,.08); }
.lb-ws-link:hover { background: rgba(10,132,255,.15); color: #0a84ff; }
.lb-ws-link.on { background: #0a84ff; color: #fff; }

/* #acct-signs — balances with accounting signs (inventory_extras bal_ar / bal_ap, lb_balance.js) */
.bal { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.bal-pos { color: #15803d; }
.bal-neg { color: #dc2626; }
.bal-zero { color: #6b7280; }
