/* CafePilot v5.6: scannable table occupancy + business identity + favourites */
:root{--business-accent:#d9ff99}
.zone-overview{display:grid;gap:19px}
.zone-overview-section{background:#fff;border:1px solid #e3eaf1;border-radius:18px;padding:17px 18px 21px;box-shadow:0 5px 22px #14283e09}
.zone-overview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:14px}
.zone-overview-head>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.zone-overview-head strong{font-size:17px;color:#172438}
.zone-overview-head small{color:#758296;font-weight:700}
.zone-overview-symbol{display:inline-grid;place-items:center;background:#f1f5f7;width:35px;height:35px;border-radius:10px}
.zone-overview-count{font-size:12px;color:#64758a;display:flex;gap:10px;align-items:center}
.zone-overview-count b{color:#ad3e49}
.zone-overview-section .overview-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:10px}
.premium-shell .table-card.premium-table{border-width:2px;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.premium-shell .table-card.premium-table.busy{background:#ffd5d6;border-color:#ec8c94;color:#631821;box-shadow:0 6px 14px #c4484820}
.premium-shell .table-card.premium-table.free{background:#d9f6e2;border-color:#78c79b;color:#164d31}
.premium-shell .table-card.premium-table.reserved{background:#d8e9ff;border-color:#88b4ea;color:#204e85}
.premium-shell .table-card.premium-table.selected{outline:3px solid var(--business-accent);outline-offset:1px}
.premium-shell .table-card.premium-table.busy .table-icon{background:#f8a5a9;color:#68232c}
.premium-shell .table-card.premium-table.free .table-icon{background:#a4e5b9;color:#165736}
.premium-shell .table-card.premium-table.reserved .table-icon{background:#a8cdf5;color:#1d5486}
.premium-shell .table-card.premium-table.busy .pill{background:#a62d3d;color:white}
.premium-shell .table-card.premium-table.free .pill{background:#176940;color:white}
.premium-shell .table-card.premium-table.reserved .pill{background:#285fa3;color:white}
.premium-shell .table-card.premium-table .zone{color:inherit;opacity:.8}
.premium-shell .table-card.premium-table .table-bottom{display:flex;gap:5px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;color:inherit}
.premium-shell .table-card.premium-table .table-bottom strong{color:inherit}
.premium-shell .table-card.premium-table .occupancy-duration{font-weight:750;font-size:11px;line-height:1.4;color:inherit}
.favorite-fast-bar{margin:0 16px 16px;padding:14px;border-radius:15px;border:1px solid #dee9cf;background:#f4faea}
.favorite-fast-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px;flex-wrap:wrap}
.favorite-fast-title h3{font-size:14px;color:#304a21;margin:0}
.favorite-fast-title span,.favorite-fast-empty{font-size:11px;color:#5d744c}
.favorite-fast-items{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px}
.favorite-fast-item{display:flex;align-items:center;gap:9px;min-width:155px;max-width:220px;flex:0 0 auto;border-radius:11px;background:#fff;padding:9px 11px;border:1px solid #dbe7cf;text-align:left;font:inherit;cursor:pointer;scroll-snap-align:start}
.favorite-fast-item:hover,.favorite-fast-item:focus-visible{border-color:#7aaa50;box-shadow:0 4px 13px #38612b1d}
.favorite-fast-icon{font-size:22px;display:flex;width:35px;height:35px;align-items:center;justify-content:center;overflow:hidden}
.favorite-fast-icon img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.favorite-fast-item>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:800;color:#223822}
.favorite-fast-item small{display:block;font-weight:600;margin-top:4px;color:#5f7757}
.favorite-fast-item b{font-size:22px;color:#3f7d37}
.business-settings-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);gap:20px;align-items:start}
.business-settings-card,.business-brand-preview{background:#fff;border:1px solid #e4eaf2;border-radius:19px;padding:26px;box-shadow:0 9px 27px #1428420b}
.business-settings-card h2{font-size:19px;margin:0 0 18px}
.business-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.business-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750;color:#475d72}
.business-fields label:first-child,.business-fields label:nth-child(4),.business-fields label:nth-child(5){grid-column:1/-1}
.business-fields input{min-width:0;width:100%;border:1px solid #d8e1ed;border-radius:11px;padding:13px 14px;font:inherit;font-size:14px;color:#162b3d;background:#fbfcfe}
.business-fields input:focus{outline:2px solid var(--business-accent);border-color:#819960}
.business-fields input[type=color]{padding:6px;height:45px;cursor:pointer}
.business-settings-actions{margin-top:21px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.business-settings-actions small{color:#718096}
.business-brand-preview{text-align:center;border-top:7px solid var(--business-accent);background:linear-gradient(155deg,#172638,#243a4b);color:white}
.preview-header{display:flex;justify-content:space-between;gap:5px;color:#b1c6cf;font-size:9px;letter-spacing:1px}
.preview-coffee{font-size:56px;margin:30px auto 12px}
.business-brand-preview h2{font-size:25px;color:white;overflow-wrap:anywhere}
.business-brand-preview p{color:#dbe4e9;margin:10px 0 20px}
.preview-contact{font-size:12px;color:#c6d5df;margin-top:10px;overflow-wrap:anywhere}
.preview-footer{margin-top:32px;padding:14px;border-top:1px dashed #5f778a;font-size:12px}
.business-note{font-size:10px!important;color:#97acba!important}
@media(max-width:1100px){.business-settings-layout{grid-template-columns:1fr}}
@media(max-width:720px){.zone-overview-section{padding:11px}.zone-overview-section .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.zone-overview-count{display:block;text-align:right}.zone-overview-count span{display:block}.favorite-fast-bar{margin:0 10px 11px;padding:11px}.favorite-fast-item{min-width:145px}.business-fields{grid-template-columns:1fr}.business-fields label{grid-column:1/-1}.business-settings-card,.business-brand-preview{padding:17px}.premium-shell .table-card.premium-table .occupancy-duration{font-size:10px}}
