.n4f-pcs {margin-block:1rem;}
.n4f-pcs button:not([hidden]) {display:inline-block;min-height:44px;padding:.58em 1.15em;border:2px solid #129cdf;border-radius:.45em;background:#106590;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.n4f-pcs button:focus-visible {outline:3px solid currentColor;outline-offset:3px}
.n4f-pcs button:disabled {cursor:progress;opacity:.8}
.n4f-pcs [data-msg]:empty,.n4f-pcs [data-counts]:empty {display:none}
.n4f-pcs [data-counts] {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.75rem;}
.n4f-pcs [data-counts]>div {display:grid;gap:.25em;padding:.8em 1em;border:1px solid currentColor;border-radius:.45em}
.n4f-pcs [data-counts] span {font-size:1.35em;font-weight:700}
.n4f-pcs [data-stations]:not(:empty){margin:1.5rem 0 1rem}
.n4f-map-head h4,.n4f-zone h5{font:inherit;font-weight:750;margin:.75em 0 .35em}
.n4f-map-head h4{font-size:1.18rem}.n4f-map-head p,.n4f-zone p{font-size:.95rem;line-height:1.5}
.n4f-map-head select{font:inherit;border:1px solid #8699aa;padding:.45em .7em;border-radius:.38em;max-width:100%}
.n4f-pcs .n4f-seat-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,8.5rem),1fr));gap:.45rem;padding:0;margin:.45rem 0 1rem;list-style:none}
.n4f-pcs .n4f-seat{display:grid;align-content:start;gap:.2rem;padding:.6rem;background:#15212c;color:#edf5fa;border:1px solid #526574;border-inline-start:4px solid #9caebc;border-radius:.4rem;line-height:1.2}
.n4f-seat strong{font-size:.94rem}.n4f-seat span,.n4f-seat small{font-size:.8rem}
.n4f-pcs .n4f-ready{border-inline-start-color:#61ddb0}.n4f-pcs .n4f-off{border-inline-start-color:#70bdd8}.n4f-pcs .n4f-busy{border-inline-start-color:#ff9b7c}.n4f-pcs .n4f-starting{border-inline-start-color:#f5d56a}
.n4f-map-head select:focus-visible{outline:3px solid #278cc4;outline-offset:3px}.n4f-partial{font-weight:bold}

.n4f-floor-jump,.n4f-floor-open {color:inherit;text-underline-offset:.22em}
.n4f-floor-jump {display:inline-flex;align-items:center;min-height:44px;gap:.4em;font-weight:650}
.n4f-floor {margin:2rem 0 0;padding-block-start:1.2rem;border-top:1px solid #607487;scroll-margin-top:5rem}
.n4f-floor h3 {margin:0;font-size:clamp(1.3rem,4vw,1.75rem)}
.n4f-floor p {margin:.5rem 0 1rem}
.n4f-floor-open {display:block;position:relative;max-width:64rem;overflow:hidden;border-radius:.6rem;background:#060d17;color:#fff}
.n4f-floor-open img {display:block;width:100%;height:auto}
.n4f-floor-open span {display:block;padding:.6rem .95rem;text-align:right;font-weight:700;text-decoration:underline}
.n4f-floor-jump:focus-visible,.n4f-floor :focus-visible {outline:3px solid #52bfff;outline-offset:2px}
.n4f-floor-dialog:not([open]) {display:none}
.n4f-floor-dialog[open] {position:fixed;inset:0;box-sizing:border-box;width:min(96vw,88rem);max-width:96vw;height:86vh;height:86dvh;max-height:95vh;max-height:95dvh;padding:0;margin:auto;display:flex;flex-direction:column;gap:0;color:#eef5fc;background:#0b1420;border:1px solid #526579;border-radius:.65rem;overflow:hidden}
.n4f-floor-dialog::backdrop {background:rgb(3 9 16 / .88)}
.n4f-floor-bar {display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;padding:.55rem .75rem;border-bottom:1px solid #3d5267}
.n4f-floor-bar strong {margin-inline-end:auto}
.n4f-floor-bar button:not([hidden]) {padding:.3rem .65rem;font-size:.9rem;min-height:44px}
.n4f-floor-view {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:#040912;align-content:safe center}
.n4f-floor-view img {display:block;margin:auto;width:100%;max-width:none;height:auto}
.n4f-floor-view.is-detail img {width:max(100%,1672px);max-width:none}
