:root {
  color-scheme: light dark;
  --accent: #0078d4;
  --accent-hover: #106ebe;
  --accent-pressed: #005a9e;
  --bg: #f3f2f1;
  --text: #323130;
  --muted: #605e5c;
  --border: #d2d0ce;
  --strong-border: #8a8886;
  --control: #ffffff;
  --control-hover: #f3f2f1;
  --control-pressed: #edebe9;
  --disabled-bg: #f3f2f1;
  --disabled-text: #a19f9d;
  --focus: #605e5c;
  --success: #107c10;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #2b9cff;
    --accent-hover: #4aaaff;
    --accent-pressed: #1988e6;
    --bg: #201f1e;
    --text: #f3f2f1;
    --muted: #c8c6c4;
    --border: #3b3a39;
    --strong-border: #8a8886;
    --control: #292827;
    --control-hover: #323130;
    --control-pressed: #3b3a39;
    --disabled-bg: #292827;
    --disabled-text: #8a8886;
    --focus: #c8c6c4;
    --success: #54b054;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.pane {
  min-width: 0;
  padding: 12px;
}

.addin-version {
  margin: 0 0 12px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.pane-view {
  display: grid;
  gap: 12px;
}

.pane-view[hidden] {
  display: none;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
}

.view-header {
  padding-bottom: 8px;
}

.intro {
  margin: 4px 0 0;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 4px;
}

label {
  font-weight: 600;
}

.field-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.info-tooltip-button {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.info-tooltip-button:hover,
.info-tooltip-button:focus-visible {
  color: var(--text);
  background: var(--control-hover);
  border-color: var(--focus);
}

.info-tooltip-content {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  left: 50%;
  width: min(240px, calc(100vw - 40px));
  padding: 8px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--strong-border);
  box-shadow: 0 4px 12px rgb(0 0 0 / 18%);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -2px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.info-tooltip:hover .info-tooltip-content,
.info-tooltip:focus-within .info-tooltip-content {
  opacity: 1;
  transform: translate(-50%, 0);
}

input,
select {
  width: 100%;
  min-height: 32px;
  padding: 5px 8px;
  color: var(--text);
  background: var(--control);
  border: 1px solid var(--strong-border);
  border-radius: 2px;
  font: inherit;
}

input[readonly] {
  background: var(--disabled-bg);
}

select {
  appearance: auto;
}

.speaker-picker {
  position: relative;
}

.speaker-picker-button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 7px 10px;
}

.speaker-picker-button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.speaker-picker-value,
.speaker-option-content,
.speaker-option {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.speaker-option-content {
  width: 100%;
}

.speaker-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.speaker-avatar {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  border: 2px solid var(--border);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-picker-list {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px;
  background: var(--control);
  border: 1px solid var(--strong-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.speaker-option {
  width: 100%;
  min-height: 36px;
  padding: 6px 8px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 2px;
  font: inherit;
  text-align: left;
  cursor: default;
}

.speaker-option:hover,
.speaker-option.focused {
  background: var(--control-hover);
}

.speaker-option[aria-selected="true"] {
  background: var(--control-pressed);
}

.speaker-option:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--focus);
}

button {
  min-height: 32px;
  padding: 4px 12px 5px;
  color: var(--text);
  background: var(--control);
  border: 1px solid var(--strong-border);
  border-radius: 2px;
  font: inherit;
  font-weight: 400;
  cursor: pointer;
}

button.primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

button:hover:not(:disabled) {
  background: var(--control-hover);
  border-color: var(--text);
}

button.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

button:active:not(:disabled) {
  color: var(--text);
  background: var(--control-pressed);
  border-color: var(--text);
}

button.primary:active:not(:disabled) {
  color: #ffffff;
  background: var(--accent-pressed);
  border-color: var(--accent-pressed);
}

button:disabled {
  cursor: default;
  color: var(--disabled-text);
  background: var(--disabled-bg);
  border-color: var(--border);
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: inset 0 0 0 1px var(--focus);
}

.speaker-picker-button:focus-visible {
  box-shadow: inset 0 0 0 1px var(--focus);
}

.share-speaker-picker {
  width: 100%;
}

.share-combobox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 32px;
  align-items: center;
  min-height: 40px;
  background: var(--control);
  border: 1px solid var(--strong-border);
}

.share-combobox:focus-within {
  border-color: var(--focus);
  box-shadow: inset 0 0 0 1px var(--focus);
}

.share-combobox-avatar {
  display: grid;
  place-items: center;
  padding-left: 8px;
}

.share-combobox-avatar[hidden] {
  display: none;
}

.share-speaker-input {
  min-height: 38px;
  padding: 5px 8px;
  background: transparent;
  border: 0;
}

.share-speaker-input:focus-visible {
  box-shadow: none;
}

.share-combobox-button {
  width: 32px;
  min-width: 32px;
  height: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
}

.share-combobox-button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.share-combobox-button:hover:not(:disabled) {
  background: var(--control-hover);
  border: 0;
}

.share-combobox-button:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--focus);
}

