/* The new look · the shell (nl-shell.css, class prefix nls-). Desktop masthead, the two slim rows under it, the room tabs,
   the desktop Waterfront screen and the footer. Spec: docs/new-look/mockups/gen.cjs (mast(), rooms(), prooms()) and
   pages/aaa-front.js. The quay itself and the phone's list are in waterfront.css; the phone header and bar are in phone.css.
   Flat color, 1.5px ink rules, square corners, no shadows or gradients. Linked after new-look.css and waterfront.css. */

/* every button in the shell resets what the old stylesheets give a .hos-places button (padding, border, hover fill) */
.hos-places .nls-mast button, .hos-places .nls-steps button, .hos-places .nls-wfs button, .hos-places .nls-foot button, .hos-places .nls-figs button {
  box-sizing: border-box; margin: 0; border-radius: 0; box-shadow: none; font-family: var(--nl-sans, system-ui, sans-serif); text-transform: none; cursor: pointer; }
.hos-places .nls-mast, .hos-places .nls-figs, .hos-places .nls-steps, .hos-places .nls-foot, .hos-places .nls-wfs { font-family: var(--nl-sans, system-ui, sans-serif); }
.nls-mast *, .nls-figs *, .nls-steps *, .nls-foot *, .nls-wfs * { box-sizing: border-box; }
.hos-places .nls-mast p, .hos-places .nls-wfs p, .hos-places .nls-foot p { margin: 0; }

