:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#092e3b;background:#e9f0f0}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;border-radius:.35rem;padding:.72rem 1rem;background:#075873;color:#fff;font-weight:700;min-height:44px}button:hover{background:#063e56}button:disabled{opacity:.5;cursor:wait}a{color:inherit}:focus-visible{outline:3px solid #bd9027;outline-offset:2px}[hidden]{display:none!important}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#062e40;color:#fff;padding:.8rem clamp(1rem,4vw,3rem)}.topbar a{text-decoration:none}.topbar strong{font-size:1.05rem}.topbar button{background:#ffffff1c}main{max-width:1320px;margin:auto;padding:clamp(1rem,3vw,2.5rem)}.status{min-height:1.5rem;margin:0 0 1rem;color:#075873;font-weight:600}.status.error{color:#a22b20}.login-card,.panel{background:#fff;border:1px solid #d5e0e0;border-radius:.6rem;box-shadow:0 8px 24px #092e3b10}.login-card{max-width:480px;margin:clamp(2rem,10vh,7rem) auto;padding:clamp(1.5rem,4vw,2.5rem)}.login-card h1{margin:0}.login-card form{display:grid;gap:1rem;margin-top:1.5rem}.workspace-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.workspace-head h1{margin:.1rem 0;font-size:clamp(2rem,5vw,3rem)}.workspace-head p:last-child{max-width:26ch;color:#48656e}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;font-weight:800;color:#075873}.workspace-grid{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:1.2rem;align-items:start}.panel{padding:clamp(1rem,2vw,1.5rem);min-width:0}.editor-stack{display:grid;gap:1.2rem}.panel h2{margin:0 0 1rem;font-size:1.35rem}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.panel-heading h2{margin:0}.panel-heading button{padding:.5rem .7rem}.hint{font-size:.82rem;color:#58717a}ol{list-style:none;margin:1rem 0 0;padding:0}li{display:flex;align-items:center;justify-content:space-between;gap:.35rem;border-top:1px solid #dce6e7;padding:.55rem 0;min-width:0}.row-select{display:block;flex:1;min-width:0;text-align:left;background:transparent;color:inherit;font-weight:600;overflow-wrap:normal;word-break:normal;hyphens:none}.row-select:hover,.row-select[aria-current]{background:#e4f3f6;color:#03465e}.move-buttons{display:flex;gap:.2rem}.move-buttons button{padding:.3rem;min-width:44px;background:#dcebef;color:#063e56}.move-buttons button:hover{background:#bedee6}form{display:grid;gap:1.25rem}fieldset{min-width:0;border:1px solid #dce6e7;border-radius:.4rem;padding:1rem}legend{font-weight:800;color:#075873;padding:0 .3rem}.lang-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}label{display:grid;gap:.35rem;font-size:.88rem;font-weight:700;margin-bottom:.8rem}label:last-child{margin-bottom:0}input,textarea,select{width:100%;min-width:0;min-height:44px;border:1px solid #9bb8bf;border-radius:.3rem;background:#fff;color:#092e3b;padding:.55rem .7rem}textarea{resize:vertical}.price-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.money-input{display:flex;align-items:center;border:1px solid #9bb8bf;border-radius:.3rem;background:#fff}.money-input span{padding-left:.8rem}.money-input input{border:0;min-height:42px}.money-input:focus-within{outline:3px solid #bd9027}.panel form>button{justify-self:start}.category-panel{position:sticky;top:1rem}@media(max-width:800px){.workspace-grid{grid-template-columns:1fr}.category-panel{position:static}.workspace-head{display:block}.workspace-head p:last-child{max-width:none}}@media(max-width:600px){.lang-grid,.price-fields{grid-template-columns:1fr}.topbar{flex-wrap:wrap}.panel{padding:1rem}}
.preview-label{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#dace23}.preview-banner{margin:0;padding:1rem 1.2rem;background:#ffefbc;border-left:5px solid #bd9027;border-radius:.2rem;font-weight:800}.preview-explain{margin:.6rem 0 1.6rem;color:#48656e}.preview-explain+.workspace-head{margin-top:1rem}#workspace form[inert] input,#workspace form[inert] textarea,#workspace form[inert] select{background:#f7f9f9;color:#38525a}#workspace form[inert] button:disabled,.panel-heading button:disabled,.move-buttons button:disabled{cursor:not-allowed;opacity:.55}
.local-tools{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:.75rem 0 1.4rem}.local-tools a,.import-label{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:.35rem;padding:.7rem 1rem;background:#075873;color:white;font-weight:700;text-decoration:none;cursor:pointer;margin:0}.import-label input{position:absolute;width:1px;height:1px;opacity:0}.import-label:focus-within{outline:3px solid #bd9027;outline-offset:2px}.local-tools a:hover,.import-label:hover{background:#063e56}.preview-banner{margin-bottom:.7rem}.local-preview{margin-top:2rem;padding:clamp(1rem,3vw,2rem);background:#062e40;color:#fff;border-radius:.6rem}.local-preview>h2{margin:.2rem 0}.local-preview>p{color:#d3e7e8}.preview-language{max-width:190px;margin:1rem 0;color:#fff}#local-preview-content{display:grid;gap:1rem}.preview-category{margin:1.5rem 0;padding:1.5rem;background:#f2f1e8;color:#062f3e;border-radius:.4rem}.preview-category h3{font-size:clamp(1.5rem,4vw,2.4rem);margin:0}.preview-category ul{margin:.8rem 0 0}.preview-dish{gap:.8rem}.preview-dish img{width:72px;height:72px;object-fit:cover;border-radius:.3rem;flex:none}.preview-dish span{display:grid;gap:.2rem;min-width:0;flex:1}.preview-dish small{font-size:.85rem;color:#48656e}.preview-dish b{white-space:nowrap}.status.error{font-weight:800}.move-buttons button:disabled{cursor:not-allowed}#remove-photo{justify-self:start;background:#dcebef;color:#063e56}#remove-photo:disabled{opacity:.5}
.events-admin{margin-top:1.4rem}.events-admin-list{list-style:none;margin:.8rem 0 0;padding:0}.events-admin-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.65rem 0;border-top:1px solid #c9d9d9}.events-admin-row.retired{opacity:.72}.events-admin-copy{display:grid;gap:.1rem;min-width:0}.events-admin-copy strong,.events-admin-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.events-admin-copy small{color:#526b70}.events-admin-actions{display:flex;gap:.3rem;flex:none}.events-admin-actions button{min-height:40px;padding:.35rem .55rem;font-size:.8rem}.events-admin #events-status.error{color:#9e3829}@media(max-width:480px){.events-admin-row{align-items:flex-start;flex-direction:column}.events-admin-actions{align-self:flex-end}}
#event-current-photo{display:block;width:min(100%,280px);height:auto;max-height:280px;margin:.7rem auto;object-fit:contain}#event-current-photo[hidden]{display:none}
.topbar .brand{display:flex;align-items:center;gap:.7rem;min-width:0}.topbar .brand img{width:70px;height:48px;object-fit:contain}.topbar .brand strong{font-size:1.15rem;white-space:nowrap}.dashboard-heading{margin:.3rem 0 1.4rem}.dashboard-heading h1{margin:0;font-size:clamp(2rem,5vw,3.2rem);line-height:1.1}.dashboard-heading p{margin:.25rem 0;color:#48656e;font-size:1.1rem}.menu-editor{margin-top:1.8rem}.section-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem 1rem;flex-wrap:wrap}.section-head h2{font-size:clamp(1.4rem,3vw,2rem);margin:0}.section-head .local-tools{margin:0}.section-head .local-tools button,.section-head .import-label,.section-head .local-tools a{font-size:.85rem;padding:.5rem .75rem}.edit-details{margin-bottom:1rem}.edit-details summary,.trash-panel summary{cursor:pointer;list-style:none;font-size:1.15rem;font-weight:800;color:#075873;padding:.15rem 2rem .15rem 0;position:relative}.edit-details summary::-webkit-details-marker,.trash-panel summary::-webkit-details-marker{display:none}.edit-details summary::after,.trash-panel summary::after{content:'+';position:absolute;right:.2rem;top:0}.edit-details[open] summary::after,.trash-panel[open] summary::after{content:'−'}.edit-details form{margin-top:1.3rem}.save-note{margin:.1rem 0;color:#58717a;font-size:.8rem}.selected-category{margin:.5rem 0 0;color:#48656e;font-weight:700}.panel-heading h3{margin:0;font-size:1.2rem}.editor-stack{min-width:0}.form-actions{display:flex;gap:.7rem;flex-wrap:wrap}.form-actions button{min-width:135px}.danger{background:#fff;color:#9b3229;border:1px solid #bd6f68}.danger:hover{background:#fcece9}.trash-panel{margin-top:1.2rem}.trash-panel ul{margin:.6rem 0}.trash-panel li span{min-width:0;overflow-wrap:anywhere}.trash-panel li button{padding:.4rem .6rem;flex:none}.action-dialog{width:min(92vw,430px);border:0;border-radius:.6rem;padding:1.5rem;background:#fff;color:#092e3b;box-shadow:0 30px 80px #00172299}.action-dialog::backdrop{background:#001722aa}.action-dialog h2{margin:0 0 .7rem}.action-dialog p{line-height:1.5}.dialog-actions{display:flex;gap:.6rem;justify-content:flex-end;flex-wrap:wrap}.dialog-actions #confirm-cancel{background:#e4edef;color:#063e56}.action-dialog.error h2{color:#a22b20}#restaurant-preview{background:#ffffff12;border-radius:.4rem;padding:.7rem 1rem;overflow-wrap:anywhere}#restaurant-preview p{margin:.3rem 0}.local-preview .preview-category{margin:.7rem 0}.local-preview .preview-category ul{max-height:26rem;overflow:auto}.status{margin:.5rem 0 1rem}.status:empty{display:none}@media(max-width:600px){.topbar .brand img{width:54px;height:40px}.topbar .brand strong{font-size:1rem}.topbar a{font-size:.9rem}.section-head .local-tools{width:100%}.section-head .local-tools button,.section-head .import-label,.section-head .local-tools a{flex:1 1 auto}.move-buttons button{min-width:38px}.row-select{padding:.6rem .35rem}.action-dialog{padding:1.1rem}}
.topbar .brand img{width:110px;height:78px}.topbar .brand strong{font-size:1.3rem}.restaurant-card{margin-bottom:1.3rem}.restaurant-card .panel-heading h2{margin:0;font-size:clamp(1.2rem,2.8vw,1.6rem)}#restaurant-preview{background:#f4f8f8;color:#31515a;margin-top:.8rem;padding:.6rem .8rem}.menu-editor{margin-top:1.5rem}.menu-editor>.save-note{margin:.3rem 0 .9rem}.section-head{margin-bottom:.25rem}.table-scroll{max-width:100%;overflow-x:auto;background:#fff;border:1px solid #d5e0e0;border-radius:.6rem}.category-table{width:100%;border-collapse:collapse;table-layout:fixed}.category-table th{text-align:left;background:#e3eff1;color:#064259;padding:.75rem .65rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em}.category-table th:first-child{width:128px}.category-table th:last-child{width:330px}.category-table td{border-top:1px solid #dce6e7;padding:.6rem .65rem;vertical-align:middle}.category-row{cursor:pointer}.category-row:hover,.category-row[aria-expanded=true]{background:#f0f7f8}.category-name{font-weight:800;overflow-wrap:normal}.category-name button{background:transparent;color:#063e56;text-align:left;padding:.35rem;border:0;min-height:44px}.position-cell{white-space:nowrap}.position-cell span{display:inline-block;min-width:1.4rem;text-align:center;font-weight:800}.position-cell button,.category-actions button,.item-actions button,.items-head button{min-height:44px;padding:.4rem .55rem;font-size:.82rem}.position-cell button{background:#e3eff1;color:#064259}.category-actions{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.category-actions button{background:#e3eff1;color:#064259}.category-actions button:last-child,.item-actions button:last-child{background:#fff;color:#97372f;border:1px solid #ca8e88}.items-row>td{padding:1rem clamp(.6rem,3vw,1.5rem);background:#f3f8f8}.items-head{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.compact-items{list-style:none;margin:.7rem 0 0;padding:0}.compact-items li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.6rem;align-items:center}.compact-items li>span:first-child{font-weight:700}.compact-items li>span:nth-child(2){white-space:nowrap}.item-actions{display:flex;gap:.25rem;flex-wrap:wrap;justify-content:flex-end}.item-actions button{background:#dcebef;color:#063e56}.editor-dialog{width:min(96vw,800px);max-height:90dvh;overflow:auto;margin:auto;padding:clamp(1rem,3vw,1.7rem);border:0;border-radius:.6rem;color:#092e3b;background:#fff;box-shadow:0 25px 80px #00172299}.editor-dialog::backdrop{background:#001722b8}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}.dialog-head h2{margin:0;font-size:clamp(1.35rem,3vw,1.9rem)}.dialog-head button{background:transparent;color:#092e3b;padding:.1rem;min-width:44px;font-size:1.8rem}.editor-dialog form{gap:.85rem}.editor-dialog .secondary{background:#e4edef;color:#063e56}.editor-error{padding:.6rem .8rem;background:#fff0ed;color:#9d241b;border-left:4px solid #b73224;font-weight:700}.trash-panel{margin-top:1rem}.trash-panel summary{font-size:.95rem}@media(max-width:760px){.category-table th:first-child{width:94px}.category-table th:last-child{width:200px}.category-table td{padding:.45rem .35rem}.category-actions button{font-size:.75rem}.compact-items li{grid-template-columns:minmax(0,1fr) auto}.item-actions{grid-column:1/-1;justify-content:flex-start}.topbar .brand img{width:88px;height:65px}}@media(max-width:430px){.category-table{min-width:0}.category-table th:first-child{width:86px}.category-table th:last-child{width:110px}.category-actions{display:grid;grid-template-columns:1fr}.category-actions button{width:100%;min-height:38px;padding:.3rem}.position-cell button{min-height:38px;padding:.2rem}.category-name button{font-size:.86rem}.editor-dialog{max-height:96dvh}.topbar .brand img{width:80px;height:60px}}
@media(max-width:520px){.table-scroll{overflow-x:hidden}.category-table,.category-table tbody,.category-table tr{display:block;width:100%}.category-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.category-row{display:grid!important;grid-template-columns:110px minmax(0,1fr)}.category-row td{border:0;padding:.35rem}.position-cell{grid-column:1;grid-row:1}.position-cell::before{content:'Posición';display:block;font-size:.65rem;font-weight:700;color:#48656e;text-transform:uppercase}.category-name{grid-column:2;grid-row:1;min-width:0}.category-name button{max-width:100%;overflow-wrap:anywhere}.category-actions{grid-column:1/-1;grid-row:2;display:flex;padding-top:0!important}.category-actions button{width:auto;flex:1 1 30%;min-height:44px}.items-row>td{display:block;width:100%}.compact-items li{grid-template-columns:minmax(0,1fr) auto}.item-actions{grid-column:1/-1;justify-content:flex-start}.item-actions button{min-height:44px}.topbar .brand img{width:80px;height:60px}}
.category-table th:first-child{width:146px}.position-controls{display:inline-flex;align-items:center;justify-content:center;gap:2px;flex-wrap:nowrap;white-space:nowrap}.position-controls button,.position-controls .position-placeholder{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0}.position-controls .position-placeholder{visibility:hidden}.position-controls .position-number{display:inline-block;flex:0 0 22px;min-width:22px;text-align:center;font-weight:800}@media(max-width:760px){.category-table th:first-child{width:136px}}@media(max-width:520px){.category-row{grid-template-columns:130px minmax(0,1fr)}.position-cell::before{display:none}.position-cell button{width:44px;min-width:44px;min-height:44px}.position-cell{display:flex;align-items:center;padding:.2rem!important}.category-name{display:flex;align-items:center}}
.category-actions,.item-actions{display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.15rem .45rem}.category-actions button,.item-actions button,.items-head button{flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;min-height:44px!important;padding:.28rem .36rem!important;background:transparent!important;border:0!important;border-radius:.2rem!important;box-shadow:none!important;color:#075873!important;font-size:.82rem!important;font-weight:650!important;line-height:1.2}.category-actions button:last-child,.item-actions button:last-child{color:#a33a32!important}.category-actions button:hover,.item-actions button:hover,.items-head button:hover,.position-controls button:hover{background:#e9f3f4!important;text-decoration:underline}.position-controls button{display:inline-grid;place-items:center;width:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#075873!important;font-size:1rem!important;font-weight:600!important}.position-controls .position-number{font-size:.9rem}.category-table td{padding-block:.25rem}.category-actions{padding-top:0!important}.compact-items li{display:flex;align-items:center;flex-wrap:wrap;gap:.15rem .55rem;padding:.3rem 0}.compact-items li>span:first-child{flex:1 1 95px;font-size:.95rem}.compact-items li>span:nth-child(2){flex:0 0 auto;font-size:.86rem}.compact-items .item-actions{flex:0 1 auto;grid-column:auto;justify-content:flex-start}.items-row>td{padding:.55rem clamp(.6rem,2vw,1rem)}.items-head strong{font-size:1rem}.restaurant-card{padding:clamp(.75rem,2vw,1rem)}.restaurant-card .panel-heading h2{font-size:clamp(1.1rem,2.6vw,1.4rem)}.restaurant-card .panel-heading button{min-height:44px;padding:.32rem .65rem;font-size:.85rem}#restaurant-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem 1rem;margin-top:.45rem;padding:.55rem .7rem}#restaurant-preview p{margin:0;font-size:.85rem;line-height:1.35}#restaurant-preview a{color:#075873;font-weight:700}.status{min-height:0;font-size:.85rem;font-weight:500}@media(max-width:760px){.category-actions button,.item-actions button{flex:0 0 auto!important;width:auto!important}.compact-items li{display:flex}.compact-items .item-actions{grid-column:auto;flex:0 1 auto}}@media(max-width:520px){.category-actions{display:flex!important;gap:.1rem .55rem!important}.category-actions button{flex:0 0 auto!important;width:auto!important;min-height:44px!important;padding:.25rem .2rem!important}.item-actions{display:flex!important;gap:.1rem .45rem!important;justify-content:flex-start!important}.item-actions button{flex:0 0 auto!important;width:auto!important;min-height:44px!important;padding:.25rem .15rem!important}.compact-items li{display:flex!important;gap:.1rem .4rem!important}.compact-items li>span:first-child{flex:1 1 95px}.compact-items .item-actions{flex:0 1 auto!important}.category-row td{padding-block:.15rem}.category-name button{font-size:.9rem}#restaurant-preview{grid-template-columns:1fr}}
.position-controls{gap:0}.position-controls button,.position-controls .position-placeholder{flex:0 0 24px!important;width:24px!important;min-width:24px!important;max-width:24px!important;min-height:44px!important;padding:0!important;font-size:.82rem!important}.position-controls .position-number{flex:0 0 20px!important;min-width:20px!important;font-size:.86rem}.category-table th:first-child{width:106px}.category-actions .icon-action,.item-actions .icon-action{display:inline-grid!important;place-items:center;flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;min-height:44px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.icon-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-action:focus-visible,.position-controls button:focus-visible{outline:2px solid #bd9027!important;outline-offset:2px}.category-actions,.item-actions{gap:.1rem .2rem!important}@media(max-width:760px){.category-table th:first-child{width:98px}}@media(max-width:520px){.category-row{grid-template-columns:96px minmax(0,1fr)}.position-controls button,.position-controls .position-placeholder{width:24px!important;min-width:24px!important;flex-basis:24px!important}.category-actions .icon-action,.item-actions .icon-action{width:34px!important;min-width:34px!important;flex-basis:34px!important}}
@media(max-width:600px){.table-scroll{overflow-x:hidden!important}.table-scroll .category-table{display:table!important;width:100%!important;table-layout:fixed}.table-scroll .category-table tbody{display:table-row-group!important;width:auto!important}.table-scroll .category-table tr,.table-scroll .category-table .category-row{display:table-row!important;width:auto!important}.category-table .category-row td{display:table-cell!important;grid-column:auto!important;grid-row:auto!important;vertical-align:middle;padding:.15rem .1rem!important}.category-table .category-row .position-cell{display:table-cell!important;box-sizing:border-box;width:68px!important;min-width:68px!important;max-width:68px!important;padding:0!important;white-space:nowrap}.category-table .category-row .category-name{display:table-cell!important;min-width:0!important;overflow:hidden;padding-left:0!important}.category-table .category-row .category-name button{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding:.2rem 0!important}.category-table .category-row .category-actions{display:table-cell!important;width:106px!important;min-width:106px!important;white-space:nowrap!important;padding:0!important}.category-table .category-row .category-actions .icon-action{display:inline-grid!important;vertical-align:middle;min-height:44px!important;width:34px!important;min-width:34px!important;max-width:34px!important;flex:none!important}.category-table .items-row>td{display:table-cell!important;width:auto!important;max-width:100%;padding:.35rem .4rem!important}.category-table th:first-child{box-sizing:border-box;width:68px!important;padding-inline:0!important}.category-table th:last-child{width:106px!important}.compact-items li{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.15rem!important;min-width:0;padding:.12rem 0}.compact-items li>span:first-child{min-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:none!important}.compact-items li>span:nth-child(2){white-space:nowrap;font-size:.8rem}.compact-items .item-actions{display:inline-flex!important;grid-column:auto!important;flex:0 0 auto!important;flex-wrap:nowrap!important;gap:0!important;white-space:nowrap}.compact-items .item-actions button{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:44px!important;padding:.15rem!important}.compact-items .item-actions .icon-action{display:inline-grid!important;width:32px!important;min-width:32px!important;max-width:32px!important;flex-basis:32px!important;padding:0!important}.position-cell::before{display:none!important}}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.drag-help{margin:.1rem 0 .65rem;color:#55717a;font-size:.82rem}
.category-table th:first-child{box-sizing:border-box;width:50px!important;padding:0!important}
.category-table .category-row .position-cell{box-sizing:border-box;width:50px!important;min-width:50px!important;max-width:50px!important;padding:0 .15rem!important;text-align:center}
.category-table .category-row .category-name{min-width:0;overflow:hidden}
.category-table .category-row .category-name button{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.category-table .category-row .category-actions{display:table-cell!important;width:112px!important;min-width:112px!important;white-space:nowrap;padding:.1rem!important}
.category-table th:last-child{width:112px!important}
.drag-handle{display:inline-grid!important;place-items:center;box-sizing:border-box;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:1px solid #bbd5d9!important;border-radius:.38rem!important;background:#e8f2f4!important;color:#075873!important;font-size:1.1rem!important;font-weight:800!important;line-height:1!important;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.drag-handle:active,.drag-active .drag-handle{cursor:grabbing}
.drag-handle:focus-visible{outline:2px solid #bd9027!important;outline-offset:2px}
.category-actions .action-edit,.item-actions .action-edit{background:#e8f2f4!important;border:1px solid #c6dce0!important;border-radius:.32rem!important}
.category-actions .action-trash,.item-actions .action-trash{background:#fff0ed!important;border:1px solid #e7c1ba!important;border-radius:.32rem!important}
.category-actions .icon-action,.item-actions .icon-action{width:34px!important;min-width:34px!important;max-width:34px!important;min-height:44px!important}
.category-row.drag-source,.compact-items li.drag-source{opacity:.62}
.category-row.drop-target{outline:2px solid #bd9027;outline-offset:-2px;background:#fff6df}
.compact-items li.drop-target{outline:2px solid #bd9027;outline-offset:2px;background:#fff6df}
.compact-items li{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto 70px!important;align-items:center;column-gap:.25rem!important;min-width:0}
.compact-items li>span:nth-child(2){min-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:none!important}
.compact-items li>span:nth-child(3){white-space:nowrap;flex:none!important}
.compact-items .item-actions{display:inline-flex!important;grid-column:auto!important;flex-wrap:nowrap!important;gap:2px!important;white-space:nowrap}
.compact-items .item-actions .icon-action{display:inline-grid!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important}
@media(max-width:600px){
.table-scroll{overflow-x:hidden!important}
.table-scroll .category-table{display:table!important;width:100%!important;table-layout:fixed}
.table-scroll .category-table tbody{display:table-row-group!important;width:auto!important}
.table-scroll .category-table tr,.table-scroll .category-table .category-row{display:table-row!important;width:auto!important}
.category-table .category-row td{display:table-cell!important;grid-column:auto!important;grid-row:auto!important;vertical-align:middle}
.category-table .category-row .position-cell{display:table-cell!important;width:50px!important;min-width:50px!important;max-width:50px!important;padding:0 .1rem!important}
.category-table .category-row .category-name{display:table-cell!important;min-width:0!important;overflow:hidden;padding:.1rem 0!important}
.category-table .category-row .category-name button{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding:.1rem 0!important}
.category-table .category-row .category-actions{display:table-cell!important;width:106px!important;min-width:106px!important;white-space:nowrap!important;padding:0!important}
.category-table .category-row .category-actions .icon-action{display:inline-grid!important;vertical-align:middle;min-height:44px!important;width:34px!important;min-width:34px!important;max-width:34px!important;flex:none!important}
.category-table .items-row>td{display:table-cell!important;width:auto!important;max-width:100%;padding:.3rem .35rem!important}
.category-table th:first-child{box-sizing:border-box;width:50px!important;padding:0!important}
.category-table th:last-child{width:106px!important}
.compact-items li{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto 70px!important;align-items:center;column-gap:.15rem!important;min-width:0;padding:.12rem 0}
.compact-items li>span:nth-child(2){min-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:none!important}
.compact-items li>span:nth-child(3){white-space:nowrap;font-size:.8rem}
.compact-items .item-actions{display:inline-flex!important;grid-column:auto!important;flex:0 0 auto!important;flex-wrap:nowrap!important;gap:2px!important;white-space:nowrap}
.compact-items .item-actions .icon-action{display:inline-grid!important;width:34px!important;min-width:34px!important;max-width:34px!important;flex-basis:34px!important;padding:0!important}
}
@media(max-width:600px){
main{padding:.65rem .4rem 1.25rem}
.topbar{padding:.6rem .7rem}
.restaurant-card.panel{padding:.7rem}
#restaurant-preview{margin-top:.35rem;padding:.45rem .55rem}
.menu-editor{margin-top:1rem}
.menu-editor>.save-note{margin:.2rem 0 .5rem}
.drag-help{margin:0 0 .45rem}
.status{margin:0 0 .45rem}
.table-scroll{border-radius:.25rem}
.category-table th{padding:.5rem .25rem}
.category-table .category-row td{padding-block:.08rem!important}
.category-table .category-row .position-cell{padding:0 .05rem!important}
.category-table .category-row .category-name{padding:0!important}
.category-table .category-row .category-actions{padding:0!important}
.category-table .items-row>td{padding:.15rem .18rem!important}
.compact-items{margin:.4rem 0 0}
.compact-items li{padding:.08rem 0}
}
@media(max-width:600px){
.table-scroll .category-table{display:block!important;width:100%!important;table-layout:auto!important}
.table-scroll .category-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.table-scroll .category-table tbody{display:block!important;width:100%!important}
.table-scroll .category-table .category-row{display:grid!important;grid-template-columns:44px minmax(0,1fr) 106px!important;align-items:center;column-gap:2px;width:100%!important;padding:0!important}
.category-table .category-row td{display:block!important;grid-column:auto!important;grid-row:auto!important;width:auto!important;min-width:0!important;max-width:none!important;padding:0!important}
.category-table .category-row .position-cell{display:block!important;width:44px!important;min-width:44px!important;max-width:44px!important;padding:0!important}
.category-table .category-row .category-name{display:block!important;width:auto!important;min-width:0!important;padding:0!important;overflow:hidden}
.category-table .category-row .category-actions{display:block!important;width:106px!important;min-width:106px!important;max-width:106px!important;padding:0!important;white-space:nowrap}
.table-scroll .category-table .items-row{display:block!important;width:100%!important}
.category-table .items-row>td{display:block!important;width:100%!important;max-width:none!important}
}
/* Compact category and item rows: the control owns the touch area, not the cell background. */
.menu-editor>.save-note{font-size:.78rem;color:#5b7178;margin:.1rem 0 .7rem}
.category-table th:first-child{width:56px!important}
.category-table th:last-child{width:146px!important}
.category-table .category-row td{height:56px;padding:.35rem .2rem!important}
.category-table .category-row .position-cell{box-sizing:border-box;width:56px!important;min-width:56px!important;max-width:56px!important;text-align:center;padding:0 .25rem!important}
.category-table .category-row .category-name{min-width:0;overflow:hidden;padding:0 .25rem!important}
.category-table .category-row .category-name button{width:100%;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:.2rem 0!important}
.category-table .category-row .category-actions{display:table-cell!important;width:146px!important;min-width:146px!important;max-width:146px!important;padding:0 .2rem!important;text-align:right;white-space:nowrap;vertical-align:middle}
.category-actions .icon-action,.item-actions .icon-action{position:relative;display:inline-grid!important;place-items:center;vertical-align:middle;box-sizing:border-box;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0 0 0 4px!important;padding:0!important;border:0!important;border-radius:.35rem!important;background:transparent!important;box-shadow:none!important}
.category-actions .icon-action:first-child,.item-actions .icon-action:first-child{margin-left:0!important}
.category-actions .icon-action::before,.item-actions .icon-action::before{content:"";position:absolute;inset:5px;border-radius:.32rem;z-index:0}
.category-actions .action-list::before{display:none}
.category-actions .action-edit::before,.item-actions .action-edit::before{background:#e6f0f2;border:1px solid #c7dade}
.category-actions .action-trash::before,.item-actions .action-trash::before{background:#fff0ed;border:1px solid #e5c2bc}
.category-actions .icon-action svg,.item-actions .icon-action svg{position:relative;z-index:1;width:18px;height:18px}
.category-actions .icon-action:hover,.item-actions .icon-action:hover{background:transparent!important}
.category-actions .action-edit:hover::before,.item-actions .action-edit:hover::before{background:#d5e8ec}
.category-actions .action-trash:hover::before,.item-actions .action-trash:hover::before{background:#ffe0d9}
.drag-handle{box-sizing:border-box;display:inline-grid!important;place-items:center;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;border:0!important;border-radius:.35rem!important;background:transparent!important;color:#347080!important;font-size:1rem!important;font-weight:700!important;line-height:1!important}
.drag-handle:hover{background:#eaf3f4!important}
.drag-handle:focus-visible{outline:2px solid #bd9027!important;outline-offset:2px}
.compact-items li{box-sizing:border-box;display:grid!important;grid-template-columns:44px minmax(0,1fr) auto 92px!important;align-items:center;column-gap:4px!important;min-height:56px;padding:6px 4px!important}
.compact-items li>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-items li>span:nth-child(3){white-space:nowrap}
.compact-items .item-actions{display:inline-flex!important;justify-content:flex-end;align-items:center;grid-column:auto!important;flex-wrap:nowrap!important;gap:0!important;width:92px;min-width:92px;white-space:nowrap}
@media(max-width:600px){
.table-scroll{border-radius:.35rem}
.table-scroll .category-table{display:block!important;width:100%!important;table-layout:auto!important}
.table-scroll .category-table tbody{display:block!important;width:100%!important}
.table-scroll .category-table .category-row{display:grid!important;grid-template-columns:52px minmax(0,1fr) 140px!important;align-items:center;column-gap:4px;width:100%!important;min-height:56px;padding:6px 4px!important}
.category-table .category-row td{display:block!important;grid-column:auto!important;grid-row:auto!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important}
.category-table .category-row .position-cell{display:block!important;width:44px!important;min-width:44px!important;max-width:44px!important;padding:0!important}
.category-table .category-row .category-name{display:block!important;min-width:0!important;width:auto!important;padding:0!important;overflow:hidden}
.category-table .category-row .category-actions{display:block!important;width:140px!important;min-width:140px!important;max-width:140px!important;padding:0!important;text-align:right;white-space:nowrap}
.category-table .category-row .category-actions .icon-action,.compact-items .item-actions .icon-action{display:inline-grid!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex-basis:44px!important;margin:0 0 0 4px!important;padding:0!important;border:0!important;background:transparent!important}
.category-table .category-row .category-actions .icon-action:first-child,.compact-items .item-actions .icon-action:first-child{margin-left:0!important}
.table-scroll .category-table .items-row{display:block!important;width:100%!important}
.category-table .items-row>td{display:block!important;width:100%!important;max-width:none!important;padding:.15rem .18rem!important}
.compact-items li{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto 92px!important;min-height:56px;padding:6px 4px!important;column-gap:4px!important}
.compact-items .item-actions{display:inline-flex!important;width:92px!important;min-width:92px!important}
}
/* The expanded items live in their own inset panel; category rows keep their approved layout. */
.category-table .items-row>td{background:#edf5f6;padding:.6rem .8rem 1rem!important;border-top:0}
.items-panel{background:#fff;border:1px solid #c7dce0;border-left:3px solid #6d9da9;border-radius:.55rem;box-shadow:0 4px 12px #0a354012;padding:.7rem .75rem .45rem;min-width:0}
.items-panel .items-head{display:flex;align-items:center;justify-content:space-between;gap:.4rem .7rem;flex-wrap:wrap;padding:.05rem .1rem .55rem;border-bottom:1px solid #e1ecee}
.items-panel .items-head h3{margin:0;color:#075873;font-size:1rem;line-height:1.3;min-width:0}
.items-panel .items-head button{flex:none;min-height:44px;padding:.35rem .65rem;font-size:.78rem;background:#e4eff1;color:#075873}
.items-panel .items-head button:hover{background:#d2e5e9}
.items-panel .compact-items{margin:0}
.items-panel .compact-items li:first-child{border-top:0}
@media(max-width:600px){
.category-table .items-row>td{padding:.4rem .25rem .85rem!important}
.items-panel{padding:.5rem .35rem .3rem;border-radius:.42rem}
.items-panel .items-head{padding:.05rem .1rem .4rem}
.items-panel .items-head h3{font-size:.9rem}
.items-panel .items-head button{min-height:44px;padding:.3rem .5rem}
}
.dashboard-footer{margin-top:1.4rem;padding:1rem .8rem 1.2rem;background:#062e40;color:#fff}
.dashboard-footer .footer-credit{display:flex;justify-content:center;align-items:center;gap:.45rem .7rem;flex-wrap:wrap;max-width:1320px;margin:0 auto;font-size:.72rem;text-align:center}
.dashboard-footer .footer-credit a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:0}
.dashboard-footer .footer-credit img{display:block;width:clamp(76px,10vw,100px);height:auto}
@media(max-width:600px){.dashboard-footer{margin-top:1rem;padding:.7rem .5rem .9rem}.dashboard-footer .footer-credit{gap:.25rem .55rem}}
.gallery-admin{margin-top:1.4rem}
.gallery-admin h2{margin:0 0 .25rem}
.gallery-admin>.save-note{margin:.1rem 0 .8rem;font-size:.82rem;color:#526d76}
.menu-switch-label{display:inline-flex;align-items:center;gap:.45rem;font-size:.86rem;font-weight:700;color:#31515a}.menu-switch-label select{min-height:44px;min-width:125px;padding:.4rem .6rem;border:1px solid #abc9ce;border-radius:.35rem;background:#fff;color:#063e56;font:inherit}
.gallery-admin form{display:flex;align-items:end;gap:.6rem;flex-wrap:wrap}
.gallery-admin form label{flex:1 1 240px;margin:0}
.gallery-admin form button{flex:none}
.gallery-local-transfer{margin:.65rem 0;color:#385862;font-size:.84rem}
.gallery-local-transfer p{margin:.2rem 0 .45rem}
.gallery-local-transfer button{max-width:100%;white-space:normal}
#gallery-admin-status{margin:.6rem 0;color:#075873;font-size:.85rem}
#gallery-admin-status:empty{display:none}
#gallery-admin-status.error{color:#a22b20}
#gallery-admin-empty{color:#58717a}
.gallery-admin-list{list-style:none;margin:.4rem 0 0;padding:0}
.gallery-admin-list li{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:.55rem;min-height:64px;padding:.4rem 0}
.gallery-admin-list li img{width:54px;height:54px;object-fit:cover;border-radius:.3rem}
.gallery-admin-list li>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gallery-admin-actions{display:inline-flex;align-items:center;gap:3px}
.gallery-admin-actions button{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #c6dade;background:#e7f1f3;color:#075873}
.gallery-admin-actions .gallery-remove{background:#fff0ed;border-color:#e5c2bc;color:#a33a32;font-size:1.3rem}
.gallery-admin-actions button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:600px){.gallery-admin{padding:.7rem!important}.gallery-admin form{gap:.35rem}.gallery-admin-list li{grid-template-columns:44px minmax(0,1fr) auto;gap:.3rem}.gallery-admin-list li img{width:44px;height:44px}.gallery-admin-actions{gap:2px}.gallery-admin-actions button{width:40px;height:44px;min-width:40px}}

.hours-simple{padding:12px!important}.hours-day{padding:12px 0;border-top:1px solid #71878c}.hours-day-title{display:flex;justify-content:space-between;align-items:center}.hours-day-title label{display:flex;gap:6px;align-items:center}.hours-day input[type=checkbox]{width:auto!important}.hours-interval{display:flex;gap:12px;flex-wrap:wrap}.hours-interval>label{flex:1;min-width:110px}.hours-clock{display:flex;gap:4px}.hours-clock input{width:80px!important;min-width:0}.hours-clock select{width:70px!important}.hours-day details{margin-top:8px;font-size:.9em}.hours-day details label{display:inline-flex;gap:4px;margin:6px}.hours-day button{width:auto;padding:8px;margin:6px 0}.hours-day summary{cursor:pointer}

.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.header-actions button{width:auto;padding:9px 12px}.account-dialog{width:min(94vw,600px);max-height:90dvh;overflow:auto;border:1px solid #247f98;border-radius:12px;padding:20px;background:#f2f1e8;color:#062e40}.account-dialog::backdrop{background:#001b29aa}.account-heading{display:flex;justify-content:space-between;align-items:center}.account-heading button{width:auto}.account-dialog section,.account-dialog details{padding:14px 0;border-top:1px solid #b8cdcf}.account-dialog label{display:block;margin:10px 0}.account-dialog input{display:block;width:100%;box-sizing:border-box;padding:10px}.account-dialog button{max-width:100%;margin:8px 0}.account-dialog summary{cursor:pointer;font-weight:700}.account-dialog ul{padding-left:20px;overflow-wrap:anywhere}@media(max-width:520px){.topbar{flex-wrap:wrap}.topbar .brand{flex:1;min-width:160px}.topbar .brand img{width:100px;height:auto}.header-actions{margin-left:auto}.account-dialog{padding:14px}}