.share-speaker-shimmer .shimmer-row {
  min-height: 40px;
  background: var(--control);
  border: 1px solid var(--strong-border);
}

.command-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.status {
  min-height: 20px;
  margin-bottom: 0;
  color: var(--muted);
}

.status-panel,
.editor-section {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.editor-page {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.editor-pivot {
  display: flex;
  width: max-content;
  max-width: 100%;
  justify-content: start;
  align-items: end;
  gap: 6px;
  overflow: visible;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--border);
}

.pivot-button {
  position: relative;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
}

.pivot-button:hover:not(:disabled) {
  background: var(--control-hover);
  border-color: var(--border);
}

.pivot-button.selected {
  color: var(--accent);
  background: var(--control);
  border-color: var(--strong-border);
  font-weight: 600;
}

.pivot-button.selected::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: -7px;
  left: 7px;
  height: 2px;
  background: var(--accent);
}

fluent-tabs.editor-pivot::part(tablist) {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
}

fluent-tabs.editor-pivot::part(activeIndicator) {
  display: none;
}

#settingsTabButton {
  order: 1;
}

#sectionsTabButton {
  order: 2;
}

#speakersTabButton {
  order: 3;
}

#breaksTabButton {
  order: 4;
}

.pivot-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.pivot-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.pivot-icon-settings {
  mask-image: url("tab-settings.svg");
  -webkit-mask-image: url("tab-settings.svg");
}

.pivot-icon-sections {
  mask-image: url("tab-sections.svg");
  -webkit-mask-image: url("tab-sections.svg");
}

.pivot-icon-breaks {
  mask-image: url("tab-breaks.svg");
  -webkit-mask-image: url("tab-breaks.svg");
}

.pivot-icon-speakers {
  mask-image: url("tab-speakers.svg");
  -webkit-mask-image: url("tab-speakers.svg");
}

.available-time-row,
.time-summary div {
  display: grid;
  grid-template-columns: minmax(104px, 1fr) minmax(80px, 96px);
  align-items: center;
  gap: 12px;
  min-height: 32px;
}

.available-time-row input {
  min-width: 0;
}

.time-summary {
  display: grid;
  gap: 6px;
  margin: 6px 0 0;
}

.time-summary dt,
.available-time-row label {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
}

.time-summary dd {
  min-height: 32px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 5px 8px;
  background: var(--disabled-bg);
  border: 1px solid var(--border);
  font-weight: 400;
}

.warning {
  margin: 0;
  color: #b35c00;
  font-weight: 600;
}

.fluent-button {
  min-width: 72px;
}

.fluent-commandbar {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin-top: -4px;
  padding: 2px 0;
}

.commandbar-button {
  min-height: 32px;
}

