.brand-logo { height: 44px; width: auto; display: block; }
.fm-narrow { max-width: 26rem; margin: 2rem auto; }
.fm { font-size: .875rem; --new: #6c757d; --shipped: #2a78d6; --at: #d9a400; --sched: #1baf7a; --done: #0b0b0b; --ink: #0b0b0b; --ink2: #52514e; }
.fm .tile { border: 1px solid #dee2e6; border-radius: .5rem; padding: .5rem .75rem; background: #fff; height: 100%; }
.fm .tile .v { font-size: 1.35rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.fm .tile .l { font-size: .74rem; color: var(--ink2); }
.fm .tile.clickable { cursor: pointer; }
.fm .tile.clickable:hover { border-color: #adb5bd; }
.fm .tile.on { border-color: #0d6efd; box-shadow: 0 0 0 .15rem rgba(13,110,253,.2); }
.fm .table, .fm .dataTables_wrapper { font-size: .8rem; }
.fm .card-title { font-size: .9rem; font-weight: 600; }
.fm .dot { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; margin-right: .3rem; vertical-align: middle; }
.fm .st { display: inline-block; padding: .2em .55em; border-radius: .35rem; color: #fff; font-weight: 600; font-size: .75rem; }
.fm .st-New { background: var(--new); }
.fm .st-Shipped { background: var(--shipped); }
.fm .st-Scheduled { background: var(--sched); }
.fm .st-Delivered { background: var(--done); }
.fm .sw-New { border-left: 4px solid var(--new); }
.fm .sw-Shipped { border-left: 4px solid var(--shipped); }
.fm .sw-Scheduled { border-left: 4px solid var(--sched); }
.fm .sw-Delivered { border-left: 4px solid var(--done); }
#map { height: calc(100vh - 300px); min-height: 480px; border: 1px solid #dee2e6; border-radius: .5rem; }
#facList { height: calc(100vh - 300px); min-height: 480px; overflow-y: auto; border: 1px solid #dee2e6; border-radius: .5rem; background: #fff; }
#facList .fi { padding: .45rem .65rem; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
#facList .fi:hover { background: #f6f8fb; }
#facList .fi.active { background: #e7f1ff; }
#facList .fi .nm { font-weight: 600; font-size: .8rem; }
#facList .fi .mt { font-size: .72rem; color: var(--ink2); }
.map-legend { background: #fff; padding: .5rem .65rem; border-radius: .4rem; box-shadow: 0 1px 4px rgba(0,0,0,.25); font-size: .74rem; line-height: 1.55; }
.map-legend .sw { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .35rem; vertical-align: -1px; }
.map-legend .ln { display: inline-block; width: 1.4rem; height: 0; margin-right: .35rem; vertical-align: middle; border-top: 2px solid; }
.fac-count { background: transparent; border: 0; box-shadow: none; color: #fff; font-weight: 700; font-size: .7rem; padding: 0; }
.fac-count::before { display: none; }
.origin-icon { background: #0b0b0b; color: #fff; font-weight: 700; font-size: .75rem; border-radius: .25rem; text-align: center; line-height: 22px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.leaflet-popup-content { font-size: .78rem; margin: .6rem .75rem; }
.leaflet-popup-content table { font-size: .74rem; }
.leaflet-popup-content .pt { font-weight: 700; font-size: .82rem; margin-bottom: .2rem; }
.fm-loader { position: fixed; inset: 0; z-index: 2000; background: rgba(255,255,255,.55); display: none; align-items: center; justify-content: center; }
.fm-loader.on { display: flex; }
.fm-loader .box { background: #fff; border: 1px solid #dee2e6; border-radius: .5rem; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.15); padding: 1rem 1.5rem; display: flex; align-items: center; gap: .9rem; }
.site-footer { padding: .75rem 1rem; }
.site-footer a { color: inherit; }
.fm-ref { display: inline-block; background: #f2f0e8; border: 1px solid #d8d2bd; border-radius: .35rem; padding: .35rem .6rem; font-size: .95rem; user-select: all; }
@media (min-width: 992px) { main { font-size: .9rem; } main h1.h4 { font-size: 1.25rem; } main .table { font-size: .85rem; } main .table > :not(caption) > * > * { padding: .25rem .45rem; } main .table thead th { white-space: nowrap; } main .card-header { font-size: .9rem; padding: .35rem .75rem; } main .badge { font-size: .66rem; font-weight: 600; vertical-align: middle; } main .form-control, main .form-select { font-size: .85rem; } main .form-text, main .alert { font-size: .85rem; } main .btn { font-size: .85rem; } main .btn-sm { font-size: .78rem; } }
