
/* Darker Colors */
/* Full colors */
/* Medium colors */
/*(gray-600)*/
/* Light colors */
/* Hover */
/*
 * Provides a drop-in pointer for the default Trix stylesheet that will format the toolbar and
 * the trix-editor content (whether displayed or under editing). Feel free to incorporate this
 * inclusion directly in any other asset bundle and remove this file.
 *

*/
/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

trix-editor.form-control {
  height: auto;
}

form trix-toolbar .trix-button-row {
  justify-content: flex-start;
  background-color: #fff;
}
form trix-toolbar .trix-button-row .trix-button-group {
  margin: 0;
}
form trix-toolbar .trix-button-row .trix-button-group button {
  width: 35px;
  padding: 0;
}
form trix-editor {
  width: 100% !important;
  max-width: unset !important;
  min-height: 200px;
}
form .trix-button-group-spacer,
form .trix-button-group--file-tools {
  display: none;
}

.blog-crepe {
  min-height: 320px;
  overflow: visible;
  background: #fff;
  color: #111;
  color-scheme: light;
}
.blog-crepe .blog-crepe-status {
  margin: 0;
  padding: 0.75rem 1.25rem 0;
  color: #6b7280;
  font-size: 0.875rem;
}
.blog-crepe .milkdown {
  --crepe-font-title: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  --crepe-font-default: "Inter var", Inter, ui-sans-serif, system-ui, sans-serif;
  --crepe-color-background: #fff;
  --crepe-color-surface: #f6f6f6;
  min-height: 280px;
  overflow: visible;
  border-radius: inherit;
}
.blog-crepe .milkdown .milkdown-top-bar {
  border-radius: 0.7rem 0.7rem 0 0;
}
.blog-crepe .milkdown .ProseMirror {
  min-height: 240px;
  padding: 12px 20px 28px;
}
.blog-crepe .milkdown .ProseMirror h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.25rem;
}
.blog-crepe .milkdown .ProseMirror h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.1rem;
}
.blog-crepe .milkdown .ProseMirror h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 1rem;
}
.blog-crepe .milkdown .ProseMirror > :first-child {
  margin-top: 0;
}

.blog-post-markdown h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}
.blog-post-markdown h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}
.blog-post-markdown h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.375rem;
}
.blog-post-markdown p {
  margin: 0.625rem 0;
  line-height: 1.7;
}
.blog-post-markdown ul {
  list-style: disc;
  margin: 0.625rem 0 0.625rem 1.25rem;
}
.blog-post-markdown ol {
  list-style: decimal;
  margin: 0.625rem 0 0.625rem 1.25rem;
}
.blog-post-markdown li {
  margin: 0.25rem 0;
}
.blog-post-markdown a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-post-markdown img {
  border-radius: 0.5rem;
  height: auto;
  max-width: 100%;
}
.blog-post-markdown blockquote {
  border-left: 3px solid rgba(107, 114, 128, 0.4);
  color: inherit;
  margin: 0.75rem 0;
  opacity: 0.85;
  padding-left: 0.75rem;
}
.blog-post-markdown pre {
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem;
}

.trix-content pre {
  border-radius: 5px;
  white-space: pre-line;
}

.dark .trix-content pre {
  background-color: #4b5563;
  color: #fff;
}

/* Sidebar dropdown visibility is managed by Stimulus (dropdown-closer controller).
   Mobile: hidden by default via Tailwind `hidden` class, toggled by JS.
   Desktop: always visible via md:!flex or md:!block on each aside template. */
.pagy-nav .page {
  color: #000;
  background-color: #fff;
}
.pagy-nav .page:hover {
  zoom: 1.05;
  color: #000;
}
.pagy-nav .page:hover a {
  background-color: #BEF4E0;
  filter: brightness(0.9);
}
.pagy-nav .page.disabled {
  pointer-events: none;
  filter: brightness(0.9);
}
.pagy-nav .page.disabled:hover {
  zoom: normal;
}
.pagy-nav .page.active {
  border-color: #3F7461;
  background-color: #3F7461;
  pointer-events: none;
  zoom: 1.01;
  color: #fff;
}
.pagy-nav .page.active:hover {
  zoom: 1.01;
}

.dark .pagy-nav .page {
  border-color: white;
  color: white;
  background-color: #4b5563;
}
.dark .pagy-nav .page a {
  color: white;
  background-color: #4b5563;
}
.dark .pagy-nav .page:hover {
  color: white;
  background-color: #4b5563;
}
.dark .pagy-nav .page:hover a {
  color: #000;
  background-color: #BEF4E0;
  filter: brightness(0.9);
}
.dark .pagy-nav .page.disabled {
  filter: brightness(0.6);
}
.dark .pagy-nav .page.active {
  border-color: #3F7461;
  background-color: #3F7461;
  color: #fff;
}

.disabled-loading:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4b5563;
  opacity: 0.85;
  z-index: 30;
}

@media screen and (max-width: 450px) {
  textarea::placeholder {
    visibility: hidden;
    width: 0px;
    height: 0px;
    overflow: hidden;
  }
}
.sort {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}

.sort-desc {
  border-top: 8px solid #000;
}

.sort-asc {
  border-bottom: 8px solid #000;
}

.d-none {
  display: none;
}

.visible-none {
  visibility: hidden;
  height: 0 !important;
  min-height: 0 !important;
}

.mbe-0 {
  margin-block-end: 0;
}

a[data-disabled=true] {
  pointer-events: none;
  opacity: 0.2;
}

/* Modern UI vote buttons: hide form while Turbo frame is busy */
.vote-frame[aria-busy=true] form {
  display: none !important;
}

.vote-frame[aria-busy=true] .vote-spinner {
  display: inline-flex !important;
}

div[data-controller=modal] {
  z-index: 20;
}

.prose :where(code):not(:where([class~=not-prose] *)):before {
  content: "";
}

.prose :where(code):not(:where([class~=not-prose] *)):after {
  content: "";
}

.prose pre {
  padding: 0;
  background-color: transparent;
}

.markdown p:not(.info-message) {
  white-space: pre-wrap;
}

.markdown code {
  display: inline;
  padding: 0 2px;
}

.markdown pre code {
  display: block;
  padding: 5px;
}

.markdown pre code:not(.hljs) {
  color: #000;
  background-color: #f2f2f2;
}

.dark .markdown pre code:not(.hljs) {
  color: #fff;
  background-color: #272822;
}

.dark .markdown tbody {
  color: #fff;
}
.dark .markdown tbody td {
  color: #fff;
}

button[disabled] {
  display: none;
  background-color: grey;
}

.meeting-room {
  --mr-ink: #1b2421;
  --mr-muted: #66716c;
  --mr-line: #e4e8e3;
  --mr-green: #3F7461;
  --mr-on-primary: #fff;
  --mr-deep: rgb(48.6402234637, 89.5597765363, 74.8905027933);
  --mr-wash: #e7f0eb;
  --mr-soft: #f4f7f5;
  --mr-card: #fff;
  --mr-page: #fff;
  --mr-head: #f9fafb;
  --mr-text: #1f2937;
  --mr-track: #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--mr-page);
  color: var(--mr-ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
.meeting-room button, .meeting-room input, .meeting-room textarea {
  font: inherit;
  color: inherit;
}
.meeting-room button {
  cursor: pointer;
}
.meeting-room .hidden {
  display: none !important;
}
.meeting-room button[disabled] {
  display: inline-flex;
  opacity: 1;
  cursor: not-allowed;
}
.meeting-room :focus-visible {
  outline: 2px solid var(--mr-green);
  outline-offset: 2px;
}

.dark .meeting-room {
  --mr-ink: #f3f6f4;
  --mr-muted: #c5cdc8;
  --mr-line: #3a4440;
  --mr-wash: #24302c;
  --mr-soft: #1c2422;
  --mr-card: #171d1b;
  --mr-page: #111827;
  --mr-head: #171d1b;
  --mr-text: #e5e7eb;
  --mr-track: #2a3330;
}

.meeting-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 24px;
  background: var(--mr-head);
  border-bottom: 1px solid var(--mr-line);
  color: var(--mr-ink);
}

.meeting-header-titles {
  min-width: 0;
  flex: 1;
}

.meeting-header-name {
  font-size: 15px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.meeting-header-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--mr-muted);
}

.meeting-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 24px 16px 40px;
}

@media (min-width: 768px) {
  .meeting-body {
    padding: 24px 32px 48px;
  }
}
.meeting-narrow {
  max-width: 760px;
  margin: 32px auto 0;
}

.meeting-kicker {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mr-muted);
  font-weight: 650;
}

.meeting-card {
  background: var(--mr-card);
  border: 1px solid var(--mr-line);
  border-radius: 14px;
  color: var(--mr-ink);
}