.commandbar-icon,
.icon-button-glyph {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.commandbar-icon-add {
  margin-right: 6px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.5 2h1v5.5H14v1H8.5V14h-1V8.5H2v-1h5.5V2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.5 2h1v5.5H14v1H8.5V14h-1V8.5H2v-1h5.5V2z'/%3E%3C/svg%3E");
}

.editor-list {
  display: grid;
  gap: 12px;
}

.fluent-details-list.compact {
  gap: 0;
}

.shimmer-details-list {
  display: grid;
}

.shimmer-details-list[hidden] {
  display: none;
}

.shimmer-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--border);
}

.shimmer-row:last-child {
  border-bottom: 0;
}

.shimmer-row span {
  display: block;
  background: linear-gradient(90deg, var(--control) 0%, var(--control-hover) 45%, var(--control) 90%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.shimmer-row span:first-child {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.shimmer-row span:last-child {
  width: min(180px, 72%);
  height: 12px;
  border-radius: 2px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.editor-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--control);
  border: 1px solid var(--border);
}

.editor-item h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.row-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.row-commands.compact {
  padding-top: 0;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.break-details-row,
.section-details-row,
.speaker-details-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 4px 0 4px 8px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.break-details-row:hover,
.section-details-row:hover,
.speaker-details-row:hover {
  background: var(--control-hover);
}

.break-details-row:last-of-type,
.section-details-row:last-of-type,
.speaker-details-row:last-of-type {
  border-bottom: 0;
}

.break-list-summary,
.section-list-summary,
.speaker-list-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.break-list-text,
.section-list-text,
.speaker-list-text {
  min-width: 0;
}

.break-list-title,
.section-list-title,
.speaker-list-text h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.break-list-text p,
.section-list-text p,
.speaker-list-text p,
.speaker-edit-preview p,
.photo-status {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-color-dot {
  width: 12px;
  height: 28px;
  border: 1px solid var(--strong-border);
}

.break-marker {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.section-color-preview,
.speaker-color-dot,
.speaker-color-preview {
  width: 24px;
  height: 24px;
  border: 1px solid var(--strong-border);
}

.speaker-color-dot {
  border-radius: 50%;
}

.break-row-actions,
.section-row-actions,
.speaker-row-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 4px;
  opacity: 0;
  transition: opacity 120ms ease;
}

.break-details-row:hover .break-row-actions,
.break-details-row:focus-within .break-row-actions,
.section-details-row:hover .section-row-actions,
.section-details-row:focus-within .section-row-actions,
.speaker-details-row:hover .speaker-row-actions,
.speaker-details-row:focus-within .speaker-row-actions {
  opacity: 1;
}

.icon-button {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text);
  background: transparent;
  border-color: transparent;
}

.icon-button:hover:not(:disabled) {
  background: var(--control-hover);
  border-color: transparent;
}

.icon-button:active:not(:disabled) {
  background: var(--control-pressed);
  border-color: transparent;
}

.icon-button:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: inset 0 0 0 1px var(--focus);
}

.icon-button:disabled {
  color: var(--disabled-text);
}

.icon-button-edit .icon-button-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.02 1.98a1.75 1.75 0 0 1 2.48 2.47l-.87.88-2.47-2.48.86-.87zM9.46 3.55l2.47 2.47-6.88 6.89-2.86.9.9-2.86 6.37-7.4zM3.95 11.5l-.37 1.17 1.17-.37 6.47-6.47-1.17-1.17-6.1 6.84z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.02 1.98a1.75 1.75 0 0 1 2.48 2.47l-.87.88-2.47-2.48.86-.87zM9.46 3.55l2.47 2.47-6.88 6.89-2.86.9.9-2.86 6.37-7.4zM3.95 11.5l-.37 1.17 1.17-.37 6.47-6.47-1.17-1.17-6.1 6.84z'/%3E%3C/svg%3E");
}

.icon-button-delete .icon-button-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2h3l.5 1H13v1H3V3h3l.5-1zM4 5h8l-.58 8.08A2 2 0 0 1 9.42 15H6.58a2 2 0 0 1-2-1.92L4 5zm1.06 1 .5 7.01a1 1 0 0 0 1 .99h2.88a1 1 0 0 0 1-.99L10.94 6H5.06z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2h3l.5 1H13v1H3V3h3l.5-1zM4 5h8l-.58 8.08A2 2 0 0 1 9.42 15H6.58a2 2 0 0 1-2-1.92L4 5zm1.06 1 .5 7.01a1 1 0 0 0 1 .99h2.88a1 1 0 0 0 1-.99L10.94 6H5.06z'/%3E%3C/svg%3E");
}

