/* /Components/Admin/AdminHome.razor.rz.scp.css */
/* Admin console — only the interactive chips specific to the Offices table live here now; the card, table,
   heading and notice primitives moved to the global design system (.admin-* / .ot-* in tokens.css). */

.office-chip[b-smy56s6a3g] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ot-light);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-pill);
    padding: 2px 3px 2px 10px;
    margin: 2px 6px 2px 0;
    font-size: var(--ot-fs-cap);
    white-space: nowrap;
}

.office-name[b-smy56s6a3g] {
    font-weight: var(--ot-fw-semibold);
}

/* A pill showing the person's role in that office; clicking it flips Owner⇄Member. Tooltip names the action. */
.office-role[b-smy56s6a3g] {
    border: 1px solid transparent;
    border-radius: var(--ot-radius-pill);
    padding: 2px 9px;
    font-size: var(--ot-fs-eyebrow);
    font-weight: var(--ot-fw-bold);
    font-family: inherit;
    cursor: pointer;
}

.office-role.owner[b-smy56s6a3g] {
    background: var(--ot-teal-lite);
    color: var(--ot-teal-dark);
}

.office-role.member[b-smy56s6a3g] {
    background: var(--ot-white);
    border-color: var(--ot-border);
    color: var(--ot-text-mid);
}

.office-role:hover:not(:disabled)[b-smy56s6a3g] {
    outline: 1px solid var(--ot-teal);
}

.office-role:disabled[b-smy56s6a3g] {
    opacity: .5;
    cursor: default;
}

/* A per-office feature toggle in the Offices table; green = on, grey = off. Clicking flips it. */
.feature-chip[b-smy56s6a3g] {
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius-pill);
    padding: 3px 10px;
    margin: 2px 6px 2px 0;
    font-size: var(--ot-fs-eyebrow);
    font-weight: var(--ot-fw-bold);
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.feature-chip.on[b-smy56s6a3g] {
    background: var(--ot-mint-lite);
    color: var(--ot-teal-dark);
    border-color: var(--ot-mint-lite);
}

.feature-chip.off[b-smy56s6a3g] {
    background: var(--ot-white);
    color: var(--ot-text-mid);
}

.feature-chip:hover:not(:disabled)[b-smy56s6a3g] {
    outline: 1px solid var(--ot-teal);
}

.feature-chip:disabled[b-smy56s6a3g] {
    opacity: .5;
    cursor: default;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-5kc1xgrq32] {
    color-scheme: light only;
    background: var(--ot-amber-lite);
    border-top: 1px solid var(--ot-amber-border);
    color: var(--ot-amber-dark);
    font-size: var(--ot-fs-sm);
    bottom: 0;
    box-shadow: var(--ot-shadow-lg);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.7rem 1.5rem 0.75rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .reload[b-5kc1xgrq32] {
        color: var(--ot-amber-dark);
        font-weight: var(--ot-fw-bold);
        text-decoration: underline;
    }

    #blazor-error-ui .dismiss[b-5kc1xgrq32] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0.55rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-dgxwtei5dv],
.components-reconnect-repeated-attempt-visible[b-dgxwtei5dv],
.components-reconnect-failed-visible[b-dgxwtei5dv],
.components-pause-visible[b-dgxwtei5dv],
.components-resume-failed-visible[b-dgxwtei5dv],
.components-rejoining-animation[b-dgxwtei5dv] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-dgxwtei5dv],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-dgxwtei5dv],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-dgxwtei5dv],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-dgxwtei5dv],
#components-reconnect-modal.components-reconnect-retrying[b-dgxwtei5dv],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-dgxwtei5dv],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-dgxwtei5dv],
#components-reconnect-modal.components-reconnect-failed[b-dgxwtei5dv],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-dgxwtei5dv] {
    display: block;
}


#components-reconnect-modal[b-dgxwtei5dv] {
    background-color: var(--ot-white);
    color: var(--ot-text);
    font-family: var(--ot-font);
    font-size: var(--ot-fs-body);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    box-shadow: var(--ot-shadow-lg);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-dgxwtei5dv 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-dgxwtei5dv 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-dgxwtei5dv 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-dgxwtei5dv]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-dgxwtei5dv 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-dgxwtei5dv {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-dgxwtei5dv {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-dgxwtei5dv {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-dgxwtei5dv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-dgxwtei5dv] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-dgxwtei5dv] {
    border: 0;
    background-color: var(--ot-teal);
    color: var(--ot-white);
    font-family: inherit;
    font-size: var(--ot-fs-cap);
    font-weight: var(--ot-fw-semibold);
    padding: 8px 20px;
    border-radius: var(--ot-radius-sm);
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-dgxwtei5dv] {
        background-color: var(--ot-teal-dark);
    }

    #components-reconnect-modal button:active[b-dgxwtei5dv] {
        background-color: var(--ot-teal-dark);
    }