.meeting-muted {
  color: var(--mr-muted);
  font-size: 14px;
}

.meeting-count {
  font-size: 12px;
  color: var(--mr-muted);
  white-space: nowrap;
}

.meeting-primary, .meeting-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  width: 100%;
  margin-top: 32px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.meeting-primary {
  border: 0;
  background: var(--mr-green);
  color: var(--mr-on-primary);
}

.meeting-room .meeting-primary,
.meeting-room .meeting-primary:hover,
.meeting-room .meeting-primary:focus,
.meeting-room .meeting-primary:focus-visible,
.meeting-room button.meeting-primary[disabled] {
  background-color: var(--mr-green);
  color: var(--mr-on-primary);
  opacity: 1;
}

.meeting-room .meeting-primary:hover,
.meeting-room .meeting-primary:focus-visible {
  background-color: var(--mr-deep);
}

.meeting-room .meeting-primary i,
.meeting-room .meeting-primary:hover i,
.meeting-room .meeting-primary:focus-visible i,
.meeting-room button.meeting-primary[disabled] i {
  color: var(--mr-on-primary);
}

.meeting-ghost {
  border: 1px solid var(--mr-line);
  background: var(--mr-card);
  color: var(--mr-ink);
}

.meeting-room .meeting-ghost,
.meeting-room .meeting-ghost:hover,
.meeting-room .meeting-ghost:focus-visible,
.meeting-room button.meeting-ghost[disabled] {
  background-color: var(--mr-card);
  color: var(--mr-ink);
  opacity: 1;
}

.meeting-primary.is-compact, .meeting-ghost.is-compact {
  width: auto;
  min-height: 40px;
  margin-top: 0;
  padding: 8px 16px;
  font-size: 14px;
}

.meeting-rec-dot {
  font-size: 10px;
  color: var(--mr-on-primary);
}

.meeting-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--mr-muted);
  text-decoration: none;
}

.meeting-icon:hover {
  background: var(--mr-soft);
}

.meeting-icon-row {
  display: flex;
  align-items: center;
}

.meeting-menu-wrap {
  position: relative;
}

.meeting-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: 256px;
  padding: 6px;
  border: 1px solid var(--mr-line);
  border-radius: 12px;
  background: var(--mr-card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.meeting-menu-form {
  margin: 0;
}

.meeting-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--mr-ink);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
}

.meeting-menu-item i {
  width: 16px;
  color: var(--mr-muted);
}

.meeting-menu-item:hover {
  background: var(--mr-soft);
}

.meeting-menu-item.is-danger {
  color: #b91c1c;
}

.dark .meeting-menu-item.is-danger {
  color: #f87171;
}

.meeting-menu-item.is-danger:hover {
  background: #fef2f2;
}

.dark .meeting-menu-item.is-danger:hover {
  background: #3f1d1d;
}

.meeting-menu-note {
  margin: 0;
  padding: 0 12px 4px;
  font-size: 11px;
  color: var(--mr-muted);
}

.meeting-menu-rule {
  margin: 4px 0;
  border-top: 1px solid var(--mr-line);
}

.meeting-token-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--mr-muted);
}

.meeting-token-line .tabular-nums {
  color: var(--mr-ink);
  font-weight: 650;
}

.meeting-ready {
  padding-top: 24px;
  text-align: center;
}

.meeting-ready-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meeting-ready-title {
  margin: 20px 0 0;
  font-size: 24px;
  font-weight: 650;
}

.meeting-ready-hint {
  max-width: 28rem;
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--mr-muted);
}

.meeting-ready .meeting-kicker {
  margin-top: 32px;
  text-align: left;
}

.meeting-sources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

@media (min-width: 720px) {
  .meeting-sources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.meeting-source {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--mr-line);
  border-radius: 14px;
  background: var(--mr-card);
  text-align: left;
  cursor: pointer;
}

.meeting-source input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.meeting-source:has(input:checked) {
  border-color: var(--mr-green);
  background: var(--mr-wash);
}

.meeting-source-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  font-size: 20px;
  color: var(--mr-muted);
}

.meeting-source:has(input:checked) .meeting-source-icon {
  color: var(--mr-green);
}

.meeting-source-mark {
  font-size: 18px;
  color: var(--mr-green);
}

.meeting-source-mark.is-off {
  display: none;
  color: var(--mr-muted);
}

.meeting-source:not(:has(input:checked)) .meeting-source-mark {
  display: none;
}

.meeting-source:not(:has(input:checked)) .meeting-source-mark.is-off {
  display: inline;
}

.meeting-source strong {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

.meeting-source span {
  font-size: 13px;
  color: var(--mr-muted);
}

.meeting-source-lock {
  font-size: 12px;
  font-weight: 650;
  color: var(--mr-green);
}

.meeting-source.is-locked {
  cursor: default;
}

.meeting-notice {
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  font-size: 14px;
  color: #9f1239;
  text-align: left;
}

.dark .meeting-notice {
  background: #3f1d1d;
  border-color: #7f1d1d;
  color: #fecaca;
}

.meeting-recording-card {
  padding: 40px 32px;
  text-align: center;
}

.meeting-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px #fecaca;
}

.dark .meeting-rec-badge {
  background: #3f1d1d;
  color: #fecaca;
  box-shadow: inset 0 0 0 1px #7f1d1d;
}

.meeting-rec-live {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #dc2626;
}

.meeting-timer {
  margin-top: 20px;
  font-size: 56px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.meeting-wave {
  height: 56px;
  margin-top: 32px;
}

.meeting-wave canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.meeting-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.meeting-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--mr-line);
  border-radius: 999px;
  background: var(--mr-soft);
  color: var(--mr-ink);
  font-size: 13px;
}

.dark .meeting-pill {
  background: #2a3330;
}

.meeting-pill i {
  color: var(--mr-green);
}

.meeting-warning {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
  color: #78350f;
  text-align: left;
  font-size: 14px;
}

.dark .meeting-warning {
  background: #3f2e12;
  border-color: #92400e;
  color: #fde68a;
}

.meeting-after-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--mr-muted);
  font-size: 13px;
}

.meeting-confirm {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 28, 25, 0.45);
}

.meeting-confirm.hidden {
  display: none;
}

.meeting-dialog {
  width: min(420px, 100% - 32px);
  padding: 24px;
  border-radius: 16px;
  background: var(--mr-card);
  color: var(--mr-ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.meeting-dialog h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.meeting-dialog p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--mr-muted);
}

.meeting-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.meeting-dialog-actions .meeting-primary,
.meeting-dialog-actions .meeting-ghost {
  margin-top: 0;
  min-height: 44px;
}

.meeting-alert {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--mr-line);
  border-radius: 14px;
  background: var(--mr-card);
}

.meeting-alert-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fef2f2;
  color: #b91c1c;
}

.dark .meeting-alert-icon {
  background: #450a0a;
  color: #fecaca;
}

.meeting-alert h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

.meeting-alert p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--mr-muted);
}

.meeting-alert-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.meeting-help-link {
  font-size: 14px;
  font-weight: 650;
  color: var(--mr-green);
}

.meeting-errors {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.meeting-admin-note {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--mr-soft);
  font-size: 13px;
}

.meeting-admin-note-title {
  font-weight: 650;
  color: var(--mr-ink);
}

.meeting-admin-note p {
  margin: 4px 0 0;
}

.meeting-processing {
  padding: 32px;
}

.meeting-processing-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meeting-processing-head h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.meeting-processing-head p {
  margin: 0;
  font-size: 14px;
  color: var(--mr-muted);
}

.meeting-steps {
  position: relative;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.meeting-steps::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: var(--mr-line);
}

.meeting-step {
  display: flex;
  gap: 16px;
}

.meeting-step-mark {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--mr-card);
  border: 1px solid var(--mr-line);
  color: var(--mr-muted);
}

.meeting-step.is-done .meeting-step-mark {
  border: 0;
  background: var(--mr-green);
  color: var(--mr-on-primary);
}

.meeting-step.is-current .meeting-step-mark {
  background: var(--mr-wash);
  border: 0;
  box-shadow: 0 0 0 2px var(--mr-green);
  color: var(--mr-green);
}

.meeting-step.is-failed .meeting-step-mark {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.meeting-step-label {
  font-size: 15px;
  font-weight: 650;
}

.meeting-step.is-upcoming .meeting-step-label {
  color: var(--mr-muted);
  font-weight: 600;
}

.meeting-step-detail {
  font-size: 13px;
  color: var(--mr-muted);
}

.meeting-step > div {
  padding-bottom: 24px;
}

.meeting-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--mr-muted);
}

.meeting-leave {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--mr-soft);
  color: var(--mr-muted);
  font-size: 13px;
}

.meeting-done {
  max-width: 1080px;
  margin: 0 auto;
}

