/* Glayru Spot v23: unified catalog, ReHub Blue styling */
#tab-services #spot-catalog-switcher{display:flex;gap:5px;max-width:420px;margin:0 0 18px;padding:5px;border:1px solid var(--border,#2b3a52);background:#101928;border-radius:13px}
#tab-services #spot-catalog-switcher[hidden]{display:none!important}
#tab-services .spot-catalog-option{flex:1;padding:12px 16px;border:1px solid transparent;border-radius:10px;background:transparent;color:#a4b6d1;cursor:pointer;font-size:13px;font-weight:600;line-height:1.2;transition:background .2s,border-color .2s,color .2s}
#tab-services .spot-catalog-option.selected{border-color:#5088d7;background:#285ba0;color:#fff;box-shadow:0 2px 12px rgba(0,0,0,.08)}
#tab-services .spot-catalog-option:hover:not(.selected){color:#fff;background:#1c2b42}
#tab-services .service-layout[hidden],#tab-services #spot-catalog-food[hidden]{display:none!important}
#spot-catalog-food .panel{min-width:0}
.spot-food-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--border,#28364b)}
.spot-food-row:last-child{border-bottom:none}
.spot-food-thumb{flex:0 0 54px;width:54px;height:54px;border-radius:11px;background:#1a2d4b;display:grid;place-items:center;color:#9cc6ff;overflow:hidden;border:1px solid rgba(133,174,232,.22)}
.spot-food-thumb img{width:100%;height:100%;object-fit:cover}
.spot-food-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.spot-food-copy strong{font-size:13px;overflow-wrap:anywhere}.spot-food-copy small{font-size:11px;color:var(--muted,#9fb0c9);line-height:1.5}
.spot-food-row .service-actions{flex-shrink:0;display:flex;gap:5px}
.spot-food-field{display:flex;flex-direction:column;gap:7px;position:relative}.spot-food-field>span{font-size:12px;font-weight:650}
.spot-food-field textarea{resize:vertical;min-height:70px}
.spot-food-image-box{display:flex;align-items:center;justify-content:center;width:min(180px,100%);aspect-ratio:1;border-radius:14px;border:1px solid #304461;background:#13243a;overflow:hidden}
.spot-food-preview{width:100%;height:100%;object-fit:cover}.spot-food-preview[hidden],.spot-food-preview-placeholder[hidden]{display:none!important}
.spot-food-preview-placeholder{display:grid;place-items:center;gap:8px;color:#8ea4bf;font-size:12px}.spot-food-preview-placeholder i{font-size:25px}
.spot-catalog-photo-actions{display:flex;gap:8px;flex-wrap:wrap}.spot-catalog-photo-actions>.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;text-align:center;margin:0;padding:0 14px;font-size:12px;font-weight:650;cursor:pointer}
.spot-catalog-file{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.spot-catalog-file-label{position:relative}.spot-service-upload-custom{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;font-weight:650;font-size:12px;cursor:pointer;margin-top:9px;border-radius:10px}
.spot-catalog-photo-actions .is-loading{opacity:.6;pointer-events:none}
.spot-catalog-switch-line{border:1px solid #2c3c54;border-radius:12px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:13px;font-weight:650}
.spot-catalog-switch-line input{opacity:0;position:absolute;width:1px;height:1px}
.spot-catalog-switch-thumb{width:43px;height:26px;border-radius:30px;position:relative;flex:0 0 43px;background:#34445b;border:1px solid #607089;transition:background .2s}
.spot-catalog-switch-thumb:after{content:"";position:absolute;top:3px;left:3px;height:18px;width:18px;background:#acbad0;border-radius:50%;transition:transform .2s,background .2s}
.spot-catalog-switch-line input:checked+.spot-catalog-switch-thumb{background:#3478df;border-color:#6ca3f1}
.spot-catalog-switch-line input:checked+.spot-catalog-switch-thumb:after{transform:translateX(17px);background:#fff}
.spot-catalog-switch-line input:focus-visible+.spot-catalog-switch-thumb{outline:2px solid #9fc7ff;outline-offset:3px}
.spot-catalog-form-actions{display:flex;gap:9px;flex-wrap:wrap}.spot-catalog-form-actions .button:first-child{flex:1;min-width:140px}
.spot-food-category-wrapper{position:relative}.spot-food-category-options{position:absolute;z-index:110;top:100%;left:0;right:0;max-height:180px;overflow:auto;border:1px solid #375273;border-radius:11px;background:#15243b;box-shadow:0 14px 34px rgba(0,0,0,.4);padding:5px}
.spot-food-category-options[hidden]{display:none!important}.spot-food-category-option{width:100%;padding:10px;border:0;border-radius:8px;text-align:left;background:transparent;color:#e3ecff;cursor:pointer}.spot-food-category-option:hover{background:#253e5d}
#tab-services .spot-catalog-file-label .spot-service-upload-custom,#tab-services #service-image-ai{min-height:44px;border-radius:10px}
#tab-services #service-image-ai{display:inline-flex;align-items:center;justify-content:center;gap:7px}
#tab-builder .builder-food-open{display:inline-flex;align-items:center;gap:8px;width:100%;justify-content:center;margin-top:11px}
@media(max-width:760px){#spot-catalog-food{gap:12px}.spot-catalog-photo-actions{display:grid;grid-template-columns:1fr 1fr}.spot-catalog-photo-actions>.button{font-size:11px;padding:10px 8px}.spot-food-thumb{flex-basis:45px;width:45px;height:45px}.spot-food-row{gap:8px}.spot-catalog-photo-actions>.button span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.spot-catalog-option,.spot-catalog-switch-thumb,.spot-catalog-switch-thumb:after{transition:none}}

.spot-catalog-form-actions [hidden]{display:none!important}
