:root {
    --bg: #f5f7fb;
    --card: #fff;
    --text: #1d2a3a;
    --brand: #2f7af8;
    --danger: #cc2f4e;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Arial, sans-serif; background: var(--bg); color: var(--text); }
.container { padding: 0.8rem 0.8rem 6rem; max-width: 860px; margin: 0 auto; }
.topbar { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.logo { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; }
.card { background: var(--card); border-radius: 14px; padding: .9rem; margin-bottom: .8rem; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: .7rem; }
.grid { display: grid; gap: .5rem; }
input, select, button { width: 100%; border: 1px solid #d8e0ec; border-radius: 10px; min-height: 44px; padding: .6rem .7rem; }
button, .btn { background: var(--brand); color: #fff; border: none; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button.danger { background: var(--danger); }
.alert { border-radius: 10px; padding: .6rem; }
.alert.error { background: #ffdce2; }
.alert.success { background: #d8f7e4; }
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; display: grid; grid-auto-flow: column; border-top: 1px solid #e6ecf4; }
.bottom-nav a { text-align: center; padding: .7rem .25rem; color: #5d6b7e; text-decoration: none; font-size: .85rem; }
.bottom-nav a.active { color: var(--brand); font-weight: 600; }
.list-row { padding: .7rem; border: 1px solid #edf1f8; border-radius: 12px; margin-bottom: .7rem; }
.map-row { display: block; padding: .7rem; border-radius: 10px; margin-bottom: .5rem; background: #f0f4fd; text-decoration: none; color: inherit; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .5rem; }
.order-card { padding-bottom: .8rem; border-bottom: 1px dashed #d9e2ef; margin-bottom: .8rem; }
@media (min-width: 768px) {
    .container { padding-bottom: 1rem; }
    .bottom-nav { position: static; grid-auto-flow: column; border-radius: 12px; margin-top: 1rem; }
}