.meeting-done-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meeting-face-row {
  display: inline-flex;
}

.meeting-face-row .meeting-person + .meeting-person {
  margin-left: -6px;
}

.meeting-person {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--person-size, 28px);
  height: var(--person-size, 28px);
  border-radius: 999px;
  background: var(--mr-green);
  color: var(--mr-on-primary);
  box-shadow: 0 0 0 1px var(--mr-page);
  font-size: max(9px, var(--person-size, 28px) * 0.42);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.03em;
  overflow: hidden;
}

.meeting-person i {
  font-size: max(8px, var(--person-size, 28px) * 0.46);
}

turbo-frame.meeting-frame {
  display: contents;
}

.meeting-done-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

@media (min-width: 900px) {
  .meeting-done-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
.meeting-done-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meeting-summary-card, .meeting-done-side .meeting-card, .meeting-transcript {
  padding: 20px 24px;
}

.meeting-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.meeting-summary {
  margin-top: 8px;
  color: var(--mr-text);
  font-size: 14px;
  line-height: 1.55;
}

.meeting-summary h1, .meeting-summary h2, .meeting-summary h3, .meeting-summary h4 {
  margin: 20px 0 6px;
  color: var(--mr-ink);
  font-size: 15px;
  font-weight: 650;
}

.meeting-summary p {
  margin: 8px 0;
}

.meeting-summary > p:first-child {
  margin-top: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--mr-wash);
  color: var(--mr-ink);
}

.meeting-summary ul {
  margin: 4px 0 0;
  padding-left: 1.1rem;
}

.meeting-summary li {
  margin: 2px 0;
}

.meeting-summary li::marker {
  color: var(--mr-muted);
}

.meeting-summary button {
  border: 0;
  background: transparent;
  color: var(--mr-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

.meeting-action {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
}

.meeting-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.meeting-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--mr-muted);
  border-radius: 5px;
  background: var(--mr-card);
  color: var(--mr-on-primary);
  font-size: 10px;
}

.meeting-action.is-done .meeting-box {
  border-color: var(--mr-green);
  background: var(--mr-green);
}

.meeting-action-text {
  padding-top: 2px;
  font-size: 14px;
}

.meeting-action.is-done .meeting-action-text {
  color: var(--mr-muted);
  text-decoration: line-through;
}

.meeting-speaker-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.meeting-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.meeting-speaker-body {
  min-width: 0;
  flex: 1;
}

.meeting-speaker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.meeting-speaker-form {
  margin: 0;
  min-width: 0;
  flex: 1;
}

.meeting-speaker-input {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}

.meeting-speaker-share {
  font-size: 12px;
  color: var(--mr-muted);
}

.meeting-share {
  height: 4px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--mr-soft);
}

.meeting-share span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.meeting-transcript {
  margin-top: 20px;
}

.meeting-player {
  margin-bottom: 12px;
}

.meeting-transport {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.meeting-play {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: var(--mr-green);
  color: var(--mr-on-primary);
}

.meeting-room .meeting-play,
.meeting-room .meeting-play:hover,
.meeting-room .meeting-play:focus-visible,
.meeting-room button.meeting-play[disabled] {
  background-color: var(--mr-green);
  color: var(--mr-on-primary);
  opacity: 1;
}

.meeting-room .meeting-play:hover,
.meeting-room .meeting-play:focus-visible {
  background-color: var(--mr-deep);
}

.meeting-room .meeting-play i,
.meeting-room button.meeting-play[disabled] i {
  color: var(--mr-on-primary);
}

.meeting-rate {
  display: inline-grid;
  flex: none;
  place-items: center;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--mr-line);
  border-radius: 999px;
  background: var(--mr-card);
  color: var(--mr-muted);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.meeting-rate-label {
  grid-area: 1 / 1;
}

.meeting-rate-label:not(.is-on) {
  visibility: hidden;
}

.meeting-room .meeting-rate,
.meeting-room .meeting-rate:hover,
.meeting-room .meeting-rate:focus-visible {
  background-color: var(--mr-card);
  color: var(--mr-muted);
}

.meeting-room .meeting-rate:hover,
.meeting-room .meeting-rate:focus-visible {
  background-color: var(--mr-soft);
}

.meeting-clock {
  font-size: 12px;
  color: var(--mr-muted);
  font-variant-numeric: tabular-nums;
}

.meeting-scrubber {
  flex: 1;
  height: 24px;
  accent-color: var(--mr-green);
  cursor: pointer;
}

.meeting-audio {
  width: 100%;
  margin-top: 8px;
}

.meeting-frame {
  display: block;
  width: 100%;
  max-height: 18rem;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--mr-soft);
}

.meeting-prepare {
  font-size: 12px;
  color: var(--mr-muted);
}

.meeting-track {
  position: relative;
  height: 24px;
  margin-top: 12px;
  cursor: pointer;
}

.meeting-track-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mr-track);
}

.meeting-track-span {
  position: absolute;
  top: 0;
  bottom: 0;
}

.meeting-playhead {
  position: absolute;
  top: 4px;
  width: 10px;
  height: 16px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px #111827;
  transform: translateX(-50%);
  pointer-events: none;
}

.meeting-hover {
  position: absolute;
  bottom: 100%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 4px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
}

.meeting-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
  padding-left: 44px;
  font-size: 12px;
  color: var(--mr-muted);
}

.meeting-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meeting-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.meeting-search-field {
  position: relative;
  flex: 1;
}

.meeting-search-field i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--mr-muted);
}

.meeting-search-field input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border: 1px solid var(--mr-line);
  border-radius: 12px;
  background: var(--mr-card);
  font-size: 14px;
}

.meeting-search-field input:focus {
  border-color: var(--mr-green);
  outline: none;
}

.meeting-scroll {
  max-height: 300px;
  margin-top: 8px;
  overflow-y: auto;
  padding-right: 8px;
}

.meeting-turn {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--mr-line);
}

.meeting-turn:first-child {
  border-top: 0;
}

.meeting-turn.is-current {
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 12px;
  background: var(--mr-wash);
  box-shadow: inset 0 0 0 1px rgba(63, 116, 97, 0.4);
}

.meeting-turn-name {
  font-size: 14px;
  font-weight: 650;
}

.meeting-turn-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.segment-time {
  min-height: 24px;
  padding: 0 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--mr-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.segment-time:hover {
  color: var(--mr-ink);
}

.meeting-turn-text {
  margin: 0;
  color: var(--mr-text);
  font-size: 14px;
  line-height: 1.55;
}

.meeting-room mark {
  background: #fde68a;
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

.dark .meeting-room mark {
  background: #854d0e;
  color: #fff;
}

.meeting-inline-error {
  color: #be123c;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .meeting-rec-badge,
  .meeting-rec-live,
  .meeting-room .fa-spin {
    animation: none !important;
  }
}
@media (max-width: 720px) {
  .meeting-timer {
    font-size: 40px;
  }
  .meeting-recording-card, .meeting-processing {
    padding: 24px 16px;
  }
  .meeting-dialog-actions {
    grid-template-columns: 1fr;
  }
  .meeting-legend {
    padding-left: 0;
  }
}
.slide-canvas {
  container-type: inline-size;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--slide-background);
  color: var(--slide-text);
  font-family: var(--slide-body-font);
  text-align: left;
  line-height: 1.2;
}
.slide-canvas * {
  margin: 0;
}

.slide-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 6.7cqw 6.9cqw;
}

.slide-logo {
  position: absolute;
  object-fit: contain;
}
.slide-on-dark .slide-logo {
  background: #fff;
  border-radius: 0.6cqw;
  padding: 0.6cqw;
}

.slide-with-corner-logo .slide-content {
  padding-bottom: 8cqw;
}

.slide-logo-cover {
  top: 5.6cqw;
  left: 6.9cqw;
  max-width: 22.5cqw;
  max-height: 9.4cqw;
}

.slide-logo-corner {
  right: 6.9cqw;
  bottom: 3.4cqw;
  max-width: 11.25cqw;
  max-height: 3.75cqw;
}

.slide-image-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75cqw;
  height: 100%;
  min-height: 0;
}

.slide-image {
  display: flex;
  flex-direction: column;
  gap: 1cqw;
  min-height: 0;
}
.slide-image img, .slide-image .slide-image-placeholder, .slide-image .slide-image-frame {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
}
.slide-image .slide-image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-image .slide-image-frame img {
  width: 100%;
  height: 100%;
  flex: none;
  object-fit: contain;
}
.slide-image .slide-image-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.slide-image .slide-image-spinner::before {
  content: "";
  width: max(1.1rem, 6cqw);
  height: max(1.1rem, 6cqw);
  box-sizing: border-box;
  border-radius: 50%;
  border: max(2px, 0.45cqw) solid color-mix(in srgb, var(--slide-muted) 55%, transparent);
  border-top-color: var(--slide-accent);
  animation: slide-image-spin 0.7s linear infinite;
}
.slide-image .slide-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.15cqw dashed var(--slide-muted);
  border-radius: 0.6cqw;
  font-size: 6cqw;
  color: var(--slide-muted);
}
.slide-image figcaption {
  font-size: 1.4cqw;
  text-align: center;
}

