/* Restaurant editor only: shared business and GastroBar layouts are untouched. */
body.restaurant-mode .r-premium-editor{width:min(1240px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #d5e4df;border-radius:22px;background:#f7faf8;color:#102e43;box-shadow:0 24px 90px #102b3840}
body.restaurant-mode .r-premium-editor>form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);margin:0;overflow:hidden}
body.restaurant-mode .r-premium-editor header,body.restaurant-mode .r-premium-editor footer{flex-shrink:0;padding:20px 26px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;border:0}
body.restaurant-mode .r-premium-editor header{border-bottom:1px solid #dde8e3}body.restaurant-mode .r-premium-editor header h2{font-size:25px;margin:0}body.restaurant-mode .r-premium-editor header button{width:42px;height:42px;border-radius:12px;background:#edf5f1;color:#446477;font-size:26px;border:1px solid #d3e4dc}
body.restaurant-mode .r-premium-editor .r-dialog-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;overflow-y:auto;min-height:0;padding:24px;overscroll-behavior:contain}
body.restaurant-mode .r-premium-editor section{min-width:0}.r-premium-editor .r-editor-presentation,.r-premium-editor .r-editor-information{border:1px solid #dbe8e0;border-radius:18px;padding:22px;background:white}
body.restaurant-mode .r-premium-editor h3{font-size:19px;margin:0 0 14px}body.restaurant-mode .r-premium-editor p{font-size:13px;line-height:1.6;color:#557081}body.restaurant-mode .r-premium-editor .r-photo-editor{display:grid;grid-template-columns:128px minmax(0,1fr);gap:18px;padding:0;background:transparent;box-shadow:none;border:0;margin:22px 0}
body.restaurant-mode .r-premium-editor .r-photo-preview{width:128px;height:128px;border-radius:16px;overflow:hidden;background:#e8f3ec;display:grid;place-items:center}body.restaurant-mode .r-premium-editor .r-photo-preview img{width:100%;height:100%;object-fit:cover}
body.restaurant-mode .r-premium-editor label{display:grid;gap:7px;min-width:0;font-size:13px;font-weight:600;color:#365769;margin:0 0 16px}body.restaurant-mode .r-premium-editor input:not([type=checkbox]),body.restaurant-mode .r-premium-editor textarea,body.restaurant-mode .r-premium-editor select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:inherit;font-size:16px;padding:12px;border:1px solid #c9ded2;border-radius:11px;background:#fcfefd;color:#183a4a;min-height:46px}body.restaurant-mode .r-premium-editor textarea{min-height:95px;resize:vertical}body.restaurant-mode .r-premium-editor input[type=file]{font-size:11px;padding:7px;overflow:hidden}body.restaurant-mode .r-premium-editor input::file-selector-button{background:#d9efe3;border:0;padding:9px 6px;border-radius:7px;color:#12634f;font-size:11px}body.restaurant-mode .r-premium-editor select{white-space:normal}body.restaurant-mode .r-premium-editor option{font-size:16px}body.restaurant-mode .r-premium-editor .r-check{display:flex;align-items:flex-start;gap:9px;font-weight:400;line-height:1.5}body.restaurant-mode .r-premium-editor input[type=checkbox]{flex-shrink:0;width:18px;height:18px;accent-color:#008d7d}body.restaurant-mode .r-premium-editor button{white-space:normal;overflow-wrap:anywhere;min-width:0}body.restaurant-mode .r-premium-editor footer{justify-content:flex-end;border-top:1px solid #dde8e3}body.restaurant-mode .r-premium-editor [data-error]{margin:0;padding:0 24px;color:#bb2841}body.restaurant-mode .r-premium-editor [data-error]:empty{display:none}
body.restaurant-mode .r-food-library{border-top:1px solid #e1ebe5;padding-top:18px}body.restaurant-mode .r-food-library summary{cursor:pointer;font-weight:800;font-size:20px;color:#086e5c;margin-bottom:10px}body.restaurant-mode .r-food-filters{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}body.restaurant-mode .r-food-filters button{font:inherit;font-size:12px;border:1px solid #d3e6db;border-radius:20px;padding:8px 11px;background:#f6fbf8;color:#3c655c}body.restaurant-mode .r-food-filters button[aria-pressed=true]{background:#008775;color:#fff;border-color:#008775}body.restaurant-mode .r-food-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.restaurant-mode .r-food-item{padding:0;text-align:left;background:#fff;border:1px solid #d9e7df;border-radius:13px;overflow:hidden;color:#123748;cursor:pointer}body.restaurant-mode .r-food-item img{display:block;width:100%;aspect-ratio:1.35;object-fit:cover}body.restaurant-mode .r-food-item strong{display:block;padding:10px 10px 5px;font-size:13px;line-height:1.35}body.restaurant-mode .r-food-item small{display:block;padding:0 10px 12px;font-size:11px;line-height:1.5;color:#597583}body.restaurant-mode .r-food-item[aria-pressed=true]{outline:3px solid #08a38b;outline-offset:-3px;background:#edfaf2}body.restaurant-mode .r-food-pagination{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:16px;font-size:11px}body.restaurant-mode .r-food-pagination button{border:1px solid #cce1d3;border-radius:8px;padding:9px;background:#f1f9f4;color:#176450}body.restaurant-mode .r-food-pagination button:disabled{opacity:.45}body.restaurant-mode .r-food-note{background:#eff8f2;border-radius:10px;padding:10px}
@media(max-width:760px){body.restaurant-mode .r-premium-editor{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:16px}body.restaurant-mode .r-premium-editor>form{max-height:calc(100dvh - 14px)}body.restaurant-mode .r-premium-editor .r-dialog-body{grid-template-columns:minmax(0,1fr);padding:12px;gap:14px}body.restaurant-mode .r-premium-editor header,body.restaurant-mode .r-premium-editor footer{padding:12px 16px}body.restaurant-mode .r-premium-editor header h2{font-size:21px}body.restaurant-mode .r-premium-editor .r-editor-presentation,body.restaurant-mode .r-premium-editor .r-editor-information{padding:16px}body.restaurant-mode .r-premium-editor .r-photo-editor{grid-template-columns:90px minmax(0,1fr);gap:12px}body.restaurant-mode .r-premium-editor .r-photo-preview{width:90px;height:100px}body.restaurant-mode .r-premium-editor .r-photo-editor small{font-size:11px}body.restaurant-mode .r-premium-editor .r-photo-editor .r-button{padding:8px;font-size:12px}body.restaurant-mode .r-food-grid{gap:8px}body.restaurant-mode .r-food-item strong{font-size:12px;padding:8px}body.restaurant-mode .r-food-item small{font-size:11px;padding:0 8px 10px}body.restaurant-mode .r-premium-editor footer button{flex:1}body.restaurant-mode .r-food-pagination{flex-wrap:wrap} }

body.restaurant-mode .r-select-trigger{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0;min-height:46px;padding:12px;border:1px solid #c9ded2;border-radius:11px;background:#fcfefd;color:#183a4a;font-size:16px;text-align:left}body.restaurant-mode .r-premium-editor [hidden]{display:none!important}body.restaurant-mode .r-option-dialog{box-sizing:border-box;padding:0;width:min(460px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:80dvh;overflow:hidden;border:1px solid #c9ded2;border-radius:16px;background:#fff;color:#183a4a}body.restaurant-mode .r-option-dialog header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px}body.restaurant-mode .r-option-dialog h2{font-size:18px;margin:0}body.restaurant-mode .r-picker-close{border:0;background:#edf7f1;border-radius:9px;padding:6px 12px;font-size:24px}body.restaurant-mode .r-option-list{overflow:auto;max-height:calc(80dvh - 70px);padding:6px 12px 12px;display:grid;gap:7px}body.restaurant-mode .r-option{padding:12px;border:1px solid #dae8e1;background:#f8fcf9;color:#21483e;border-radius:10px;text-align:left;font-size:16px;white-space:normal;overflow-wrap:anywhere}body.restaurant-mode .r-option[aria-selected=true]{background:#d8f6e9;border-color:#008e76}

body.restaurant-mode .r-dialog select[hidden]{display:none!important}