.components-rejoining-animation[b-dgxwtei5dv] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-dgxwtei5dv] {
        position: absolute;
        border: 3px solid var(--ot-teal);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-dgxwtei5dv 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-dgxwtei5dv] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-dgxwtei5dv {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Boardroom.razor.rz.scp.css */
/* The Boardroom — @@mention-first multi-employee threads (P2-08). Same bubble/compose shape as the Desk's
   `.desk-*` rules, on the same design tokens; kept as its own component-scoped `.boardroom-*` set (Blazor CSS
   isolation keeps the two from colliding) because a Boardroom turn carries an author label and a room can hold
   more than one avatar where a Desk never does. */

.boardroom[b-z6g6x36tdn] { display: flex; flex-direction: column; gap: var(--ot-space-4); }

.boardroom-head[b-z6g6x36tdn] { display: flex; align-items: center; gap: var(--ot-space-5); }
.boardroom-back[b-z6g6x36tdn] { display: inline-flex; align-items: center; gap: 4px; color: var(--ot-text-mid);
  text-decoration: none; font-size: var(--ot-fs-cap); font-weight: var(--ot-fw-semibold);
  padding: 6px 10px; border-radius: var(--ot-radius-sm); transition: background .15s var(--ot-ease), color .15s var(--ot-ease); }
.boardroom-back:hover[b-z6g6x36tdn] { background: var(--ot-n-50); color: var(--ot-text); }
.boardroom-back .ot-ico[b-z6g6x36tdn] { flex: 0 0 16px; width: 16px; height: 16px; }
.boardroom-who[b-z6g6x36tdn] { display: flex; align-items: center; gap: var(--ot-space-3); }
.boardroom-who .avatar.sm[b-z6g6x36tdn] { width: 28px; height: 28px; font-size: var(--ot-fs-cap); margin-left: -8px; border: 2px solid var(--ot-white); }
.boardroom-who .avatar.sm:first-child[b-z6g6x36tdn] { margin-left: 0; }

/* The room list on /boardroom. */
.boardroom-list[b-z6g6x36tdn] { display: flex; flex-direction: column; gap: var(--ot-space-2); }
.boardroom-list-row[b-z6g6x36tdn] { display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  border: 1px solid var(--ot-border); border-radius: var(--ot-radius); padding: 10px 14px;
  background: var(--ot-white); transition: background .15s var(--ot-ease); }
.boardroom-list-row:hover[b-z6g6x36tdn] { background: var(--ot-n-50); }
.boardroom-list-title[b-z6g6x36tdn] { font-weight: var(--ot-fw-semibold); font-size: var(--ot-fs-body); color: var(--ot-text); }
.boardroom-list-meta[b-z6g6x36tdn] { font-size: var(--ot-fs-cap); color: var(--ot-text-mid); }

.boardroom-new[b-z6g6x36tdn] { border: 1px solid var(--ot-border); border-radius: var(--ot-radius); background: var(--ot-n-25);
  padding: var(--ot-space-4); display: flex; flex-direction: column; gap: var(--ot-space-3); }
.boardroom-picker[b-z6g6x36tdn] { display: flex; flex-wrap: wrap; gap: var(--ot-space-2); }
.boardroom-picker-chip[b-z6g6x36tdn] { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ot-border-strong);
  border-radius: var(--ot-radius-pill); padding: 6px 12px; font-size: var(--ot-fs-cap); font-weight: var(--ot-fw-semibold);
  color: var(--ot-text-mid); cursor: pointer; background: var(--ot-white); transition: background .15s var(--ot-ease), color .15s var(--ot-ease), border-color .15s var(--ot-ease); }