@keyframes slide-image-spin {
  to {
    transform: rotate(360deg);
  }
}
.slide-stats {
  display: flex;
  gap: 3.75cqw;
  margin-top: 6cqw;
}
.slide-stats > div {
  flex: 1;
  text-align: center;
}

.slide-stat-value {
  font-size: 6.25cqw;
  font-weight: 700;
  white-space: nowrap;
}
.slide-stats:has(> :nth-child(4)) .slide-stat-value {
  font-size: 4.6cqw;
}

.slide-stat-label {
  font-size: 2.1cqw;
  margin-top: 0.8cqw;
}

.slide-timeline {
  display: flex;
  list-style: none;
  padding: 0;
  margin-top: 8cqw;
  position: relative;
}
.slide-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5.1cqw;
  height: 0.3cqw;
  background: var(--slide-muted);
}
.slide-timeline li {
  flex: 1;
  text-align: center;
  position: relative;
}

.slide-timeline-date {
  font-size: 2.3cqw;
  font-weight: 700;
  height: 4cqw;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.slide-timeline-dot {
  display: block;
  width: 1.9cqw;
  height: 1.9cqw;
  margin: 0.4cqw auto 1.2cqw;
  border-radius: 9999px;
  background: var(--slide-accent);
  position: relative;
}

.slide-timeline-event {
  font-size: 1.7cqw;
  padding: 0 0.5cqw;
}

.slide-table {
  width: 100%;
  margin-top: 2.6cqw;
  border-collapse: collapse;
  font-size: 1.7cqw;
}
.slide-table th, .slide-table td {
  padding: 0.9cqw 1cqw;
  text-align: left;
}
.slide-table th {
  background: var(--slide-accent);
  font-weight: 700;
}
.slide-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--slide-text) 6%, var(--slide-background));
}
.slide-table.slide-table-dense {
  font-size: 1.45cqw;
}

.slide-chart-unit {
  font-size: 1.7cqw;
  margin-top: 1cqw;
}

.slide-chart {
  display: flex;
  align-items: stretch;
  gap: 2cqw;
  flex: 1;
  min-height: 0;
  margin-top: 1.5cqw;
}

.slide-chart-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.slide-chart-track {
  flex: 1;
  position: relative;
  margin-top: 2.5cqw;
  border-bottom: 0.2cqw solid var(--slide-muted);
}

.slide-chart-bar {
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  background: var(--slide-accent);
}

.slide-chart-value {
  position: absolute;
  left: 0;
  right: 0;
  margin-bottom: 0.4cqw;
  text-align: center;
  font-size: 1.5cqw;
  font-weight: 700;
}

.slide-chart-label {
  font-size: 1.5cqw;
  text-align: center;
  margin-top: 0.6cqw;
  overflow-wrap: anywhere;
}

.slide-canvas .slide-content :is(h2, p, li, blockquote, td) {
  color: var(--slide-text) !important;
}
.slide-canvas .slide-content :is(.slide-subtitle, figcaption, .slide-stat-label, .slide-chart-unit, .slide-chart-label) {
  color: var(--slide-muted) !important;
}
.slide-canvas .slide-content :is(.slide-stat-value, .slide-timeline-date) {
  color: var(--slide-accent) !important;
}
.slide-canvas .slide-content th {
  color: var(--slide-on-accent) !important;
}

.slide-accent {
  display: block;
  width: 7.5cqw;
  height: 0.5cqw;
  background: var(--slide-accent);
}

.slide-cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5cqw;
  height: 100%;
}

.slide-title {
  font-size: var(--slide-title-size);
  font-weight: 700;
}

.slide-layout-section .slide-title {
  font-size: calc(var(--slide-title-size) * 0.82);
}

.slide-title, .slide-heading, .slide-stat-value, .slide-number {
  font-family: var(--slide-heading-font);
}

.slide-subtitle {
  font-size: 2.5cqw;
  color: var(--slide-muted);
}

.slide-heading {
  font-size: var(--slide-heading-size);
  font-weight: 700;
  margin-bottom: 1.2cqw;
}

.slide-columns {
  display: flex;
  gap: 3.75cqw;
  margin-top: 2.2cqw;
  min-height: 0;
}
.slide-columns > * {
  flex: 1;
}

.slide-bullets {
  list-style: none;
  padding: 0;
  font-size: 2.3cqw;
}
.slide-bullets li {
  position: relative;
  padding-left: 2.8cqw;
  margin-top: 1cqw;
}
.slide-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--slide-accent);
}
.slide-bullets.slide-bullets-dense {
  font-size: 1.9cqw;
}

.slide-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3cqw;
  height: 100%;
  text-align: center;
}
.slide-quote blockquote {
  font-size: 3.33cqw;
  font-style: italic;
}
.slide-quote figcaption {
  font-size: 2.1cqw;
  color: var(--slide-muted);
}

.presentation-viewer {
  max-width: min(100%, (100vh - 24rem) * 16 / 9);
  min-width: min(100%, 36rem);
  margin-inline: auto;
}

.presentation-stage {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.presentation-stage:fullscreen,
.presentation-viewer-host:fullscreen .presentation-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 0;
  max-width: none;
}
.presentation-stage:fullscreen .presentation-stage-slide,
.presentation-viewer-host:fullscreen .presentation-stage .presentation-stage-slide {
  width: min(100vw, 177.7777777778vh);
}
.presentation-stage:fullscreen .presentation-nav, .presentation-stage:fullscreen .presentation-close,
.presentation-viewer-host:fullscreen .presentation-stage .presentation-nav,
.presentation-viewer-host:fullscreen .presentation-stage .presentation-close {
  opacity: 0;
}
.presentation-stage:fullscreen .presentation-nav:is(:hover, :focus-visible),
.presentation-stage:fullscreen .presentation-close:is(:hover, :focus-visible),
.presentation-viewer-host:fullscreen .presentation-stage .presentation-nav:is(:hover, :focus-visible),
.presentation-viewer-host:fullscreen .presentation-stage .presentation-close:is(:hover, :focus-visible) {
  opacity: 1;
}
.presentation-stage:fullscreen .presentation-close,
.presentation-viewer-host:fullscreen .presentation-stage .presentation-close {
  display: block;
}

.presentation-viewer-host:fullscreen {
  background: #000;
}

.presentation-close {
  display: none;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  transition: opacity 150ms;
}

.presentation-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  transition: opacity 150ms;
}
.presentation-nav:hover {
  background: rgba(0, 0, 0, 0.55);
}
.presentation-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.presentation-nav-previous {
  left: 0.75rem;
}

.presentation-nav-next {
  right: 0.75rem;
}

.presentation-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.presentation-thumbnails::-webkit-scrollbar {
  height: 3px;
}
.presentation-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}
.presentation-thumbnails::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

.presentation-thumbnail {
  flex: 0 0 9rem;
  align-self: flex-start;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid transparent;
  outline: none;
  opacity: 0.7;
}
.presentation-thumbnail[aria-current=true] {
  border-color: #3f7461;
  opacity: 1;
}

[data-presentation-carousel-target][hidden],
[data-slide-form-target][hidden] {
  display: none !important;
}

.slide-band {
  position: absolute;
  inset: 0 auto 0 0;
  width: 1.875cqw;
  background: var(--slide-brand);
}

.slide-number {
  position: absolute;
  left: 6.9cqw;
  top: 50.6cqw;
  font-size: 2.5cqw;
  font-weight: 700;
  color: var(--slide-accent);
}

.slide-style-minimal .slide-accent {
  width: 100%;
  height: 0.15cqw;
  background: var(--slide-muted);
}
.slide-style-minimal .slide-bullets li::before {
  content: "–";
  color: var(--slide-muted);
}

.slide-theme-custom .slide-accent {
  width: 7.5cqw;
  height: 0.5cqw;
  background: var(--slide-accent);
}
.slide-theme-custom .slide-bullets li::before {
  content: "•";
  color: var(--slide-accent);
}
.slide-theme-custom .slide-timeline::before {
  background: var(--slide-brand);
}
.slide-theme-custom .slide-chart-track {
  border-bottom-color: var(--slide-brand);
}
.slide-theme-custom .slide-image-placeholder {
  border-color: var(--slide-accent);
  color: var(--slide-accent);
}

