/* The dock of a panel (panels.js): a page of the project in a frame at the
   side, full screen below 700px. Drawn from the theme's tokens, so it follows
   every theme and the dark mode. */
.panel-dock { position: fixed; z-index: 50; inset: 0 0 0 auto; width: min(480px, 100vw); display: flex; flex-direction: column; background: var(--surface); color: var(--text); border-left: var(--frame); box-shadow: var(--shadow-card); font-family: var(--font); }
.panel-dock[hidden], .panel-dock iframe[hidden] { display: none; }
.panel-dock-head { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--bar); color: var(--bar-text); border-bottom: var(--frame); }
.panel-dock-title { flex: 1; min-width: 0; margin: 0; font-size: var(--type-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-dock-out { color: inherit; font-size: var(--type-small); white-space: nowrap; }
.panel-dock-close { font: inherit; font-size: var(--type-small); color: inherit; background: none; border: 1px solid currentColor; border-radius: var(--radius); min-height: 36px; padding: 0 12px; cursor: pointer; }
.panel-dock-head :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.panel-dock-body { flex: 1; min-height: 0; }
.panel-dock iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--surface); }
@media (max-width: 699px) {
  .panel-dock { width: 100vw; border-left: 0; box-shadow: none; }
}

/* The label of a plugin before its views in the menu (panels.js), quieter
   than a link, which it is not. */
.panel-group { color: var(--text-quiet); font-size: var(--type-small); white-space: nowrap; }

/* The host messages at the top of the page (versions.js), in the look of
   the floor's doors when they need a person (.door.is-alert). */
/* Its width is the floor's; a page that sets its own (.wrap) keeps that. */
:where(.host-messages) { max-width: 1488px; padding: 0 24px; }
.host-messages { margin: 16px auto 0; display: grid; gap: 8px; font-family: var(--font); }
.host-messages[hidden] { display: none; }
.host-message { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; padding: 10px 16px; background: var(--accent); color: var(--text); border: var(--frame); border-radius: var(--radius); box-shadow: var(--shadow-sign); font-size: var(--type-body); overflow-wrap: anywhere; }
.host-message b { font-weight: 700; }
.host-message span { flex: 1 1 16em; min-width: 0; }
.host-message small { font-size: var(--type-small); }
.host-message a { color: inherit; min-height: 24px; }
.host-message a:hover { background: var(--accent-soft); }
.host-message a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 699px) {
  :where(.host-messages) { padding: 0 16px; }
}

/* A host's notes on a ticket: small chips beside its number or title. */
.host-notes { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: baseline; }
.host-note { display: inline-block; max-width: 100%; padding: 0 6px; font: 400 var(--type-small)/1.6 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-quiet); background: var(--surface-quiet); border: var(--frame); border-radius: var(--radius); overflow-wrap: anywhere; text-decoration: none; }
a.host-note { color: var(--text-cool); text-decoration: underline; text-underline-offset: 2px; }
a.host-note:hover { background: var(--accent-soft); color: var(--text); }
a.host-note:focus-visible { outline: var(--focus); outline-offset: 2px; }