.boardroom-picker-chip.on[b-z6g6x36tdn] { background: var(--ot-teal-050); border-color: var(--ot-teal-lite); color: var(--ot-teal-dark); }
.boardroom-picker-chip input[b-z6g6x36tdn] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.boardroom-thread[b-z6g6x36tdn] { display: flex; flex-direction: column; gap: var(--ot-space-3);
  max-height: 62vh; overflow-y: auto; padding: var(--ot-space-4);
  background: var(--ot-n-25); border: 1px solid var(--ot-border); border-radius: var(--ot-radius); }

.boardroom-hello[b-z6g6x36tdn] { text-align: center; color: var(--ot-text-mid); font-size: var(--ot-fs-cap);
  max-width: 48ch; margin: var(--ot-space-5) auto; line-height: var(--ot-lh-snug); }

.boardroom-turn[b-z6g6x36tdn] { display: flex; }
.boardroom-turn.mine[b-z6g6x36tdn] { justify-content: flex-end; }
.boardroom-turn.theirs[b-z6g6x36tdn] { justify-content: flex-start; }

.boardroom-col[b-z6g6x36tdn] { display: flex; flex-direction: column; gap: 3px; max-width: 76%; min-width: 0; }
.boardroom-turn.mine .boardroom-col[b-z6g6x36tdn] { align-items: flex-end; }
.boardroom-turn.theirs .boardroom-col[b-z6g6x36tdn] { align-items: flex-start; }

/* The author label — the whole point of a multi-employee thread: every turn says WHO, not just which side. */
.boardroom-author[b-z6g6x36tdn] { font-size: var(--ot-fs-eyebrow); font-weight: var(--ot-fw-semibold); color: var(--ot-text-mid);
  padding: 0 4px; }

.boardroom-bubble[b-z6g6x36tdn] { max-width: 100%; padding: 10px 14px; border-radius: var(--ot-radius-lg);
  font-size: var(--ot-fs-body); line-height: var(--ot-lh-body); box-shadow: var(--ot-shadow-xs); }
.boardroom-turn.mine .boardroom-bubble[b-z6g6x36tdn] { background: var(--ot-teal); color: var(--ot-white);
  border-bottom-right-radius: var(--ot-radius-xs); }
.boardroom-turn.theirs .boardroom-bubble[b-z6g6x36tdn] { background: var(--ot-white); color: var(--ot-text);
  border: 1px solid var(--ot-border); border-bottom-left-radius: var(--ot-radius-xs); }
.boardroom-body[b-z6g6x36tdn] { white-space: pre-wrap; overflow-wrap: anywhere; }

/* The visible hand-off (S5): "Elliot asked Sana to take this". */
.boardroom-handoff-chip[b-z6g6x36tdn] { display: inline-flex; align-items: center; gap: 4px; font-size: var(--ot-fs-eyebrow);
  font-weight: var(--ot-fw-semibold); color: var(--ot-teal-dark); background: var(--ot-teal-050);
  border: 1px solid var(--ot-teal-lite); border-radius: var(--ot-radius-pill); padding: 3px 10px; }

.boardroom-time[b-z6g6x36tdn] { font-size: var(--ot-fs-eyebrow); color: var(--ot-mid); font-variant-numeric: tabular-nums; padding: 0 4px; }

.boardroom-progress[b-z6g6x36tdn] { padding: 12px 16px; }

.boardroom-error[b-z6g6x36tdn] { display: flex; align-items: center; justify-content: space-between; gap: var(--ot-space-3); margin: 0; }

.boardroom-compose[b-z6g6x36tdn] { display: flex; flex-direction: column; gap: var(--ot-space-2); }

/* The @@mention affordance: a row of colleague chips above the compose bar. Clicking one inserts "@@Name " —
   simpler and more robust than a live suggestion popover, and the parser (BoardroomMentionParser) reads
   whatever ends up typed either way. */
.boardroom-mentions[b-z6g6x36tdn] { display: flex; flex-wrap: wrap; gap: 6px; }

.boardroom-compose-row[b-z6g6x36tdn] { display: flex; align-items: flex-end; gap: var(--ot-space-2); }
.boardroom-input[b-z6g6x36tdn] { flex: 1 1 auto; resize: none; min-height: 40px; max-height: 160px; box-sizing: border-box;
  font: inherit; font-size: var(--ot-fs-body); color: var(--ot-text); background: var(--ot-white);
  border: 1px solid var(--ot-border-strong); border-radius: var(--ot-radius-sm); padding: 9px 12px;
  line-height: var(--ot-lh-snug); transition: border-color .15s var(--ot-ease), box-shadow .15s var(--ot-ease); }
