/*
 * SignoutRoom generated stylesheet: viewer.bundle.css
 * Purpose: Provides the shared artifact viewer application.
 * Authored entry: /public/pages/viewer/styles.css
 * Source-path comments, when present, identify the module that owns each section.
 * This file is generated; edit the authored module and rebuild instead.
 */
/* public/pages/viewer/styles.css */
:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  --bg: #f7f8fa;
  --panel: #ffffff;
  --ink: #172026;
  --muted: #5f6b74;
  --line: #d9e0e5;
  --teal: #117a74;
  --teal-strong: #0a5f5a;
  --amber: #b86d10;
  --blue: #2f6fbe;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}
button,
input {
  font: inherit;
}
.app {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}
.status {
  min-width: 82px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}
.status.online {
  border-color: rgba(17, 122, 116, 0.35);
  color: var(--teal-strong);
  background: rgba(17, 122, 116, 0.08);
}
.section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-title {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.artifact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.artifact {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 10px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.artifact:hover,
.artifact.active {
  border-color: rgba(17, 122, 116, 0.55);
  background: #f0f8f7;
}
.artifact-name {
  overflow-wrap: anywhere;
  font-weight: 700;
}
.artifact-meta {
  color: var(--muted);
  font-size: 12px;
}
.form {
  display: grid;
  gap: 8px;
}
.field-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.text-input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink);
  background: #ffffff;
}
.status-select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 7px 10px;
  font-weight: 800;
}
.artifact-status-select {
  max-width: 176px;
}
.artifact-status-select[hidden] {
  display: none;
}
.file-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px;
  background: var(--surface-control, #ffffff);
}
.button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.button.primary {
  background: var(--teal);
  color: #ffffff;
}
.button.primary:hover {
  background: var(--teal-strong);
}
.button.secondary {
  border-color: var(--line);
  background: var(--surface-control, #ffffff);
  color: var(--ink);
}
.button.secondary:hover {
  border-color: rgba(47, 111, 190, 0.45);
}
.button.danger {
  border-color: rgba(196, 68, 50, 0.4);
  background: #fff4f1;
  color: #9f2f20;
}
.button.danger:hover {
  border-color: rgba(196, 68, 50, 0.7);
  background: #ffe9e4;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-panel, #ffffff);
  padding: 10px 14px;
}
.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.current-name {
  overflow: hidden;
  max-width: 52vw;
  color: var(--ink);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.current-meta {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-control, #ffffff);
  padding: 7px 10px;
  color: var(--ink);
  font-weight: 700;
}
.toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}
.participant-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  max-width: 180px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-control, #ffffff);
  padding: 7px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.participant-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--blue);
}
.participant-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-control-inline {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  min-height: 38px;
  max-width: 300px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-control, #ffffff);
}
.board-owner-label {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  min-width: 84px;
  max-width: 160px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-control-button {
  min-width: 74px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 5px 5px 0;
  background: var(--surface-control, #ffffff);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.board-control-button:hover:not(:disabled) {
  background: var(--surface-hover, rgba(17, 122, 116, 0.09));
}
.board-control-button.active {
  background: var(--teal);
  color: #ffffff;
}
.board-control-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}
.board-request-inline {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  width: min(360px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-panel, #ffffff);
  box-shadow: var(--shadow-panel, 0 12px 30px rgba(23, 32, 38, 0.2));
  padding: 9px;
}
.board-request-inline[hidden] {
  display: none;
}
.board-request-text {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-request-inline .button {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 12px;
}
.board-present-button {
  min-height: 38px;
  white-space: nowrap;
}
.board-present-button.on-board {
  border-color: rgba(17, 122, 116, 0.55);
  background: rgba(17, 122, 116, 0.12);
  color: var(--teal-strong, #0d625d);
}
.tool-segment {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(74px, 1fr));
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-control, #ffffff);
}
.tool-button {
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface-control, #ffffff);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.tool-button:last-child {
  border-right: 0;
}
.tool-button.active {
  background: var(--teal);
  color: #ffffff;
}
.board-mode-segment {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-control, #ffffff);
}
.board-mode-segment[hidden] {
  display: none;
}
.board-mode-button {
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface-control, #ffffff);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.board-mode-button:last-child {
  border-right: 0;
}
.board-mode-button.active {
  background: var(--teal);
  color: #ffffff;
}
.review-export-button {
  min-height: 38px;
  margin-left: 2px;
  white-space: nowrap;
}
.review-export-button[hidden] {
  display: none;
}
.svs-view-controls {
  position: relative;
}
.svs-view-controls[hidden] {
  display: none;
}
.svs-view-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 10px;
  width: min(360px, 86vw);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-panel, #ffffff) 98%, transparent);
  box-shadow: 0 18px 48px rgba(23, 32, 38, 0.22);
  padding: 12px;
}
.svs-view-popover[hidden] {
  display: none;
}
.svs-view-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 8px;
}
.svs-view-row label,
.svs-view-toggle label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.svs-view-row input[type=range] {
  width: 100%;
  accent-color: var(--teal);
}
.svs-view-value {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}
.svs-view-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.svs-view-quick button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.svs-view-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.svs-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
}
.svs-view-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}
.annotation-panel[hidden] {
  display: none;
}
.annotation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.annotation-list-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
}
.annotation-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 9px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.annotation-item:hover,
.annotation-item.active {
  border-color: rgba(184, 109, 16, 0.6);
  background: #fff8ef;
}
.annotation-kind {
  min-width: 52px;
  border-radius: 999px;
  background: rgba(184, 109, 16, 0.12);
  padding: 3px 7px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.annotation-list-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.annotation-list-title {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.annotation-list-meta,
.annotation-list-comment {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.annotation-list-status {
  color: #117a74;
  font-weight: 800;
}
.session-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding-right: 2px;
}
.session-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
}
.session-event {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 9px;
  color: var(--ink);
  text-align: left;
}
.session-event.actionable {
  cursor: pointer;
}
.session-event.actionable:hover {
  border-color: rgba(47, 111, 190, 0.45);
  background: #f4f8ff;
}
.session-event-title {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.session-event-meta,
.session-event-detail {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.annotation-meta {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 12px;
}
.textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}
.viewer-wrap {
  position: relative;
  min-height: 0;
  background: #202326;
  --svs-filter: none;
}
#viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#viewer canvas,
#viewer .openseadragon-canvas img {
  filter: var(--svs-filter);
}
.viewer-wrap.generic #viewer {
  display: none;
}
.svs-scale-hud {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 12;
  display: grid;
  gap: 6px;
  min-width: 186px;
  border: 1px solid rgba(23, 32, 38, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(23, 32, 38, 0.16);
  padding: 9px 10px;
  pointer-events: none;
}
.svs-scale-hud[hidden] {
  display: none;
}
.svs-scale-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}
.svs-scale-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}
.svs-scale-bar-wrap {
  display: grid;
  gap: 3px;
}
.svs-scale-bar {
  height: 8px;
  border-right: 2px solid #172026;
  border-bottom: 3px solid #172026;
  border-left: 2px solid #172026;
}
.svs-scale-bar-label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}
.generic-viewer {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow: auto;
  padding: 28px;
  background:
    linear-gradient(
      135deg,
      rgba(17, 122, 116, 0.16),
      transparent 44%),
    #202326;
}
.generic-viewer[hidden] {
  display: none;
}
.generic-card {
  display: grid;
  gap: 16px;
  width: min(720px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(247, 250, 249, 0.96);
  padding: 22px;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}
.document-card {
  width: min(880px, 100%);
}
.document-preview-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #edf3f2;
  aspect-ratio: 8 / 3;
}
.document-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.generic-kind {
  color: var(--teal-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.generic-title {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 24px;
  line-height: 1.15;
}
.generic-meta {
  color: var(--muted);
  font-size: 13px;
}
.generic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.generic-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 800;
  text-decoration: none;
}
.generic-actions .primary-link {
  background: var(--teal);
  color: #ffffff;
}
.generic-actions .secondary-link {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}
.media-player {
  width: 100%;
  max-height: min(58vh, 520px);
  border-radius: 6px;
  background: #111416;
}
.media-sync {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f5f8f8;
  padding: 9px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.media-sync span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-loop.active {
  border-color: transparent;
  background: var(--teal);
  color: #ffffff;
}
.media-delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.media-mode {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 6px 8px;
  font-weight: 800;
}
.deck-card {
  width: min(880px, 100%);
}
.deck-stage {
  display: grid;
  gap: 12px;
}
.deck-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.deck-stage.pdf-stage {
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: start;
}
.deck-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111416;
  aspect-ratio: 16 / 9;
  max-height: min(50vh, 480px);
}
.deck-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.deck-frame.pdf-frame {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1b2023;
}
.deck-frame.pdf-frame.fit-viewer {
  overflow-y: auto;
}
.deck-frame.pdf-frame.fit-viewer .deck-image {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: contain;
}
.deck-frame.pdf-frame.full-page .deck-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.deck-side {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 10px;
}
.deck-side-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.deck-mode-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.deck-mode-button.active {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}
.deck-controls {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.deck-counter {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.deck-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(96px, 128px);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.deck-thumb {
  display: grid;
  gap: 5px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #ffffff;
  padding: 5px;
  color: var(--ink);
  cursor: pointer;
}
.deck-thumb.active {
  border-color: var(--teal);
}
.deck-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  background: #111416;
}
.deck-thumb span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
body.embedded.viewer-fullscreen .generic-viewer.powerpoint-viewer {
  align-items: stretch;
  justify-items: stretch;
  overflow: hidden;
  padding: 0;
  background: #111416;
}
body.embedded.viewer-fullscreen .powerpoint-viewer .generic-card.deck-card {
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #111416;
  box-shadow: none;
}
body.embedded.viewer-fullscreen .powerpoint-viewer .generic-kind,
body.embedded.viewer-fullscreen .powerpoint-viewer .generic-title,
body.embedded.viewer-fullscreen .powerpoint-viewer .generic-meta,
body.embedded.viewer-fullscreen .powerpoint-viewer .generic-actions,
body.embedded.viewer-fullscreen .powerpoint-viewer .deck-thumbs {
  display: none;
}
body.embedded.viewer-fullscreen .powerpoint-viewer .deck-stage,
body.embedded.viewer-fullscreen .powerpoint-viewer .deck-main {
  min-height: 0;
  height: 100%;
}
body.embedded.viewer-fullscreen .powerpoint-viewer .deck-main {
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
}
body.embedded.viewer-fullscreen .powerpoint-viewer .deck-frame {
  width: 100%;
  height: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
body.embedded.viewer-fullscreen .powerpoint-viewer .deck-image {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
}
body.embedded.viewer-fullscreen .powerpoint-viewer .deck-controls {
  min-height: 52px;
  padding: 8px 14px;
  background: #1b2023;
}
body.embedded.viewer-fullscreen .powerpoint-viewer .deck-counter {
  color: #d9e1e3;
}
@media (max-width: 900px) {
  .deck-stage.pdf-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .deck-side {
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
  }
}
.sheet-card {
  width: min(1120px, 100%);
}
.sheet-frame {
  display: block;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  max-height: min(58vh, 560px);
}
.sheet-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}
.sheet-table th,
.sheet-table td {
  min-width: 92px;
  max-width: 220px;
  border: 1px solid #dce3e7;
  padding: 7px 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-table th {
  background: #edf3f4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.sheet-table .sheet-row-heading {
  min-width: 46px;
  width: 46px;
  background: #edf3f4;
  color: var(--muted);
  text-align: right;
}
.sheet-table tbody tr:first-child td {
  background: #f7fbfa;
  font-weight: 800;
}
.sheet-empty {
  padding: 28px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}
.preview-note {
  border: 1px dashed rgba(184, 109, 16, 0.45);
  border-radius: 6px;
  background: rgba(184, 109, 16, 0.08);
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
}
.empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #dbe3e8;
  font-size: 15px;
  pointer-events: none;
}
.peer-cursor {
  position: absolute;
  z-index: 20;
  width: 11px;
  height: 11px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.peer-cursor.presentation-cursor {
  left: 0;
  top: 0;
}
.peer-cursor::after {
  content: attr(data-label);
  position: absolute;
  left: 12px;
  top: -8px;
  border-radius: 4px;
  background: rgba(23, 32, 38, 0.88);
  color: #ffffff;
  padding: 3px 5px;
  font-size: 11px;
  white-space: nowrap;
}
.marker {
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
}
.marker.selected {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}
.region-annotation {
  min-width: 10px;
  min-height: 10px;
  border: 3px solid var(--amber);
  background: rgba(184, 109, 16, 0.08);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
}
.region-annotation.selected {
  background: rgba(184, 109, 16, 0.16);
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
.region-annotation.draft {
  border-style: dashed;
  pointer-events: none;
}
.ping-marker {
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(17, 122, 116, 0.55);
  opacity: 0.95;
  pointer-events: none;
  animation: pingPulse 1.8s ease-out forwards;
}
@keyframes pingPulse {
  0% {
    transform: scale(0.55);
    box-shadow: 0 0 0 0 rgba(17, 122, 116, 0.55);
    opacity: 0.95;
  }
  70% {
    transform: scale(1.8);
    box-shadow: 0 0 0 18px rgba(17, 122, 116, 0);
    opacity: 0.55;
  }
  100% {
    transform: scale(2.1);
    box-shadow: 0 0 0 24px rgba(17, 122, 116, 0);
    opacity: 0;
  }
}
.toast {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
}
body.embedded .app {
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  height: 100vh;
  min-height: 100vh;
}
body.embedded .main {
  height: 100vh;
}
body.embedded .sidebar {
  display: flex;
  gap: 12px;
  min-width: 0;
  max-height: none;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  padding: 10px;
}
body.embedded .brand,
body.embedded .sidebar .section:nth-of-type(2),
body.embedded .sidebar .section:nth-of-type(3),
body.embedded .sidebar .section:nth-of-type(6) {
  display: none;
}
body.embedded .section {
  gap: 8px;
}
body.embedded .artifact,
body.embedded .annotation-item {
  border-radius: 6px;
  padding: 8px;
}
body.embedded .artifact-name,
body.embedded .annotation-list-title {
  font-size: 13px;
}
body.embedded .toolbar {
  flex-wrap: wrap;
  min-height: 52px;
}
body.embedded .toolbar-left {
  min-width: min(220px, 100%);
}
body.embedded .toolbar-right {
  flex-wrap: wrap;
  justify-content: flex-end;
}
body.embedded .current-name {
  max-width: 100%;
}
body.embedded .tool-segment {
  grid-template-columns: repeat(4, minmax(64px, 1fr));
}
body.embedded.education-focus .app {
  grid-template-columns: minmax(0, 1fr);
}
body.embedded.education-focus .sidebar,
body.embedded.education-focus .toolbar {
  display: none;
}
body.embedded.education-focus .main {
  grid-template-rows: minmax(0, 1fr);
}
@media (max-width: 480px) {
  body.embedded .app {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  body.embedded .sidebar {
    display: none;
  }
}
@media (max-width: 860px) {
  .app {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(560px, 1fr);
  }
  .sidebar {
    max-height: 42vh;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .toolbar-left,
  .toolbar-right {
    width: 100%;
    flex-wrap: wrap;
  }
  .current-name {
    max-width: 100%;
  }
}