.slide-style-modern .slide-stats > div {
  padding: 1.6cqw 1cqw;
  border-radius: 1.5cqw;
  background: color-mix(in srgb, var(--slide-accent) 10%, var(--slide-background));
}

.presentation-chat-thumbnails {
  max-width: 42rem;
}
.presentation-chat-thumbnails .presentation-thumbnail {
  flex-basis: 7.5rem;
  cursor: zoom-in;
  opacity: 1;
  border-color: #9ca3af;
}
.presentation-chat-thumbnails .presentation-thumbnail:hover,
.presentation-chat-thumbnails .presentation-thumbnail:focus-visible {
  border-color: #9ca3af;
}

.presentation-thumbnail:focus-visible {
  border-color: #3f7461;
  opacity: 1;
}

.presentation-viewer-host {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.55);
}

.presentation-modal {
  width: min(100%, (100vh - 8rem) * 16 / 9);
  max-width: 100%;
}

.presentation-modal-bar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.presentation-modal-download,
.presentation-modal-fullscreen,
.presentation-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  text-decoration: none;
}
.presentation-modal-download:hover,
.presentation-modal-fullscreen:hover,
.presentation-modal-close:hover {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}
.presentation-modal-download:focus-visible,
.presentation-modal-fullscreen:focus-visible,
.presentation-modal-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.presentation-modal-download.is-downloading,
.presentation-modal-fullscreen.is-downloading,
.presentation-modal-close.is-downloading {
  cursor: wait;
}

a.is-downloading {
  cursor: wait;
}

.presentation-chat-more {
  flex: 0 0 auto;
  align-self: center;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
  background: none;
  border: 0;
  cursor: pointer;
}

.uppy-Root .uppy-Dashboard-inner {
  height: 300px !important;
  width: 100% !important;
}
@media screen and (max-width: 820px) {
  .uppy-Root .uppy-Dashboard-inner {
    left: 50% !important;
    right: auto !important;
    top: 35% !important;
    transform: translate(-50%, -50%) !important;
  }
}
@media screen and (max-width: 1040px) {
  .uppy-Root .uppy-Dashboard-inner {
    height: 220px !important;
  }
}
.uppy-Root .uppy-Dashboard-inner .uppy-Dashboard-AddFiles-info {
  display: block;
}

/* In case of modal for uppy mini */
.uppy-Dashboard-inner[aria-modal=true] {
  width: 80vw !important;
  height: 50vh !important;
}

.dark div[data-controller=clipboard] table {
  color: white;
}
.dark div[data-controller=clipboard] table thead, .dark div[data-controller=clipboard] table tbody tr {
  border-color: white;
}
.dark div[data-controller=clipboard] table tbody tr td {
  color: white;
}

.loader {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 79%, transparent 80% 100%), conic-gradient(#3F7461 0%, #BEF4E0 0);
}

[data-controller="modal magic-helper"] .magic-helper-copy-button {
  display: inline-flex;
}

@media screen and (max-width: 768px) {
  .compatible-h-screen {
    height: calc(100vh - 90px);
    height: calc(100dvh - 90px);
  }
  .minimalist-compatible-h-screen {
    height: calc(100vh - 50px);
    height: calc(100dvh - 50px);
  }
}
@media screen and (max-width: 1024px) {
  #stats-dashboard .stats-column-title-wrapper {
    height: 60px;
    position: relative;
  }
}
@media screen and (max-width: 1024px) {
  #stats-dashboard .stats-column-title {
    bottom: 0px;
    right: 50%;
    position: absolute;
    transform: rotate(45deg);
    transform-origin: center right;
    white-space: nowrap;
  }
}

[data-display-editable=false] [data-display-editable-conditioned=true] {
  display: none;
}

.switch-input-box::after {
  content: " ";
}

.folded-ribbon {
  position: absolute;
  --f: 10px; /* control the folded part */
  --r: 15px; /* control the ribbon shape */
  --t: 6px; /* the top offset */
  inset: var(--t) calc(-1 * var(--f)) auto auto;
  padding: 0 15px var(--f) calc(10px + var(--r));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--f)), calc(100% - var(--f)) 100%, calc(100% - var(--f)) calc(100% - var(--f)), 0 calc(100% - var(--f)), var(--r) calc(50% - var(--f) / 2));
  background: #d7292b;
  box-shadow: 0 calc(-1 * var(--f)) 0 inset #000;
}

.folded-ribbon-relative {
  --f: 10px; /* control the folded part */
  --r: 15px; /* control the ribbon shape */
  --t: 6px; /* the top offset */
  inset: var(--t) calc(-1 * var(--f)) auto auto;
  padding: 0 15px var(--f) calc(10px + var(--r));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--f)), calc(100% - var(--f)) 100%, calc(100% - var(--f)) calc(100% - var(--f)), 0 calc(100% - var(--f)), var(--r) calc(50% - var(--f) / 2));
  background: #d7292b;
  box-shadow: 0 calc(-1 * var(--f)) 0 inset #000;
}

.ext-circle-loader {
  width: 80%;
  height: 80%;
  border: 3px solid #BEF4E0;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}

.ext-circle-loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid transparent;
  border-bottom-color: #3F7461;
}

.dark .ext-circle-loader {
  border-color: #fff;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-circle-small {
  width: 18px;
  height: 18px;
  border: 5px solid #FFF;
  border-bottom-color: #3F7461;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-circle-growing-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.loader-circle-growing {
  display: flex;
  width: 100%;
  height: 100%;
  background: #3F7461;
  animation: grow 1.5s linear infinite;
  border-radius: 50%;
}

.dark .loader-circle-growing {
  background: #fff;
}

@keyframes grow {
  0% {
    height: 100%;
    width: 100%;
  }
  25% {
    height: 50%;
    width: 50%;
  }
  50% {
    height: 25%;
    width: 25%;
  }
  75% {
    height: 50%;
    width: 50%;
  }
  100% {
    height: 100%;
    width: 100%;
  }
}
.simple-tab-wrapper .simple-tab-target {
  display: none;
}

#simple_tab_input_1:checked ~ .simple-tab-wrapper .simple-tab-label-1 {
  background-color: rgba(255, 255, 255, 0.1);
}
#simple_tab_input_1:checked ~ .simple-tab-wrapper .simple-tab-target-1 {
  display: block;
}

#simple_tab_input_2:checked ~ .simple-tab-wrapper .simple-tab-label-2 {
  background-color: rgba(255, 255, 255, 0.1);
}
#simple_tab_input_2:checked ~ .simple-tab-wrapper .simple-tab-target-2 {
  display: block;
}

#simple_tab_input_3:checked ~ .simple-tab-wrapper .simple-tab-label-3 {
  background-color: rgba(255, 255, 255, 0.1);
}
#simple_tab_input_3:checked ~ .simple-tab-wrapper .simple-tab-target-3 {
  display: block;
}

#simple_tab_input_4:checked ~ .simple-tab-wrapper .simple-tab-label-4 {
  background-color: rgba(255, 255, 255, 0.1);
}
#simple_tab_input_4:checked ~ .simple-tab-wrapper .simple-tab-target-4 {
  display: block;
}

.carousel-simple-tab-label {
  cursor: pointer;
  opacity: 0.75;
}
.carousel-simple-tab-label .active-bg-green {
  background-color: #64748b;
}
.carousel-simple-tab-label .active-text-green {
  color: #475569;
}

#simple_tab_input_5:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-5 {
  opacity: 1;
}
#simple_tab_input_5:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-5 .active-bg-green {
  background-color: #16a34a;
}
#simple_tab_input_5:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-5 .active-text-green {
  color: #16a34a;
}
#simple_tab_input_5:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-5 {
  transform: translateX(0%);
  opacity: 1;
}
#simple_tab_input_5:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-6 {
  transform: translateX(0%);
  opacity: 0.6;
}
#simple_tab_input_5:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-7 {
  transform: translateX(0%);
  opacity: 0.6;
}

#simple_tab_input_6:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-6 {
  opacity: 1;
}
#simple_tab_input_6:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-6 .active-bg-green {
  background-color: #16a34a;
}
#simple_tab_input_6:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-6 .active-text-green {
  color: #16a34a;
}
#simple_tab_input_6:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-5 {
  transform: translateX(-90%);
  opacity: 0.6;
}
#simple_tab_input_6:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-6 {
  transform: translateX(-90%);
  opacity: 1;
}
#simple_tab_input_6:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-7 {
  transform: translateX(-90%);
  opacity: 0.6;
}

#simple_tab_input_7:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-7 {
  opacity: 1;
}
#simple_tab_input_7:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-7 .active-bg-green {
  background-color: #16a34a;
}
#simple_tab_input_7:checked ~ .simple-tab-carousel-wrapper .simple-tab-label-7 .active-text-green {
  color: #16a34a;
}
#simple_tab_input_7:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-5 {
  transform: translateX(-170%);
  opacity: 0.6;
}
#simple_tab_input_7:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-6 {
  transform: translateX(-170%);
  opacity: 0.6;
}
#simple_tab_input_7:checked ~ .simple-tab-carousel-wrapper .simple-tab-carousel-target-7 {
  transform: translateX(-170%);
  opacity: 1;
}