.boardroom-input[b-z6g6x36tdn]::placeholder { color: var(--ot-n-400); }
.boardroom-input:focus[b-z6g6x36tdn] { outline: none; border-color: var(--ot-teal); box-shadow: var(--ot-ring); }
.boardroom-send[b-z6g6x36tdn] { flex: 0 0 auto; min-height: 40px; }

.boardroom-hint[b-z6g6x36tdn] { margin: 0; font-size: var(--ot-fs-cap); color: var(--ot-amber-dark); }
/* /Components/Pages/Desk.razor.rz.scp.css */
/* The Desk — the owner's 1:1 chat with one employee (chat slice 2). Bubbles, a scrolling thread, and a
   compose bar, all on the shared design tokens. Distinct from the Floor's `.desk` staff card; these
   `.desk-*` rules are component-scoped, so they never touch it. */

/* The Desk is a chat page, so it fills the viewport EXACTLY: the page never scrolls, the thread does.
   Before this, the thread's max-height was a 62vh guess about how much room the rest of the page leaves,
   and on a short viewport the guess was wrong — the document scrolled 77px around a thread that already
   scrolls internally, a double scrollbar with the compose bar half off-screen (founder report, #267).
   The column's height comes from the layout (tokens.css pins .ot-shell:has(.desk-chat) to the viewport
   and flexes .ot-main), so the mobile bar and the allowance banner are accounted for by construction —
   this file never states a chrome height it doesn't own (review). */
.desk-chat[b-lpbjcwqztk] { display: flex; flex-direction: column; gap: var(--ot-space-4); flex: 1 1 0; min-height: 0; }
/* Fixed rows keep their natural height — only the thread flexes. Without this, flex-shrink's default
   would let the head or compose bar compress before the thread gives up a pixel. */
.desk-chat > *[b-lpbjcwqztk] { flex: 0 0 auto; }

.desk-head[b-lpbjcwqztk] { display: flex; align-items: center; gap: var(--ot-space-5); }
.desk-back[b-lpbjcwqztk] { display: inline-flex; align-items: center; gap: 4px; color: var(--ot-text-mid);
  text-decoration: none; font-size: var(--ot-fs-cap); font-weight: var(--ot-fw-semibold);
  padding: 6px 10px; border-radius: var(--ot-radius-sm); transition: background .15s var(--ot-ease), color .15s var(--ot-ease); }
.desk-back:hover[b-lpbjcwqztk] { background: var(--ot-n-50); color: var(--ot-text); }
.desk-back .ot-ico[b-lpbjcwqztk] { flex: 0 0 16px; width: 16px; height: 16px; }
.desk-who[b-lpbjcwqztk] { display: flex; align-items: center; gap: var(--ot-space-3); }
.desk-head-actions[b-lpbjcwqztk] { margin-left: auto; display: flex; align-items: center; gap: var(--ot-space-2); }

/* Thread history — past conversations with this employee, to rejoin, rename or delete. A quiet panel below the
   head, in the same register as the "About" card: context around the conversation, not the conversation itself. */
.desk-history[b-lpbjcwqztk] { border: 1px solid var(--ot-border); border-radius: var(--ot-radius); background: var(--ot-n-25);
  padding: var(--ot-space-3) var(--ot-space-4);
  /* A long conversation list shrinks and scrolls INSIDE its panel rather than pushing the compose bar
     off-screen — the one optional block tall enough to threaten the column (review, #268). */
  flex: 0 1 auto; min-height: 56px; overflow-y: auto; }
.desk-history-head[b-lpbjcwqztk] { font-size: var(--ot-fs-cap); font-weight: var(--ot-fw-semibold); color: var(--ot-text-mid);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--ot-space-2); }
.desk-history-row[b-lpbjcwqztk] { display: flex; align-items: center; gap: var(--ot-space-2); padding: var(--ot-space-2) 0;
  border-top: 1px solid var(--ot-border); }
.desk-history-row:first-of-type[b-lpbjcwqztk] { border-top: 0; }
.desk-history-open[b-lpbjcwqztk] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; text-align: left;
  border: none; background: transparent; cursor: pointer; padding: 4px 6px; border-radius: var(--ot-radius-sm); }