.speaker-edit-form {
  border-color: var(--strong-border);
}

.break-edit-form,
.section-edit-form {
  border-color: var(--strong-border);
}

.speaker-edit-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.color-input-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.photo-command-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wide-field {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.badge {
  padding: 1px 8px 2px;
  color: var(--muted);
  border: 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.badge.control {
  color: #ffffff;
  background: var(--success);
  border-color: var(--success);
}

.presentation-name {
  margin-bottom: 0;
  font-weight: 600;
}

.share-status {
  margin-top: 0;
  font-weight: 600;
}

.share-speaker-list {
  display: grid;
  gap: 4px;
}

.share-speaker-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  gap: 10px;
  padding: 6px 8px;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  font: inherit;
  text-align: left;
}

.share-speaker-row:hover {
  background: var(--control-hover);
  border-color: var(--border);
}

.share-speaker-row.selected {
  background: var(--control);
  border-color: var(--accent);
}

.share-speaker-row:disabled {
  opacity: 0.75;
}

.share-speaker-content {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.share-speaker-name,
.share-speaker-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-speaker-name {
  font-weight: 600;
}

.share-speaker-meta {
  color: var(--muted);
  font-size: 12px;
}

.timer-state {
  margin-bottom: 0;
  color: var(--muted);
}

.access-group {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.access-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--control);
  border: 1px solid var(--border);
}

.access-group h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.access-summary {
  margin: 0;
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 8px;
}

.link-list-header,
.speaker-link-row {
  display: grid;
  grid-template-columns: minmax(110px, 1.2fr) minmax(82px, 0.8fr) minmax(88px, 0.8fr) auto;
  gap: 8px;
  align-items: center;
}

.link-list-header {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.speaker-link-row {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.presenter-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  font-weight: 600;
}

.presenter-cell span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 8px;
  color: var(--muted);
  background: var(--disabled-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.connection-pill.connected {
  color: #ffffff;
  background: var(--success);
  border-color: var(--success);
}

.code-output,
.code-chip {
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: 0;
}

.code-chip {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.access-link {
  display: grid;
  gap: 4px;
  padding: 8px 0 0;
}

.access-link-title {
  margin: 0;
  font-weight: 600;
}

.access-link-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (forced-colors: active) {
  button,
  fluent-button,
  fluent-tab,
  input,
  select,
  .badge,
  .break-details-row,
  .break-marker,
  .section-color-dot,
  .section-details-row,
  .speaker-avatar,
  .share-speaker-row,
  .speaker-details-row {
    border-color: ButtonText;
  }

  button.primary,
  fluent-button.primary,
  .badge.control,
  .share-speaker-row.selected {
    color: HighlightText;
    background: Highlight;
    border-color: Highlight;
  }

  button:focus-visible,
  fluent-button:focus-visible,
  fluent-tab:focus-visible,
  input:focus-visible,
  select:focus-visible {
    outline-color: Highlight;
  }

  .icon-button-glyph,
  .commandbar-icon,
  .pivot-icon {
    background: ButtonText;
  }
}

@media (max-width: 360px) {
  .link-list-header {
    display: none;
  }

  .speaker-link-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .connection-pill {
    justify-self: start;
  }
}