.custom-theme-exclude p, .custom-theme-exclude h1, .custom-theme-exclude h2, .custom-theme-exclude h3, .custom-theme-exclude h4 {
  color: black !important;
}
.custom-theme-exclude input[type=submit] {
  color: white !important;
  background-color: #3F7461 !important;
}

.dark .custom-theme-exclude p, .dark .custom-theme-exclude h1, .dark .custom-theme-exclude h2, .dark .custom-theme-exclude h3, .dark .custom-theme-exclude h4 {
  color: white !important;
}

.text-white-forced {
  color: white !important;
}
.text-white-forced p, .text-white-forced h2 {
  color: white !important;
}

@media screen and (min-width: 768px) {
  body.bottom-nav-mode > nav[data-navbar-position=lateral] {
    display: none !important;
  }
}
@media screen and (min-width: 768px) and (max-height: 500px) {
  body.bottom-nav-mode {
    flex-direction: column !important;
  }
  body.bottom-nav-mode > nav[data-navbar-position=lateral] {
    display: none !important;
  }
  body.bottom-nav-mode > nav[data-navbar-position=bottom] {
    display: flex !important;
    width: 100%;
    height: 50px;
    flex-shrink: 0;
    order: 3;
  }
  body.bottom-nav-mode nav[data-navbar-position=menu] {
    display: none !important;
  }
  body.bottom-nav-mode > aside {
    display: flex !important;
    width: 100% !important;
    height: 40px !important;
    flex-shrink: 0;
    order: 1;
  }
  body.bottom-nav-mode > aside > div:first-child {
    display: flex !important;
    visibility: visible !important;
  }
  body.bottom-nav-mode > aside > div:first-child > div:first-child {
    visibility: visible !important;
  }
  body.bottom-nav-mode > aside [data-sidebar-collapse-target=collapsedButton] {
    display: none !important;
  }
  body.bottom-nav-mode > aside [data-dropdown-closer-target=dropdown].hidden {
    display: none !important;
  }
  body.bottom-nav-mode > aside [data-dropdown-closer-target=dropdown]:not(.hidden) {
    display: flex !important;
    position: fixed !important;
    top: 40px !important;
    left: 0 !important;
    width: 260px !important;
    height: calc(100dvh - 90px) !important;
    z-index: 40;
  }
  body.bottom-nav-mode > main {
    order: 2;
    width: 100% !important;
    height: calc(100dvh - 90px) !important;
    flex: 1 1 auto;
    min-height: 0;
  }
}
.personal-agent {
  --pa-ink: #1b2421;
  --pa-muted: #66716c;
  --pa-line: #e4e8e3;
  --pa-green: #3f7461;
  --pa-green-deep: #2f5a4a;
  --pa-wash: #e7f0eb;
  width: 100%;
  min-height: 100%;
  overflow: auto;
  box-sizing: border-box;
  padding: 28px 36px 32px;
  background: #fff;
  color: var(--pa-ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.011em;
}
.personal-agent button, .personal-agent input, .personal-agent textarea {
  font: inherit;
  color: inherit;
}
.personal-agent button {
  cursor: pointer;
}

.dark .personal-agent {
  --pa-ink: #f3f6f4;
  --pa-muted: #c5cdc8;
  --pa-line: #3a4440;
  --pa-wash: #24302c;
  background: #111827;
  color: var(--pa-ink);
}

.personal-agent-grid {
  max-width: 760px;
  margin-inline: auto;
}

.personal-agent-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 18px;
  min-height: 200px;
}

.personal-agent .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.personal-agent .name {
  width: 388px;
  max-width: 100%;
  align-self: center;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--pa-line);
  padding: 0 14px;
  font-size: 18px;
  outline: none;
  background: #fff;
}

.personal-agent .name:focus {
  border-color: #b7c9c0;
}

.personal-agent .name::placeholder {
  color: #8b948f;
}

.dark .personal-agent .name {
  background: #1c2422;
}

.personal-agent .purpose-label {
  width: 388px;
  max-width: 100%;
  align-self: center;
  font-size: 13px;
  color: var(--pa-muted);
}

.personal-agent .purpose {
  width: 388px;
  max-width: 100%;
  align-self: center;
  box-sizing: border-box;
  min-height: 88px;
  border-radius: 12px;
  border: 1px solid var(--pa-line);
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  outline: none;
  background: #fff;
}

.personal-agent .purpose:focus {
  border-color: #b7c9c0;
}

.personal-agent .purpose::placeholder {
  color: #8b948f;
}

.dark .personal-agent .purpose {
  background: #1c2422;
}

.personal-agent .colors {
  display: flex;
  justify-content: space-between;
  align-self: center;
  width: 388px;
  max-width: 100%;
}

.personal-agent .shapes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  align-self: center;
}

.personal-agent .shape {
  width: 52px;
  height: 48px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 0;
}

.personal-agent .shape.is-on {
  outline: 2px solid var(--pa-green);
  outline-offset: 2px;
}

.personal-agent .swatch,
.personal-agent .host {
  border: 1px solid var(--pa-line);
  background: #fff;
}

.personal-agent .swatch {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  padding: 0;
}

.personal-agent .swatch.is-on {
  outline: 2px solid var(--pa-ink);
  outline-offset: 2px;
}

.dark .personal-agent .host {
  background: #1c2422;
}

.dark .personal-agent .swatch {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.personal-agent .hosts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.personal-agent .host-slot {
  display: flex;
  min-width: 0;
}

.personal-agent .host-slot .host {
  width: 100%;
}

.personal-agent .host {
  text-align: center;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--pa-ink);
}

.personal-agent .host.is-on {
  border-color: var(--pa-green);
  background: var(--pa-wash);
}

/* Disabled buttons ignore cursor. The slot receives the hover. */
.personal-agent .host-slot.is-locked,
.personal-agent .host-slot.is-locked:hover {
  cursor: not-allowed;
}

.personal-agent .host.is-locked {
  /* meeting.scss hides every disabled button. These cards must stay visible. */
  display: block;
  appearance: none;
  pointer-events: none;
  filter: grayscale(1);
  background-color: #9aa39e;
  color: #3d4541;
  border-color: #868e8a;
  cursor: not-allowed;
}

.personal-agent .host .host-signs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  min-height: 72px;
}

.personal-agent .host .host-mark {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.personal-agent .host-signs .flag {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--pa-line);
}

.personal-agent .host strong {
  display: block;
  font-size: 14px;
}

.personal-agent .host span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--pa-muted);
  line-height: 1.35;
}

.personal-agent .host .host-reason {
  color: #3d4541;
  font-weight: 600;
}

.personal-agent .primary {
  display: block;
  margin-inline: auto;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--pa-green);
  color: #fff;
  font-weight: 650;
  font-size: 15px;
}

.personal-agent .primary:hover {
  background: var(--pa-green-deep);
}

.personal-agent-error {
  margin: 0 auto 16px;
  max-width: 760px;
  color: #8d000e;
  font-size: 14px;
}

.personal-agent .avatar,
.personal-agent-menu .avatar,
.meeting-room .avatar {
  display: block;
  overflow: visible;
}

.personal-agent-menu a {
  overflow: visible;
}

.personal-agent .avatar .body,
.meeting-room .avatar .body {
  transform-box: fill-box;
  transform-origin: center;
}

.personal-agent .avatar .eyes,
.meeting-room .avatar .eyes {
  transform-box: fill-box;
  transform-origin: center;
}

.personal-agent .avatar .lid,
.meeting-room .avatar .lid {
  transform-box: fill-box;
  transform-origin: center;
  animation: pa-blink 4.6s infinite;
}

.personal-agent .avatar.is-idle .eyes,
.meeting-room .avatar.is-idle .eyes {
  animation: pa-look 6.5s ease-in-out infinite;
}

.personal-agent .avatar--gaze.is-idle .eyes {
  animation: none;
}

.personal-agent .avatar--hero.is-idle .body,
.meeting-room .avatar--hero.is-idle .body {
  animation: pa-floaty 3.4s ease-in-out infinite;
}