/* ── the masthead ── */
.nls-mast { flex: none; background: var(--nl-ink, #0f2027); color: var(--nl-snow, #eef2f1); }
.nls-top { display: flex; align-items: center; gap: 22px; min-height: 52px; padding: 0 28px; border-bottom: 1px solid #2a454d; }
.nls-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.nls-crest { flex: none; color: var(--nl-snow, #eef2f1); }
.nls-brand b { font-weight: 700; letter-spacing: .2em; font-size: 15px; }
.nls-brand span { font-size: 13px; color: var(--nl-pale, #9db3b6); white-space: nowrap; }
.nls-stats { display: flex; gap: 30px; margin-left: auto; min-width: 0; }
.nls-stat { text-align: right; white-space: nowrap; }
.nls-stat-v { font-size: 17px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.nls-stat-l { font-size: 12px; line-height: 1.3; color: var(--nl-pale, #9db3b6); }
.nls-quiet { display: flex; gap: 8px; flex: none; }
.hos-places .nls-mast .nls-ghost { min-height: 44px; padding: 0 14px; border: 1px solid #3a5760; background: transparent; color: var(--nl-snow, #eef2f1); font-size: 13px; font-weight: 600; white-space: nowrap; text-align: center; }
.hos-places .nls-mast .nls-ghost:hover:not(:disabled) { background: #16313a; border-color: var(--nl-pale, #9db3b6); }
.hos-places .nls-mast button:focus-visible, .hos-places .nls-steps button:focus-visible, .hos-places .nls-foot button:focus-visible, .hos-places .nls-wfs button:focus-visible { outline: 2px solid var(--nl-sun, #f2c230); outline-offset: -2px; }
.nls-row2 { display: flex; align-items: stretch; }
.nls-end { flex: none; width: 250px; padding: 22px 28px 0 10px; }
.hos-places .nls-mast .nls-red { display: block; width: 100%; min-height: 52px; padding: 0 12px; border: 1.5px solid var(--nl-red, #c2371d); background: var(--nl-red, #c2371d); color: #fff; font-size: 16px; font-weight: 700; text-align: center; line-height: 1.15; }
.hos-places .nls-mast .nls-red:hover:not(:disabled) { background: #a82e17; border-color: #a82e17; }
.hos-places .nls-mast .nls-red:disabled { opacity: .55; cursor: not-allowed; }
.nls-end-l { margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--nl-pale, #9db3b6); }

/* ── slim row one: the other figures and the tickers, snow ── */
.nls-figs { flex: none; display: flex; align-items: center; gap: 22px; min-height: 40px; padding: 4px 28px; background: var(--nl-snow, #eef2f1); border-bottom: 1px solid var(--nl-rule, #b3bfbe); color: var(--nl-ink, #0f2027); }
.nls-figlist { display: flex; gap: 22px; margin: 0; padding: 0; flex: none; }
.nls-figlist div { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; }
.nls-figlist dt { font-family: var(--nl-mono, monospace); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--nl-dim, #44575c); }
.nls-figlist dd { margin: 0; font-family: var(--nl-mono, monospace); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nls-figs .tk-wrap { flex: 1 1 auto; min-width: 0; flex-direction: row; gap: 8px; width: auto; order: 0; }
.hos-places .nls-figs .tk-lane { flex: 1 1 0; min-width: 0; min-height: 28px; padding: 2px 8px; border: 1px solid var(--nl-rule, #b3bfbe); background: var(--nl-card, #fbfcfb); color: var(--nl-ink, #0f2027); font-size: 12px; border-radius: 0; }
.hos-places .nls-figs .tk-tag { font-family: var(--nl-mono, monospace); font-size: 12px; letter-spacing: .04em; color: var(--nl-fjord, #0e4f58); }

/* ── slim row two: the quarter's five steps as plain text links with their counts in mono, and the decisions left ── */
.nls-steps { flex: none; display: flex; align-items: stretch; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 28px; background: var(--nl-snow, #eef2f1); border-bottom: 1.5px solid var(--nl-ink, #0f2027); color: var(--nl-ink, #0f2027); }
.nls-stepl { display: flex; flex: 1 1 auto; gap: 4px; min-width: 0; }
.hos-places .nls-steps .nls-stepl button { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--nl-ink, #0f2027); text-align: left; line-height: 1.2; }
.hos-places .nls-steps .nls-stepl button:hover:not(:disabled) { background: transparent; border-bottom-color: var(--nl-rule, #b3bfbe); }
.hos-places .nls-steps .nls-stepl button.on { background: transparent; border-bottom-color: var(--nl-ink, #0f2027); }
.nls-steps b { flex: none; font-family: var(--nl-mono, monospace); font-size: 12px; font-weight: 600; color: var(--nl-dim, #44575c); }
.nls-steps button.on b { color: var(--nl-ink, #0f2027); }
.nls-steps button.done b, .nls-steps button.done small { color: var(--nl-fjord, #0e4f58); }
.nls-steps button.warn small { color: var(--nl-red, #c2371d); }
.nls-steps button > span { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.nls-sn { font-size: 15px; font-weight: 600; white-space: nowrap; }
.nls-steps small { font-family: var(--nl-mono, monospace); font-size: 12px; color: var(--nl-dim, #44575c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nls-allow { flex: none; display: flex; align-items: center; gap: 8px; font-family: var(--nl-mono, monospace); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--nl-dim, #44575c); }
.nls-allow i { font-style: normal; color: var(--nl-rule, #b3bfbe); }

.hos-places .nls-figlist dt, .hos-places .nls-figlist dd { letter-spacing: 0; }

/* ── the desktop Waterfront (the "Waterfront" board): a full ink page of outlined panels ── */
.nls-wfs { position: fixed; inset: 0; z-index: var(--ph-z-menu, 90); overflow-y: auto; background: var(--nl-ink, #0f2027); color: var(--nl-snow, #eef2f1); }
.nls-wfs-in { max-width: 1560px; margin: 0 auto; padding: 34px 40px 40px; }
.nls-wfs-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.hos-places .nls-wfs h1 { margin: 0; font-family: var(--nl-serif, Georgia, serif); font-size: 42px; line-height: 1.05; font-weight: 500; letter-spacing: -.01em; text-transform: none; color: var(--nl-snow, #eef2f1); }
.hos-places .nls-wfs-head p { flex: 1 1 420px; font-size: 16px; line-height: 1.4; color: var(--nl-pale, #9db3b6); }
.nls-wfs-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.nls-wfp { display: flex; flex-direction: column; min-height: 0; padding: 12px 14px; border: 1px solid #3a5860; }
.nls-wfp.lit { border-color: var(--nl-sun, #f2c230); }
.nls-wfp.unopened { border-style: dashed; }
.nls-wfp .wf-glyph { width: 92px; height: auto; }
.hos-places .nls-wfs .nls-wfp-name { display: block; align-self: flex-start; margin-top: 6px; padding: 0; min-height: 0; border: 0; background: none; color: var(--nl-snow, #eef2f1); font-weight: 700; font-size: 21px; line-height: 1.2; text-align: left; }
.hos-places .nls-wfs .nls-wfp.unopened .nls-wfp-name { color: var(--nl-snow, #eef2f1); }
.hos-places .nls-wfs .nls-wfp-name:hover:not(:disabled) { background: none; border: 0; text-decoration: underline; }
.nls-wfp-st { font-size: 14px; color: var(--nl-pale, #9db3b6); }
.nls-wfp-st.waiting { color: var(--nl-sun, #f2c230); font-weight: 700; }
.nls-wfp-rooms { list-style: none; margin: 10px 0 0; padding: 6px 0 0; border-top: 1px solid #2a454d; }
.nls-wfp-rooms li { margin: 0; padding: 0; }
.hos-places .nls-wfs .nls-wfp-rooms button { display: block; width: 100%; min-height: 36px; padding: 0; border: 0; background: none; color: #cfdcdd; font-size: 16px; line-height: 1.3; text-align: left; }
.hos-places .nls-wfs .nls-wfp-rooms button:hover:not(:disabled) { background: none; border: 0; color: var(--nl-snow, #eef2f1); text-decoration: underline; }
.nls-wfs-how { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--nl-snow, #eef2f1); background: var(--nl-snow, #eef2f1); color: var(--nl-ink, #0f2027); }
.nls-cap { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; color: var(--nl-dim, #44575c); }
.hos-places .nls-wfs-how p { font-size: 14px; line-height: 1.4; color: var(--nl-ink, #0f2027); }
.hos-places .nls-wfs .nls-btn { margin-top: auto; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--nl-ink, #0f2027); background: var(--nl-ink, #0f2027); color: var(--nl-snow, #eef2f1); font-size: 15px; font-weight: 600; text-align: center; }
.hos-places .nls-wfs .nls-btn:hover:not(:disabled) { background: #16313a; border-color: var(--nl-ink, #0f2027); }
@media (max-width: 1239px) { .nls-wfs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) { .nls-wfs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .nls-wfs-in { padding: 24px 24px 32px; } }

/* ── the footer: the press line and the way back to the desk (the old footer's controls, restyled) ── */
.nls-foot { flex: none; display: flex; align-items: center; gap: 16px; min-height: 40px; padding: 0 28px; background: var(--nl-ink, #0f2027); color: var(--nl-snow, #eef2f1); position: sticky; bottom: 0; z-index: 40; font-size: 14px; }
.nls-foot strong { font-family: var(--nl-mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: .13em; color: var(--nl-pale, #9db3b6); white-space: nowrap; }
.nls-foot > span { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hos-places .nls-foot button { min-height: 32px; padding: 0 14px; border: 1px solid #3a5760; background: transparent; color: var(--nl-snow, #eef2f1); font-size: 14px; font-weight: 600; white-space: nowrap; text-align: center; }
.hos-places .nls-foot button:hover:not(:disabled) { background: #16313a; border-color: var(--nl-pale, #9db3b6); }
.hos-places .nls-foot .nls-back { margin-left: auto; background: var(--nl-snow, #eef2f1); color: var(--nl-ink, #0f2027); border-color: var(--nl-snow, #eef2f1); }
.hos-places .nls-foot .nls-back:hover:not(:disabled) { background: #fff; border-color: #fff; }

/* ── narrower than the board ── */
@media (max-width: 1279px) { .nls-brand span { display: none; } .nls-stats { gap: 22px; } .nls-end { width: 190px; padding-left: 8px; padding-right: 16px; } .nls-top, .nls-figs, .nls-steps, .nls-foot { padding-left: 16px; padding-right: 16px; } .nls-top { gap: 16px; } }
@media (max-width: 1099px) { .nls-stat-v { font-size: 16px; } .nls-stats { gap: 16px; } .nls-end-l { font-size: 12px; } }
@media (max-width: 999px) {
  .nls-top { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .nls-row2 { flex-wrap: wrap; }
  .nls-quay { flex: 1 1 100%; }
  .nls-end { width: 100%; padding: 8px 16px 12px; display: flex; align-items: center; gap: 14px; }
  .hos-places .nls-mast .nls-red { width: 240px; flex: none; }
  .nls-end-l { margin-top: 0; }
  .nls-figs { flex-wrap: wrap; }
  .nls-steps { flex-wrap: wrap; padding-top: 4px; }
  .nls-stepl { flex: 1 1 100%; flex-wrap: wrap; }
  .nls-allow { padding: 2px 0 6px; }
  .nls-foot > span { display: none; }
}
@media (max-width: 999px) {
  .hos-places .nls-steps .nls-stepl button { min-height: 44px; }
  .nls-foot { min-height: 52px; } .hos-places .nls-foot button { min-height: 44px; }
  .hos-places .nls-figs .tk-lane { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .nls-mast *, .nls-wfs * { transition: none !important; } }
html.hos-phone .nls-mast, html.hos-phone .nls-figs, html.hos-phone .nls-steps, html.hos-phone .nls-foot { display: none; }
/* the sticky steps row and footer must never hide what scrolls into view (keyboard focus, anchors) */
html:not(.hos-phone) { scroll-padding: 56px 0 48px; }

/* ── the office strip (H.OfficeStrip, guide-view.js): one compact snow row of hairlines directly under the room tabs. It keeps
   NOW, what the office can do this quarter, the Authorise button and About this office; only its look changes ── */
.hos-places .hp-content .gd-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; margin: 0 0 16px; padding: 6px 0; border: 0; border-top: 1px solid var(--nl-rule, #b3bfbe); border-bottom: 1px solid var(--nl-rule, #b3bfbe); border-radius: 0; background: var(--nl-snow, #eef2f1); box-shadow: none; color: var(--nl-ink, #0f2027); }
.hos-places .hp-content .gd-strip > div { border: 0; padding: 0; min-width: 0; }
.hos-places .hp-content .gd-strip .gd-compact-now { display: flex; align-items: baseline; gap: 10px; flex: 1 1 280px; }
.hos-places .hp-content .gd-strip .gd-cap { display: flex; align-items: baseline; gap: 10px; flex: 2 1 380px; }
.hos-places .hp-content .gd-strip p { margin: 0; font-family: var(--nl-serif, Georgia, serif); font-size: 15px; line-height: 1.35; color: var(--nl-ink, #0f2027); }
.hos-places .hp-content .gd-strip .gd-strip-label { flex: none; font-family: var(--nl-mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--nl-dim, #44575c); }
.hos-places .hp-content .gd-strip small { color: var(--nl-dim, #44575c); }
.hos-places .hp-content .gd-strip button { box-sizing: border-box; min-height: 44px; border-radius: 0; box-shadow: none; font-family: var(--nl-sans, system-ui, sans-serif); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }
.hos-places .hp-content .gd-strip .gd-cap-btn { padding: 0 14px; border: 1.5px solid var(--nl-ink, #0f2027); background: transparent; color: var(--nl-ink, #0f2027); }
.hos-places .hp-content .gd-strip .gd-cap-btn:hover:not(:disabled) { background: var(--nl-card, #fbfcfb); }
.hos-places .hp-content .gd-strip .gd-cap-btn:disabled { opacity: .5; cursor: not-allowed; }
.hos-places .hp-content .gd-strip .gd-strip-toggle { margin-left: auto; padding: 0 4px; border: 0; background: transparent; color: var(--nl-fjord, #0e4f58); text-decoration: underline; text-underline-offset: 3px; }
.hos-places .hp-content .gd-strip button:focus-visible { outline: 2px solid var(--nl-sun, #f2c230); outline-offset: 2px; }
@media (max-width: 700px) { .hos-places .hp-content .gd-strip .gd-compact-now, .hos-places .hp-content .gd-strip .gd-cap { flex: 1 1 100%; flex-wrap: wrap; } }
.hos-places .hp-content .gd-strip p, .hos-places .hp-content .gd-strip .gd-compact-now p { overflow: visible; white-space: normal; text-overflow: clip; display: block; -webkit-line-clamp: unset; max-height: none; }
.hos-places .hp-content .gd-strip .gd-compact-now p, .hos-places .hp-content .gd-strip .gd-cap p { flex: 1 1 0; min-width: 0; }
@media (max-width: 700px) { .hos-places .hp-content .gd-strip .gd-cap { flex-direction: column; gap: 2px; } .hos-places .hp-content .gd-strip .gd-cap .gd-cap-btn { align-self: flex-start; margin-top: 6px; } }
.hos-places .hp-content .gd-strip .gd-compact-now p, .hos-places .hp-content .gd-strip .gd-cap p { flex: 1 1 180px; }
.hos-places .hp-content .gd-strip .gd-compact-now { flex: 1 1 280px; }
.hos-places .hp-content .gd-strip .gd-cap { flex: 2 1 460px; }
.hos-places .hp-content .gd-strip .gd-cap .gd-cap-btn { flex: none; }
@media (max-width: 1239px) { .nls-steps { flex-wrap: wrap; padding-top: 2px; } .nls-stepl { flex: 1 1 100%; flex-wrap: wrap; } .nls-allow { padding: 0 0 6px 12px; } .hos-places .nls-steps .nls-stepl button { padding: 0 10px; } }
@media (min-width: 1240px) { .nls-steps { position: sticky; top: 0; z-index: 40; } }
