.rm-map,.rm-detail{--rm-blue:#234fda;--rm-gutter:var(--page-gutter,clamp(16px,3vw,48px));position:relative;isolation:isolate;container:restaurant-map / inline-size;flex:1;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:var(--rm-blue);color:white}
.rm-map *,.rm-detail *{box-sizing:border-box}
.rm-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab;user-select:none}
.rm-canvas:active{cursor:grabbing}.rm-grid{fill:none;stroke:white;stroke-width:.7}.rm-grid path:first-child{opacity:.10}.rm-grid path:last-child{opacity:.18}
.rm-pad{fill:#ffffff14;stroke:none}.rm-node{outline:none;cursor:pointer}
.rm-node>path{stroke:#f0f5ff;stroke-width:1;stroke-linejoin:round}.rm-node>[data-rm-part=roof]{fill:#4569d4}.rm-node>[data-rm-part=left]{fill:#365dc8}.rm-node>[data-rm-part=right]{fill:#2d58c4}
.rm-node text{fill:white;stroke:none;text-anchor:middle;dominant-baseline:central;pointer-events:none;font-family:inherit;font-weight:550}
.rm-node text[data-rm-part=number]{font-family:var(--font-mono,monospace);font-weight:500}
.rm-node:hover>[data-rm-part=roof],.rm-node:focus>[data-rm-part=roof]{fill:#6486eb}.rm-node:focus>path{stroke:white;stroke-width:2.5}
.rm-head,.rm-foot{position:absolute;left:var(--rm-gutter);right:var(--rm-gutter);display:flex;align-items:flex-start;justify-content:space-between;gap:16px;pointer-events:none}
.rm-head{top:clamp(18px,2.3vw,34px)}.rm-head h1{margin:0;font-size:clamp(25px,2.1vw,34px);font-weight:650;line-height:1.3;letter-spacing:.01em}
.rm-head p{display:flex;align-items:center;gap:9px;font:500 .73rem/1.5 var(--font-mono,monospace);letter-spacing:.07em;color:#d9e5ff;margin:5px 0}
.rm-head p i{height:12px;width:1px;background:#b5c9ff8c}
.rm-toolbar{display:flex;gap:8px;align-items:center;pointer-events:auto}
.rm-toolbar>span{display:inline-flex;align-items:center;gap:8px;border:1px solid white;border-radius:7px;background:white;color:var(--rm-blue);padding:8px 13px;min-height:40px;font-size:.87rem}
.rm-toolbar>span b{font:550 .87rem var(--font-mono,monospace)}
.rm-foot{bottom:clamp(16px,2.2vw,32px);align-items:center;font-size:.82rem;color:#d9e5ff}
.rm-camera{display:inline-flex;gap:6px;align-items:center;pointer-events:auto;border:1px solid #a6bdf8;border-radius:7px;background:#234fda;padding:4px 7px;color:white;white-space:nowrap}
.rm-camera button{color:white;background:none;border:0;border-radius:4px;min-width:27px;min-height:31px;font:inherit;cursor:pointer;padding:4px 5px}
.rm-camera button:hover,.rm-banner button:hover{background:#ffffff1c}.rm-camera output{font:500 .78rem var(--font-mono,monospace);min-width:3.8ch;text-align:center}
.rm-camera>i{height:18px;width:1px;background:#ffffff50}.rm-camera [data-rm-action=view]{min-width:59px}
.rm-camera button:focus-visible,.rm-banner button:focus-visible{outline:2px solid white;outline-offset:-2px}
.rm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rm-detail{display:flex;flex-direction:column;overflow:auto;background:#fff;color:#163d8d}
.rm-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:17px var(--rm-gutter);color:white;background-color:var(--rm-blue);background-image:linear-gradient(90deg,#ffffff13 1px,transparent 1px),linear-gradient(#ffffff13 1px,transparent 1px);background-size:32px 32px}
.rm-banner>div{display:flex;align-items:center;gap:14px}.rm-banner h1{font-size:1.45rem;line-height:1.4;margin:1px 0 0;color:white}.rm-banner small{color:#dce7ff;font-size:.77rem}
.rm-banner button{width:38px;height:38px;border:1px solid #9fb6f1;border-radius:5px;color:white;background:transparent;font:inherit;font-size:1.1rem;cursor:pointer}
.rm-reserved{flex:none;align-self:center;display:flex;flex-direction:column;align-items:center;gap:0;max-width:460px;padding:clamp(30px,9vh,86px) 18px;text-align:center}
.rm-reserved-mark{display:grid;place-content:center;width:58px;height:58px;background:#f2f6ff;border:1px solid #cad9fa;color:#335ccf;font:500 1.24rem var(--font-mono,monospace)}
.rm-reserved p{margin:17px 0 4px;color:#687da8;font:500 .72rem/1.4 var(--font-mono,monospace);letter-spacing:.12em}.rm-reserved h2{margin:0;font-size:1.36rem;color:#224795;font-weight:600}
.rm-reserved>span{font-size:.9rem;color:#546d94;line-height:1.7;margin:9px 0 16px}
.rm-reserved button{min-height:36px;border:1px solid #cbdafb;border-radius:6px;background:#fff;color:#244bd0;cursor:pointer;font:inherit;font-size:.87rem;padding:5px 13px}
@container restaurant-map (max-width:700px){
 .rm-head{display:block;inset:18px 16px auto}.rm-head h1{font-size:26px}.rm-head p{margin:3px 0 12px}
 .rm-toolbar{gap:6px}.rm-toolbar>span,.rm-toolbar select{min-height:34px;font-size:.82rem}
 .rm-foot{inset:auto 12px 13px;flex-wrap:wrap;justify-content:flex-end;gap:6px}.rm-foot>span{margin-right:auto}.rm-camera{gap:2px;padding:3px 5px}
 .rm-banner{padding:12px}.rm-banner>div{gap:6px}.rm-banner .island-floor-switch select{min-height:34px}
}
@container restaurant-map (max-width:330px){.rm-foot>span{display:none}.rm-foot{justify-content:center}.rm-camera button{min-width:23px}}

.rm-reserved button:focus-visible{outline:2px solid #234fda;outline-offset:3px}
