/* The Concierge desk's own few rules. Everything else is the design kit (/kit/kit.css). */
/* Each screen's parts sit straight in the kit's page, so they take its spacing (24px between the heading, the filters
   and the content). */
.desk-page { display: contents; }
.desk-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.desk-filters .input { min-width: 200px; }
.desk-ticket { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .desk-ticket { grid-template-columns: minmax(0, 1fr); } }
.desk-reply { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.desk-reply textarea { width: 100%; min-height: 110px; resize: vertical; }
.desk-reply .row-actions { justify-content: space-between; }
.desk-side { display: flex; flex-direction: column; gap: 16px; }
.desk-side .input { width: 100%; }
.desk-history { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.desk-unread { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-deep); margin-right: 6px; vertical-align: middle; }
.desk-links { display: flex; flex-direction: column; gap: 8px; }
.desk-links .link-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px; align-items: center; }
@media (max-width: 560px) { .desk-links .link-row { grid-template-columns: minmax(0, 1fr); } }
.desk-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.desk-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
/* A long answer or summary is cut to one line in a list, so the other columns (topic, owner, last changed) stay in
   view (found 30 Nov 2026: the knowledge list's other columns had run off the right). */
.desk-cut { max-width: min(640px, 48vw); display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 640px) { .desk-cut { max-width: none; } }
/* The live side (1 December 2026): Live visitors, Live hours, Saved replies and My availability. */
.desk-narrow > * { max-width: 880px; }
.live-list, .reply-list, .ann-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.live-visitor { display: flex; flex-direction: column; gap: 10px; }
.live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-wash); }
.live-transcript { margin: 0; max-height: 9.5em; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; color: var(--ink-2); background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.hours-grid { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.hours-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 4px 0; border-bottom: 1px solid var(--line-2); }
.hours-row .switch-row { flex: 0 0 220px; }
.hours-times { display: inline-flex; align-items: center; gap: 8px; }
.hours-times .input { width: 128px; font-size: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 8px 0 12px; }
.ann-list { margin-top: 16px; }
.ann-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.ann-list p { margin: 0; }
.reply-open { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; width: 100%; cursor: pointer; min-height: 44px; }
.reply-open:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 8px; }
.reply-body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.shift-pick { display: inline-flex; align-items: center; gap: 8px; }
.shift-pick .input { min-height: 44px; font-size: 16px; padding-right: 32px; }
.shift-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.shift-dot.on_shift { background: var(--good); } .shift-dot.busy { background: var(--amber); } .shift-dot.away { background: var(--red); }
@media (max-width: 560px) { .hours-row .switch-row { flex-basis: 100%; } .shift-pick .input { max-width: 132px; } }