@keyframes pa-blink {
  0%, 42%, 48%, 100% {
    transform: scaleY(1);
  }
  45% {
    transform: scaleY(0.12);
  }
}
@keyframes pa-look {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(2.5px, -0.5px);
  }
  55% {
    transform: translate(-2px, 1px);
  }
  78% {
    transform: translate(0.5px, -1px);
  }
}
@keyframes pa-floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
/* In the message, under the chat layout. A fixed face sat behind main (z-10). */
.personal-agent-stream-slot {
  display: inline-flex;
  width: 64px;
  height: 64px;
  flex: none;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.personal-agent-stream-slot .avatar {
  display: block;
  overflow: visible;
}

.personal-agent-stream-slot .avatar.is-think,
.meeting-room .avatar.is-think {
  animation: pa-stream-face 1.2s ease-in-out infinite;
}

.personal-agent-stream-slot .avatar.is-think .body,
.personal-agent-stream-slot .avatar.is-think .eyes,
.personal-agent-stream-slot .avatar.is-think .lid,
.meeting-room .avatar.is-think .body,
.meeting-room .avatar.is-think .eyes,
.meeting-room .avatar.is-think .lid {
  transform-box: fill-box;
  transform-origin: center;
}

.personal-agent-stream-slot .avatar.is-think .eyes,
.meeting-room .avatar.is-think .eyes {
  animation: pa-look 2.4s ease-in-out infinite;
}

.personal-agent-stream-slot .avatar.is-think .lid,
.meeting-room .avatar.is-think .lid {
  animation: pa-blink-think 2.2s infinite;
}

@keyframes pa-stream-face {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes pa-blink-think {
  0%, 6%, 12%, 42%, 48%, 100% {
    transform: scaleY(1);
  }
  9%, 45% {
    transform: scaleY(0.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .personal-agent .avatar .lid,
  .personal-agent .avatar .eyes,
  .personal-agent .avatar .body,
  .personal-agent-stream-slot .avatar.is-think,
  .personal-agent-stream-slot .avatar.is-think .eyes,
  .personal-agent-stream-slot .avatar.is-think .lid,
  .meeting-room .avatar,
  .meeting-room .avatar .lid,
  .meeting-room .avatar .eyes,
  .meeting-room .avatar .body,
  .agent-details-hero .avatar,
  .agent-details-hero .avatar .lid,
  .agent-details-hero .avatar .eyes {
    animation: none !important;
  }
}
@media (max-width: 720px) {
  .personal-agent {
    padding: 20px 16px 28px;
  }
  .personal-agent .hosts {
    grid-template-columns: 1fr;
  }
}
.agents-column {
  container-type: inline-size;
  container-name: agents;
}

.agents-column-handle {
  flex: none;
  width: 6px;
  margin-left: -3px;
  margin-right: -3px;
  cursor: col-resize;
  position: relative;
  z-index: 2;
  touch-action: none;
}

.agents-column-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2px;
  width: 2px;
  background: transparent;
}

.agents-column-handle:hover::before,
body.agents-column-dragging .agents-column-handle::before {
  background: #c5d5cc;
}

body.agents-column-dragging {
  cursor: col-resize;
  user-select: none;
}

.agent-row,
.agents-back,
.agents-profile,
.agents-column-title {
  position: relative;
}

#agents-shell .agents-column-title {
  color: #111827 !important;
}

.dark #agents-shell .agents-column-title {
  color: #f3f4f6 !important;
}

.agents-salon-title {
  color: #f3f4f6;
}

a.agents-salon-link,
a.agents-salon-link:visited {
  color: inherit;
}

#chat_header.personal-agent-chat-header {
  background-color: transparent !important;
  border-bottom-color: transparent !important;
}

@container agents (max-width: 148px) {
  .agents-column-title,
  .agents-column-label,
  .agent-row-text,
  .agent-row-name,
  .agent-row-preview,
  .agent-group-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .agents-column-head,
  .agent-row,
  .agents-back,
  .agents-profile {
    justify-content: center;
    gap: 0;
    padding-inline: 0;
  }
  a.agent-row {
    padding-right: 0;
  }
  .agent-row-more {
    display: none;
  }
}
.agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(100%, 280px);
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  border: 1px solid #e4e8e3;
  background: #f4f7f5;
  color: #1b2421;
}

.agent-badge-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.agent-face-button {
  display: inline-flex;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.agent-face-button:hover,
.agent-face-button:focus-visible {
  outline: 2px solid #3f7461;
  outline-offset: 2px;
}

.dark .agent-badge {
  border-color: #3a4440;
  background: #2a3330;
  color: #f3f6f4;
}

/* Agents shell: the column is Tailwind gray-900. The badge, the chat and the
   details panel follow it, including over an organization chat color. */
.dark #agents-shell .agent-badge,
.dark #agents-shell .agent-details-panel,
.dark #agents-shell .document-pane-chat,
.dark #agents-shell #messages,
.dark #agents-shell #messages .custom-theme-chat-bg:not(.btn),
.dark #agents-shell #chat-form,
.dark #agents-shell #chat-pane-loading {
  background-color: #111827 !important;
}

.agent-badge-name {
  font-size: 14px;
  font-weight: 600;
}

.agent-badge-chevron {
  width: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 11px;
  color: #66716c;
}

.agent-badge:hover .agent-badge-chevron,
.agent-badge:focus-visible .agent-badge-chevron {
  width: 12px;
  opacity: 1;
}

.agent-details-root.agent-details-open .agent-badge-chevron,
.agent-details-root.agent-details-open .agent-badge:hover .agent-badge-chevron,
.agent-details-root.agent-details-open .agent-badge:focus-visible .agent-badge-chevron {
  width: 0;
  opacity: 0;
}

.agent-face-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 28, 25, 0.45);
}

.agent-face-modal[hidden] {
  display: none !important;
}

.agent-face-sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(420px, 100vw - 48px);
  padding: 16px 16px 44px;
  border-radius: 16px;
  background: #fff;
  color: #1b2421;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.dark .agent-face-sheet {
  background: #171d1b;
  color: #f3f6f4;
}

.agent-face-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.agent-face-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.agent-face-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.agent-face-close:hover {
  background: #f4f7f5;
}

.dark .agent-face-close:hover {
  background: #24302c;
}

.agent-face-preview {
  display: flex;
  justify-content: center;
  min-height: 96px;
}

.agent-face-shapes,
.agent-face-colors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.agent-face-shape {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.agent-face-shape.is-on {
  outline: 2px solid #3f7461;
  outline-offset: 2px;
}

.agent-face-swatch {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.agent-face-swatch.is-on {
  outline: 2px solid #1b2421;
  outline-offset: 2px;
}

.dark .agent-face-swatch {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.dark .agent-face-swatch.is-on {
  outline-color: #f3f6f4;
}

.agent-details-panel {
  display: none;
  flex: none;
  width: min(340px, 100%);
  flex-direction: column;
  border-left: 1px solid #e4e8e3;
  background: #fff;
  color: #1b2421;
  overflow: auto;
}

.dark .agent-details-panel {
  border-color: #2c3532;
  background: #171d1b;
  color: #f3f6f4;
}

.agent-details-root.agent-details-open .agent-details-panel {
  display: flex;
}

.agent-details-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
}

.agent-details-kicker {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #66716c;
}

.agent-details-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.agent-details-body {
  padding: 12px 20px 28px;
}

.agent-details-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.agent-details-hero h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  text-align: center;
}

.agent-details-name {
  width: 100%;
}

.agent-details-name-input {
  width: 100%;
  margin: 0;
  padding: 2px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 20px;
  font-weight: 650;
  text-align: center;
}

.agent-details-name-input:hover,
.agent-details-name-input:focus {
  outline: none;
  background: #f4f7f5;
}

.dark .agent-details-name-input:hover,
.dark .agent-details-name-input:focus {
  background: #24302c;
}

.agent-details-description {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 8px;
}

.agent-details-description-label {
  font-size: 12px;
  color: #66716c;
}

.agent-details-description-input {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  resize: vertical;
  min-height: 72px;
}

.agent-details-description-input:hover,
.agent-details-description-input:focus {
  outline: none;
  background: #f4f7f5;
}

.dark .agent-details-description-input:hover,
.dark .agent-details-description-input:focus {
  background: #24302c;
}

.agent-details-description-input::placeholder {
  color: #8b948f;
}

.agent-details-description-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.agent-details-hero .avatar {
  display: block;
  overflow: visible;
}

.agent-details-hero .avatar .body,
.agent-details-hero .avatar .eyes,
.agent-details-hero .avatar .lid {
  transform-box: fill-box;
  transform-origin: center;
}

.agent-details-root.agent-details-open .agent-details-hero .avatar {
  animation: pa-details-live 8s ease-in-out infinite;
}

.agent-details-root.agent-details-open .agent-details-hero .avatar .eyes {
  animation: pa-details-gaze 8s ease-in-out infinite;
  animation-delay: 0s !important;
}

.agent-details-root.agent-details-open .agent-details-hero .avatar .lid {
  animation: pa-details-wink 8s linear infinite;
  animation-delay: 0s !important;
}

@keyframes pa-details-live {
  0%, 100% {
    transform: none;
  }
  16% {
    transform: rotate(-5deg);
  }
  34% {
    transform: rotate(4deg);
  }
  48% {
    transform: translateY(3px) rotate(1deg);
  }
  62% {
    transform: translateY(-2px) rotate(-2deg);
  }
  74% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-4deg);
  }
  86% {
    transform: rotate(2deg);
  }
  94% {
    transform: none;
  }
}
@keyframes pa-details-gaze {
  0%, 100% {
    transform: translate(1px, -1px);
  }
  16% {
    transform: translate(6px, -1px);
  }
  34% {
    transform: translate(-5px, 1px);
  }
  48% {
    transform: translate(0, 3px);
  }
  64% {
    transform: translate(2px, -4px);
  }
  82% {
    transform: translate(5px, 0);
  }
}
@keyframes pa-details-wink {
  0%, 12%, 18%, 58%, 64%, 100% {
    transform: scaleY(1);
  }
  15%, 61% {
    transform: scaleY(0.12);
  }
}
.agent-details-files {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #e4e8e3;
}

