/* The hotel app: an admin's choice of account, her banner over the app, and the tabs not built yet. */

/* The admin's banner: black from edge to edge as the admin site's masthead, thinner, its line aligned with the page's. */
.as-bar { background: var(--ink); color: rgb(255 255 255 / 0.72); font-size: 13px; view-transition-name: as-bar; }
.as-bar-in { max-width: 1480px; height: 40px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 22px; }
.as-bar p { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-bar strong { margin: 0 4px; font-weight: 600; color: #fff; }
.as-bar .as-note { margin-left: 10px; color: #ff9d8a; }
.as-bar .link { color: #fff; border-bottom-color: #fff; }
.as-bar .seg { border-color: rgb(255 255 255 / 0.45); background: none; }
.as-bar .seg button { padding: 4px 9px; font-size: 12px; color: rgb(255 255 255 / 0.72); }
.as-bar .seg button + button { border-left-color: rgb(255 255 255 / 0.45); }
.as-bar .seg button:not(.is-on):hover { background: rgb(255 255 255 / 0.12); color: #fff; }
.as-bar .seg button.is-on { background: #fff; color: var(--ink); }
.as-bar.is-write .seg button.is-on { background: var(--bad); color: #fff; }

.as-pick { display: flex; align-items: end; gap: 12px; max-width: 760px; padding-top: 28px; border-top: 1px solid var(--ink); }
.as-pick .field { flex: 1; }
.as-pick select { width: 100%; }
.as-why { margin: 14px 0 0; font-size: 13px; }

.soon { max-width: 760px; padding: 28px 0 0; border-top: 1px solid var(--ink); }
.soon h2 { margin: 0; font: 700 32px/1.15 var(--serif); }
.soon p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.soon ul { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.soon li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* Today's and Housekeeping's: a move against the days before, a line of days, a check added to today's briefing. */
.delta { font: 600 14px/1 var(--sans); color: var(--muted); white-space: nowrap; }
.delta.is-worse { color: var(--bad); }
.delta.is-better { color: var(--ink); }
.line { display: block; overflow: visible; }
.line polyline { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.line circle { fill: var(--ink); }
.line circle.is-dot { fill: var(--electric); }
.line .base { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.line .mark { stroke: var(--electric); stroke-width: 1; stroke-dasharray: 2 3; }
.ends { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--faint); white-space: nowrap; }
.add { padding: 12px 18px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: 600 14px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease; }
.add:hover { background: var(--tint); }
.add.is-on { border-color: var(--electric); background: var(--electric); color: #fff; }
.add.is-on:hover { background: #0007d6; }
.add.is-dark { padding: 15px 22px; border-color: #fff; background: transparent; color: #fff; font-size: 15px; }
.add.is-dark:hover { background: rgb(255 255 255 / 0.1); }
.add.is-dark.is-on { border-color: var(--electric); background: var(--electric); }

/* Under the hotel's minimum: an admin sees it whole, marked; a manager wouldn't see it. */
.below { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: 0 0 30px; padding: 16px 20px; border: 1px solid var(--line); }
.below .swatch { align-self: stretch; min-height: 44px; background: var(--hatch); border: 1px solid #cfcfcf; }
.below p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.below strong { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .below { grid-template-columns: 28px minmax(0, 1fr); }
  .below .link { grid-column: 2; }
  .as-bar-in { flex-wrap: wrap; height: auto; gap: 8px 18px; padding-top: 8px; padding-bottom: 8px; }
  .as-bar p { flex-basis: 100%; }
  .as-pick { flex-direction: column; align-items: stretch; }
}