.desk-history-open:hover[b-lpbjcwqztk] { background: var(--ot-n-50); }
.desk-history-title[b-lpbjcwqztk] { font-weight: var(--ot-fw-semibold); font-size: var(--ot-fs-sm); color: var(--ot-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-history-row.current .desk-history-title[b-lpbjcwqztk] { color: var(--ot-teal-dark); }
.desk-history-meta[b-lpbjcwqztk] { font-size: var(--ot-fs-eyebrow); color: var(--ot-mid); font-variant-numeric: tabular-nums; }

/* "About" — which Out-tray item this chat was opened from. Same inset-quotation treatment as the tray's
   `.ot-source`: quieter than the conversation, because it is the context, not the thing being decided. */
.desk-about[b-lpbjcwqztk] { border-left: 3px solid var(--ot-border-strong); background: var(--ot-n-25);
  border-radius: 0 var(--ot-radius-sm) var(--ot-radius-sm) 0; padding: 10px 14px; }
.desk-about-head[b-lpbjcwqztk] { display: flex; align-items: baseline; gap: var(--ot-space-3); flex-wrap: wrap; }
.desk-about-type[b-lpbjcwqztk] { font-weight: var(--ot-fw-semibold); font-size: var(--ot-fs-sm); color: var(--ot-n-900); }
.desk-about-link[b-lpbjcwqztk] { margin-left: auto; font-size: var(--ot-fs-cap); font-weight: var(--ot-fw-semibold);
  color: var(--ot-text-mid); text-decoration: none; }
.desk-about-link:hover[b-lpbjcwqztk] { color: var(--ot-text); text-decoration: underline; }
.desk-about-x[b-lpbjcwqztk] { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  border: none; background: transparent; color: var(--ot-text-mid); cursor: pointer; border-radius: 50%; font-size: 11px; }
.desk-about-x:hover[b-lpbjcwqztk] { background: var(--ot-n-50); color: var(--ot-text); }
/* The full item, wrapped and line-break-preserving like the tray's `.ot-preview` — the owner sees the same
   thing on both screens. Height-capped with an internal scroll so a long email body stays a context header
   above the conversation instead of pushing it off-screen. */
.desk-about-preview[b-lpbjcwqztk] { margin-top: 2px; font-size: var(--ot-fs-cap); line-height: var(--ot-lh-body);
  color: var(--ot-text-mid); white-space: pre-wrap; overflow-wrap: anywhere;
  max-height: 30vh; overflow-y: auto; }
/* It is a focusable scroll region (tabindex="0") so keyboard users can reach the overflow — give it the same
   ring every other focusable control on this page uses, on :focus-visible only (no ring on a mouse click). */
.desk-about-preview:focus-visible[b-lpbjcwqztk] { outline: none; box-shadow: var(--ot-ring); }

.desk-thread[b-lpbjcwqztk] { display: flex; flex-direction: column; gap: var(--ot-space-3);
  flex: 1 1 0; min-height: 160px; overflow-y: auto; padding: var(--ot-space-4);
  background: var(--ot-n-25); border: 1px solid var(--ot-border); border-radius: var(--ot-radius); }

.desk-hello[b-lpbjcwqztk] { text-align: center; color: var(--ot-text-mid); font-size: var(--ot-fs-cap);
  max-width: 48ch; margin: var(--ot-space-5) auto; line-height: var(--ot-lh-snug); }

.desk-turn[b-lpbjcwqztk] { display: flex; }
.desk-turn.mine[b-lpbjcwqztk] { justify-content: flex-end; }
.desk-turn.theirs[b-lpbjcwqztk] { justify-content: flex-start; }

/* A turn stacks its bubble, any draft, and the small time, aligned to the turn's side. The max width lives HERE
   now (not on the bubble), so the time and any draft line up with the bubble's edge. */
.desk-col[b-lpbjcwqztk] { display: flex; flex-direction: column; gap: 3px; max-width: 76%; min-width: 0; }
.desk-turn.mine .desk-col[b-lpbjcwqztk] { align-items: flex-end; }
.desk-turn.theirs .desk-col[b-lpbjcwqztk] { align-items: flex-start; }

.desk-bubble[b-lpbjcwqztk] { max-width: 100%; padding: 10px 14px; border-radius: var(--ot-radius-lg);
  font-size: var(--ot-fs-body); line-height: var(--ot-lh-body); box-shadow: var(--ot-shadow-xs); }

/* The turn's timestamp — office-local, rewritten client-side (.ot-officetime). Quiet and tabular so a column of
   times reads cleanly; nudged just inside the bubble's edge. */
.desk-time[b-lpbjcwqztk] { font-size: var(--ot-fs-eyebrow); color: var(--ot-mid); font-variant-numeric: tabular-nums; padding: 0 4px; }
.desk-turn.mine .desk-bubble[b-lpbjcwqztk] { background: var(--ot-teal); color: var(--ot-white);
  border-bottom-right-radius: var(--ot-radius-xs); }
.desk-turn.theirs .desk-bubble[b-lpbjcwqztk] { background: var(--ot-white); color: var(--ot-text);
  border: 1px solid var(--ot-border); border-bottom-left-radius: var(--ot-radius-xs); }
.desk-body[b-lpbjcwqztk] { white-space: pre-wrap; overflow-wrap: anywhere; }

.desk-att[b-lpbjcwqztk] { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: var(--ot-fs-eyebrow); font-weight: var(--ot-fw-semibold);
  padding: 4px 8px; border-radius: var(--ot-radius-xs); }
.desk-att .ot-ico[b-lpbjcwqztk] { flex: 0 0 14px; width: 14px; height: 14px; stroke-width: 1.7; }
.desk-turn.mine .desk-att[b-lpbjcwqztk] { background: rgba(255,255,255,.18); color: var(--ot-white); }
.desk-turn.theirs .desk-att[b-lpbjcwqztk] { background: var(--ot-n-50); color: var(--ot-text-mid); }
.desk-turn.theirs .desk-att.failed[b-lpbjcwqztk] { background: var(--ot-danger-lite); color: var(--ot-danger-dark); }

.desk-progress[b-lpbjcwqztk] { padding: 12px 16px; }

.desk-error[b-lpbjcwqztk] { display: flex; align-items: center; justify-content: space-between; gap: var(--ot-space-3); margin: 0; }

.desk-compose[b-lpbjcwqztk] { display: flex; flex-direction: column; gap: var(--ot-space-2); }
.desk-staged[b-lpbjcwqztk] { display: flex; flex-wrap: wrap; gap: var(--ot-space-2); }
.desk-staged-chip[b-lpbjcwqztk] { display: inline-flex; align-items: center; gap: 6px; background: var(--ot-teal-050);
  border: 1px solid var(--ot-teal-lite); border-radius: var(--ot-radius-pill); padding: 4px 6px 4px 12px;
  font-size: var(--ot-fs-eyebrow); font-weight: var(--ot-fw-semibold); color: var(--ot-teal-dark); }
.desk-staged-name[b-lpbjcwqztk] { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-staged-x[b-lpbjcwqztk] { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  border: none; background: transparent; color: var(--ot-teal-dark); cursor: pointer; border-radius: 50%; font-size: 11px; }
.desk-staged-x:hover[b-lpbjcwqztk] { background: var(--ot-teal-lite); }
.desk-staged-x:disabled[b-lpbjcwqztk] { opacity: .5; cursor: default; }

.desk-compose-row[b-lpbjcwqztk] { display: flex; align-items: flex-end; gap: var(--ot-space-2); }

/* The real file input, visually hidden but kept in the DOM and focusable (so keyboard users can Tab to it and
   press Enter to open the picker). The .desk-attach <label> points at it; clicking the label opens the dialog
   as a direct browser gesture — the whole point of the Blazor Server fix. */
.desk-file-input[b-lpbjcwqztk] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.desk-attach[b-lpbjcwqztk] { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--ot-border-strong); background: var(--ot-white);
  color: var(--ot-text-mid); border-radius: var(--ot-radius-sm); cursor: pointer;
  transition: background .15s var(--ot-ease), color .15s var(--ot-ease), border-color .15s var(--ot-ease); }
.desk-attach:hover[b-lpbjcwqztk] { background: var(--ot-n-50); color: var(--ot-text); border-color: var(--ot-n-400); }
.desk-attach.is-disabled[b-lpbjcwqztk] { opacity: .5; pointer-events: none; }
.desk-file-input:focus-visible + .desk-attach[b-lpbjcwqztk] { outline: none; box-shadow: var(--ot-ring); }
.desk-attach .ot-ico[b-lpbjcwqztk] { flex: 0 0 18px; width: 18px; height: 18px; }

.desk-input[b-lpbjcwqztk] { flex: 1 1 auto; resize: vertical; min-height: 88px; max-height: 240px; box-sizing: border-box;
  font: inherit; font-size: var(--ot-fs-body); color: var(--ot-text); background: var(--ot-white);
  border: 1px solid var(--ot-border-strong); border-radius: var(--ot-radius-sm); padding: 9px 12px;
  line-height: var(--ot-lh-snug); transition: border-color .15s var(--ot-ease), box-shadow .15s var(--ot-ease); }
.desk-input[b-lpbjcwqztk]::placeholder { color: var(--ot-n-400); }
.desk-input:focus[b-lpbjcwqztk] { outline: none; border-color: var(--ot-teal); box-shadow: var(--ot-ring); }
.desk-send[b-lpbjcwqztk] { flex: 0 0 auto; min-height: 40px; }

.desk-enter-option[b-lpbjcwqztk] { align-self: flex-end; display: inline-flex; align-items: center; gap: 7px;
  color: var(--ot-text-mid); font-size: var(--ot-fs-cap); cursor: pointer; user-select: none; }
.desk-enter-option input[b-lpbjcwqztk] { margin: 0; accent-color: var(--ot-teal); }
.desk-enter-option input:focus-visible[b-lpbjcwqztk] { outline: none; box-shadow: var(--ot-ring); }
.desk-enter-option input:disabled[b-lpbjcwqztk] { cursor: default; opacity: .6; }
.desk-enter-help[b-lpbjcwqztk] { color: var(--ot-mid); }

.desk-hint[b-lpbjcwqztk] { margin: 0; font-size: var(--ot-fs-cap); color: var(--ot-amber-dark); }

/* An in-chat article draft, shown for review before it goes to the Out-tray (slice 3). */
.desk-draft[b-lpbjcwqztk] { margin-top: var(--ot-space-3); padding: 12px; border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius-md); background: var(--ot-n-25); }
.desk-draft-title[b-lpbjcwqztk] { font-weight: var(--ot-fw-semibold); font-size: var(--ot-fs-body); margin-bottom: var(--ot-space-2); }
.desk-draft-actions[b-lpbjcwqztk] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--ot-space-2); }
.desk-draft-sent[b-lpbjcwqztk] { font-size: var(--ot-fs-cap); color: var(--ot-mid); }
/* /Components/Pages/People.razor.rz.scp.css */
/* People page — only the invite-row primitives live here now; the table, card and notice moved to the global
   design system (.ot-table-wrap / .ot-table / .ot-notice), and the link input uses .ot-field .ot-field--mono. */