.dark .agent-details-files {
  border-color: #2c3532;
}

.agent-details-files h3,
.agent-details-files-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #66716c;
}

.agent-details-files-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 4px;
  padding: 4px 6px;
}

.agent-details-files-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #66716c;
}

.agent-details-files ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.agent-details-files li {
  margin: 0;
}

.agent-details-file {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 5px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.agent-details-files-more {
  display: block;
  margin: 2px 0 0;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: #66716c;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.agent-details-files-more:hover,
.agent-details-files-more:focus-visible {
  color: #1b2421;
}

.dark .agent-details-files-more:hover,
.dark .agent-details-files-more:focus-visible {
  color: #f3f6f4;
}

.agent-details-file span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-details-file:hover,
.agent-details-file:focus-visible {
  background: #f4f7f5;
}

.dark .agent-details-file:hover,
.dark .agent-details-file:focus-visible {
  background: #24302c;
}

.agent-details-file-icon {
  flex: none;
  width: 14px;
  color: #3f7461;
  text-align: center;
}

.dark .agent-details-file-icon {
  color: #8fbfa8;
}

.agent-details-files-empty {
  margin: 8px 0 0;
  font-size: 14px;
  color: #66716c;
}

.agent-files-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 28, 25, 0.45);
}

.agent-files-modal[hidden] {
  display: none !important;
}

.agent-files-sheet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(480px, 100vw - 48px);
  max-height: min(640px, 100vh - 48px);
  overflow: auto;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: #fff;
  color: #1b2421;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.dark .agent-files-sheet {
  background: #171d1b;
  color: #f3f6f4;
}

.agent-files-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agent-files-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.agent-files-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.agent-files-close:hover {
  background: #f4f7f5;
}

.dark .agent-files-close:hover {
  background: #24302c;
}

.agent-files-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f4f7f5;
  color: #66716c;
}

.dark .agent-files-search {
  background: #24302c;
}

.agent-files-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.agent-files-empty {
  margin: 0;
  font-size: 14px;
  color: #66716c;
}

.agent-files-empty[hidden],
.agent-files-pager[hidden],
.agent-files-list li[hidden] {
  display: none;
}

.agent-files-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.agent-files-list li {
  margin: 0;
}

.agent-files-line {
  display: flex;
  align-items: center;
  gap: 2px;
}

.agent-files-line > .agent-files-row {
  flex: 1;
  min-width: 0;
}

.agent-files-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

button.agent-files-row {
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.agent-files-download {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #98a29d;
  font-size: 12px;
  text-decoration: none;
}

.agent-files-download:hover {
  background: #f4f7f5;
  color: #1b2421;
}

.dark .agent-files-download {
  color: #7d8a84;
}

.dark .agent-files-download:hover {
  background: #24302c;
  color: #f3f6f4;
}

.agent-files-row:hover {
  background: #f4f7f5;
}

.dark .agent-files-row:hover {
  background: #24302c;
}

.agent-files-icon {
  flex: none;
  width: 16px;
  color: #3f7461;
  text-align: center;
}

.dark .agent-files-icon {
  color: #8fbfa8;
}

.agent-files-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.agent-files-row time {
  flex: none;
  font-size: 12px;
  color: #66716c;
}

.agent-files-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: #66716c;
}

.agent-files-pager button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.agent-files-pager button:hover:not(:disabled) {
  background: #f4f7f5;
}

.dark .agent-files-pager button:hover:not(:disabled) {
  background: #24302c;
}

.agent-files-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.agent-details-panel dl {
  margin: 0;
}

.agent-details-panel dl > div {
  padding: 12px 0;
  border-top: 1px solid #e4e8e3;
}

.dark .agent-details-panel dl > div {
  border-color: #2c3532;
}

.agent-details-panel dt {
  font-size: 12px;
  color: #66716c;
  margin-bottom: 4px;
}

.agent-details-panel dd {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 800px) {
  .agent-details-root.agent-details-open .agent-details-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    width: min(100%, 360px);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  }
}
.agent-row-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.agent-row-name,
.agent-row-preview {
  display: block;
}

.agent-row-preview {
  margin-top: 1px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  color: #b0b8b3;
}

.dark .agent-row-preview {
  color: #c5cdc8;
}

a.agent-row {
  padding-right: 2.25rem;
}

.agent-group-name {
  padding: 10px 12px 2px;
  font-size: 12px;
  font-weight: 600;
}

.agent-row-more {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  opacity: 0;
  border: 0;
  background: transparent;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.agent-row-wrap:hover .agent-row-more,
.agent-row-wrap:focus-within .agent-row-more,
.agent-row-wrap.is-open .agent-row-more {
  opacity: 1;
}

.agent-row-menu {
  position: fixed;
  z-index: 80;
  width: 220px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid #e4e8e3;
  background: #fff;
  color: #1b2421;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dark .agent-row-menu {
  border-color: #2c3532;
  background: #1c2422;
  color: #f3f6f4;
}

.agent-menu-item,
.agent-menu-input {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: inherit;
  cursor: pointer;
}

.agent-menu-item:hover,
.agent-menu-input:focus {
  background: #f4f7f5;
  outline: none;
}

.dark .agent-menu-item:hover,
.dark .agent-menu-input:focus {
  background: #2a3330;
}

.agent-menu-label {
  padding: 6px 10px 2px;
  font-size: 12px;
  color: #66716c;
}

.agent-menu-create {
  margin: 0;
}

.agent-drop-hint {
  display: none;
}

.agent-board.is-sorting .agent-zone {
  min-height: 32px;
  margin: 2px 8px;
  border-radius: 8px;
}

.agent-board.is-sorting .agent-zone.is-over {
  background: rgba(63, 116, 97, 0.14);
}

.agent-board.is-sorting .agent-drop-hint {
  display: block;
  padding: 6px 12px;
  font-size: 12px;
  color: #66716c;
}

.agent-routine-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.agent-routine-row .agent-details-file {
  flex: 1;
}

.agent-routine-row .agent-details-file > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.agent-routine-when {
  color: #66716c;
  font-size: 11px;
}

.agent-routines-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 28, 25, 0.45);
}

.agent-routines-modal[hidden] {
  display: none !important;
}

.agent-routines-sheet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(480px, 100vw - 48px);
  max-height: min(640px, 100vh - 48px);
  overflow: auto;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: #fff;
  color: #1b2421;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.dark .agent-routines-sheet {
  background: #171d1b;
  color: #f3f6f4;
}

.agent-routine-meta {
  margin: 0;
  font-size: 13px;
  color: #66716c;
}

.agent-routine-instructions,
.agent-routine-excerpt {
  margin: 0;
  font-size: 14px;
  white-space: pre-wrap;
}

.agent-routine-excerpt {
  color: #3c4742;
}

.dark .agent-routine-excerpt {
  color: #d5ddd8;
}

.agent-routine-result {
  font-size: 13px;
  color: #1f7a4d;
}

.agent-routine-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.agent-routine-actions p {
  margin: 0;
  font-size: 13px;
}

.agent-routine-actions form {
  margin: 0;
}

.agent-routine-delete {
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  background: #f4f7f5;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.dark .agent-routine-delete {
  background: #24302c;
}

.agent-routine-delete {
  color: #9a3412;
}

@container agents (max-width: 148px) {
  a.agent-row {
    justify-content: center;
    gap: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .agent-row-text {
    position: absolute;
    flex: none;
  }
  .agent-row-more,
  .agent-board.is-sorting .agent-drop-hint {
    display: none;
  }
}
/* Pour les listes de plus de 100 élements : */
.prose :where(ol):not(:where([class~=not-prose] *)) {
  padding-left: 2.5em !important;
}