.invite-row[b-a353scrty8] {
    display: flex;
    align-items: center;
    gap: var(--ot-space-3);
    flex-wrap: wrap;
    margin: 0 0 var(--ot-space-3);
}

.invite-hint[b-a353scrty8] {
    color: var(--ot-text-mid);
    font-size: var(--ot-fs-cap);
}
/* /Components/Shared/ArticlePreview.razor.rz.scp.css */
.ot-article-preview[b-2h8lgdyygv] {
    display: block;
    width: 100%;
    height: 320px;
    max-height: 60vh;
    border: 1px solid var(--ot-border-strong);
    border-radius: var(--ot-radius-md);
    background: var(--ot-white);
}
/* /Components/Shared/ChatProgress.razor.rz.scp.css */
.chat-progress[b-lbxud4vu9u] {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--ot-n-600);
    font-size: .875rem;
    line-height: 1.4;
}

.chat-progress-name[b-lbxud4vu9u] {
    color: var(--ot-n-800);
    font-weight: 600;
}

.chat-progress-dots[b-lbxud4vu9u] {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.chat-progress-dots > span[b-lbxud4vu9u] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ot-n-400);
    animation: chat-progress-pulse-b-lbxud4vu9u 1.2s infinite ease-in-out;
}

.chat-progress-dots > span:nth-child(2)[b-lbxud4vu9u] { animation-delay: .2s; }
.chat-progress-dots > span:nth-child(3)[b-lbxud4vu9u] { animation-delay: .4s; }

@keyframes chat-progress-pulse-b-lbxud4vu9u {
    0%, 60%, 100% { opacity: .35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
    .chat-progress-dots > span[b-lbxud4vu9u] { animation: none; }
}
