/* src/style.css */
:root {
  --ppt-red: #c43e1c;
  --ppt-red-dark: #a83417;
  --ppt-red-darker: #8d2c13;
  --ppt-accent: #b7472a;
  --header-bg: #f5f5f5;
  --header-border: #d4d4d4;
  --workspace-bg: #e6e6e6;
  --rail-bg: #f0f0f0;
  --sel-fill: #b7472a14;
  --text: #242424;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow: hidden;
  color: var(--text);
  user-select: none;
  height: 100%;
  font-family: Segoe UI, -apple-system, Helvetica Neue, sans-serif;
  font-size: 13px;
}

body {
  display: flex;
  flex-direction: column;
}

button {
  color: inherit;
  font-family: inherit;
}

#titlebar {
  background: linear-gradient(to bottom, #c8431f, var(--ppt-red));
  color: #fff;
  display: flex;
  flex: none;
  align-items:  center;
  height: 40px;
  padding: 0 0 0 10px;
}

.tb-left {
  display: flex;
  flex: 1;
  align-items:  center;
  gap: 10px;
  min-width: 0;
}

.tb-logo {
  color: var(--ppt-red);
  display: flex;
  background: #fff;
  border-radius: 3px;
  flex: none;
  justify-content: center;
  align-items:  center;
  width: 24px;
  height: 24px;
  font-size: 15px;
  font-weight: 700;
}

.tb-quick {
  display: flex;
  align-items:  center;
  gap: 2px;
}

.tb-qbtn {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 3px;
  padding: 4px 7px;
  font-size: 13px;
}

.tb-qbtn:hover {
  background: #ffffff26;
}

.tb-qbtn:disabled {
  opacity: .45;
  cursor: default;
}

.tb-qbtn:disabled:hover {
  background: none;
}

.tb-autosave {
  display: flex;
  align-items:  center;
  gap: 5px;
  font-size: 11.5px;
}

.tb-pill {
  background: #ffffff40;
  border-radius: 8px;
  padding: 1px 7px;
  font-size: 10px;
}

.tb-autosave.as-pulse .tb-pill {
  animation: as-pulse 1.2s ease-in-out infinite;
}

@keyframes as-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.tb-autosave.as-error .tb-pill {
  color: #fff;
  background: #c43e1c;
}

#doc-title {
  color: #fff;
  opacity: .95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 13px;
}

#doc-title:hover {
  background: #ffffff26;
}

.rename-popover {
  position: fixed;
  z-index: 200;
  color: #222;
  background: #fff;
  border: 1px solid #c6c6c6;
  border-radius: 6px;
  width: 300px;
  padding: 12px 14px;
  font-size: 12.5px;
  box-shadow: 0 10px 28px #0000003d;
}

.rename-popover label {
  display: block;
  color: #444;
  margin-bottom: 6px;
  font-weight: 600;
}

.rename-popover input {
  box-sizing: border-box;
  font: inherit;
  user-select: text;
  border: 1px solid #999;
  border-radius: 3px;
  width: 100%;
  padding: 5px 7px;
}

.rename-popover input:focus {
  outline: 1px solid var(--ppt-accent);
  border-color: var(--ppt-accent);
}

.tb-search {
  color: #ffffffe6;
  cursor: text;
  background: #ffffff2e;
  border-radius: 4px;
  flex: 0 0 30%;
  max-width: 560px;
  padding: 5px 12px;
  font-size: 12.5px;
}

.tb-search:hover {
  background: #ffffff47;
}

.tb-right {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items:  center;
  gap: 10px;
}

.tb-avatar {
  color: #fff;
  display: flex;
  background: #813a96;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 26px;
  height: 26px;
  font-size: 12.5px;
  font-weight: 600;
}

.tb-winctl {
  display: flex;
  align-self: stretch;
}

.winbtn {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  width: 44px;
  font-size: 11px;
}

.winbtn:hover {
  background: #ffffff26;
}

.winclose:hover {
  background: #e81123;
}

#ribbon-tabs {
  background: var(--ppt-red);
  display: flex;
  flex: none;
  align-items:  flex-end;
  height: 32px;
  padding: 0 8px;
}

.rtab {
  color: #ffffffeb;
  cursor: default;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
  padding: 6px 13px;
  font-size: 12.5px;
}

.rtab:hover:not(.active):not(.file) {
  background: #ffffff1f;
}

.rtab.file {
  background: var(--ppt-red-darker);
  cursor: pointer;
  font-weight: 600;
}

.rtab.file:hover {
  background: var(--ppt-red-dark);
}

.rtab.active {
  color: var(--ppt-red);
  background: #fff;
  font-weight: 600;
}

.rtabs-fill {
  flex: 1;
}

.rtab-side {
  color: #ffffffeb;
  padding: 6px 12px;
  font-size: 12px;
}

.rtab-share {
  color: var(--ppt-red);
  background: #fff;
  border-radius: 4px;
  margin: 0 4px 3px 0;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

#ribbon {
  border-bottom: 1px solid var(--header-border);
  background: #fff;
  flex: none;
  height: 94px;
}

.ribbon-pane {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: stretch;
  height: 100%;
  padding: 2px 8px 0;
}

.ribbon-pane[hidden] {
  display: none;
}

.rgroup {
  display: flex;
  flex-direction: column;
  flex: none;
  padding: 2px 4px 0;
}

.rgroup-body {
  display: flex;
  flex: 1;
  align-items:  flex-start;
  gap: 2px;
  padding-top: 2px;
}

.rgroup-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  padding-top: 6px;
}

.rgroup-label {
  text-align: center;
  color: #888;
  white-space: nowrap;
  flex: none;
  padding: 1px 6px 3px;
  font-size: 10.5px;
}

.rgsep {
  background: #e3e3e3;
  flex: none;
  width: 1px;
  margin: 6px 3px;
}

.rrow {
  display: flex;
  align-items:  center;
  gap: 1px;
}

.rbig {
  cursor: pointer;
  display: flex;
  background: none;
  border: 1px solid #0000;
  border-radius: 4px;
  flex-direction: column;
  justify-content: flex-start;
  align-items:  center;
  gap: 2px;
  width: 52px;
  height: 68px;
  padding: 5px 2px 2px;
  font-size: 11.5px;
  line-height: 1.15;
}

.rbig:hover {
  background: #f2f2f2;
  border-color: #e0e0e0;
}

.rbig-icon {
  font-size: 22px;
  line-height: 26px;
}

.rbig-label {
  text-align: center;
}

.rbig .rcaret {
  margin: 0;
}

.rbig-newslide {
  position: relative;
  width: 26px;
  height: 26px;
}

.ns-page {
  position: absolute;
  background: #fff;
  border: 1.5px solid #b15f0e;
  border-radius: 2px;
  inset: 1px 3px;
}

.ns-star {
  position: absolute;
  color: #d8a200;
  font-size: 12px;
  top: -4px;
  right: -3px;
}

.rcol {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.rsmall {
  cursor: pointer;
  display: flex;
  white-space: nowrap;
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 3px;
  align-items:  center;
  gap: 5px;
  height: 22px;
  padding: 2px 6px;
  font-size: 11.5px;
}

.rsmall:hover {
  background: #f2f2f2;
  border-color: #e0e0e0;
}

.rs-icon {
  text-align: center;
  flex: none;
  width: 15px;
  font-size: 12px;
}

.rsmall .fmt-stack {
  flex: none;
  width: 15px;
}

.rfmt {
  cursor: pointer;
  display: inline-flex;
  background: none;
  border: 1px solid #0000;
  border-radius: 3px;
  justify-content: center;
  align-items:  center;
  gap: 1px;
  min-width: 24px;
  height: 23px;
  padding: 1px 5px;
  font-size: 12.5px;
}

.rfmt:hover {
  background: #f2f2f2;
  border-color: #e0e0e0;
}

.rfmt.active {
  background: #fbe2da;
  border-color: #e8b5a5;
}

.rshadow {
  text-shadow: 1.5px 1.5px 1.5px #999;
}

.rcaret {
  color: #666;
  margin-left: 2px;
  font-size: 8px;
}

.rselect {
  border: 1px solid var(--header-border);
  color: var(--text);
  background: #fff;
  border-radius: 3px;
  height: 23px;
  padding: 0 2px;
  font-family: inherit;
  font-size: 12px;
}

.rselect-font {
  width: 122px;
}

.rselect-size {
  width: 46px;
}

.fmt-stack {
  display: inline-flex;
  vertical-align: middle;
  flex-direction: column;
  align-items:  center;
  gap: 1px;
}

.fc-a {
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
}

.cbar {
  display: block;
  border: .5px solid #00000026;
  width: 14px;
  height: 3px;
}

.al-icon {
  display: inline-flex;
  vertical-align: middle;
  flex-direction: column;
  gap: 2.5px;
  width: 13px;
}

.al-icon i {
  background: #555;
  border-radius: 1px;
  width: 100%;
  height: 1.5px;
}

.al-icon i:nth-child(2) {
  width: 62%;
}

.al-icon.left {
  align-items:  flex-start;
}

.al-icon.center {
  align-items:  center;
}

.al-icon.right {
  align-items:  flex-end;
}

.al-icon.justify i:nth-child(2) {
  width: 100%;
}

.bullet-icon {
  display: inline-flex;
  flex-direction: column;
  width: 14px;
}

.bullet-icon i {
  color: #555;
  text-align: left;
  border-bottom: 1px solid #aaa;
  margin-bottom: 1px;
  padding: 0 0 1px 1px;
  font-size: 7px;
  font-style: normal;
  line-height: 5px;
}

.col-icon {
  display: inline-flex;
  gap: 2px;
}

.col-icon i {
  border: 1px solid #555;
  border-radius: 1px;
  width: 5px;
  height: 12px;
}

.shape-gallery {
  display: flex;
  border: 1px solid var(--header-border);
  overflow: hidden;
  background: #fff;
  border-radius: 3px;
  height: 64px;
}

.shape-grid {
  display: grid;
  grid-template-columns: repeat(8, 24px);
  grid-auto-rows: 31px;
  overflow: hidden;
}

.shape-cell {
  color: #444;
  cursor: pointer;
  display: flex;
  background: none;
  border: 1px solid #0000;
  justify-content: center;
  align-items:  center;
  font-size: 13px;
}

.shape-cell:hover {
  background: #fbe2da;
  border-color: #e8b5a5;
}

.shape-spin {
  display: flex;
  border-left: 1px solid var(--header-border);
  flex-direction: column;
}

.shape-spin-btn {
  color: #666;
  cursor: pointer;
  display: flex;
  background: #fafafa;
  border: none;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items:  center;
  width: 17px;
  font-size: 8px;
}

.shape-spin-btn:hover {
  background: #f0f0f0;
}

.shape-spin-more .spin-bar {
  background: #666;
  width: 9px;
  height: 1.5px;
  margin-top: 1px;
}

.menu {
  position: fixed;
  z-index: 101;
  background: #fff;
  border: 1px solid #c8c8c8;
  min-width: 170px;
  padding: 4px 0;
  font-size: 12.5px;
  box-shadow: 0 4px 12px #0000002e;
}

.menu-item {
  cursor: pointer;
  display: flex;
  position: relative;
  align-items:  center;
  gap: 8px;
  padding: 6px 16px;
}

.menu-item:hover {
  background: #f2f2f2;
}

.menu-item.disabled {
  color: #aaa;
  cursor: default;
}

.menu-item.disabled:hover {
  background: none;
}

.menu-sep {
  background: #e3e3e3;
  height: 1px;
  margin: 4px 0;
}

.menu-head {
  color: #777;
  padding: 4px 12px 6px;
  font-size: 11px;
}

.menu-arrow {
  color: #888;
  margin-left: auto;
  font-size: 10px;
}

.menu-item.disabled .menu-arrow {
  color: #ccc;
}

.menu-sub {
  display: none;
  position: absolute;
  z-index: 102;
  background: #fff;
  border: 1px solid #c8c8c8;
  min-width: 170px;
  padding: 4px 0;
  top: -5px;
  left: calc(100% - 4px);
  box-shadow: 0 4px 12px #0000002e;
}

.menu-sub.open {
  display: block;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, 88px);
  gap: 8px;
  padding: 6px 12px 10px;
}

.layout-card {
  cursor: pointer;
  text-align: center;
  color: #555;
  font-size: 10.5px;
}

.layout-card:hover .layout-thumb {
  outline: 2px solid var(--ppt-accent);
}

.layout-thumb {
  position: relative;
  background: #fff;
  border: 1px solid #c8c8c8;
  width: 88px;
  height: 50px;
  margin-bottom: 3px;
}

.layout-thumb i {
  position: absolute;
  background: #d8d8d8;
  border-radius: 1px;
}

#workspace {
  display: flex;
  background: var(--workspace-bg);
  flex: 1;
  min-height: 0;
}

#thumb-rail {
  background: var(--rail-bg);
  border-right: 1px solid var(--header-border);
  overflow-y: auto;
  overflow-x: hidden;
  flex: none;
  width: 196px;
  padding: 8px 6px 16px 2px;
}

.thumb-item {
  display: flex;
  cursor: pointer;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 2px;
}

.thumb-section {
  box-sizing: border-box;
  color: #444;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  height: 20px;
  padding: 6px 2px 0 22px;
  font-size: 10px;
  font-weight: 600;
}

.thumb-num {
  text-align: right;
  color: #555;
  flex: none;
  width: 18px;
  padding-top: 1px;
  font-size: 11px;
}

.thumb-item.selected .thumb-num {
  color: var(--text);
  font-weight: 700;
}

.thumb-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 1px;
  flex: none;
  width: 160px;
  height: 90px;
}

.thumb-item:hover .thumb-frame {
  border-color: #d35230;
}

.thumb-item.selected .thumb-frame {
  border: 2px solid var(--ppt-accent);
  outline: 1px solid #b7472a59;
}

.thumb-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.thumb-add {
  color: #666;
  cursor: pointer;
  background: none;
  border: 1px dashed #b0b0b0;
  border-radius: 2px;
  width: 160px;
  margin: 6px 2px 0 24px;
  padding: 8px 0;
  font-size: 12px;
}

.thumb-add:hover {
  background: #e8e8e8;
  border-color: #888;
}

#main-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

#slide-area {
  overflow: auto;
  position: relative;
  flex: 1;
  min-height: 0;
}

#slide-scroll {
  display: flex;
  min-width: 100%;
  min-height: 100%;
  padding: 24px;
}

#slide-canvas {
  background: #fff;
  margin: auto;
  box-shadow: 0 2px 4px #0003, 0 6px 18px #0000001f;
}

#notes-pane {
  border-top: 1px solid var(--header-border);
  display: flex;
  background: #fff;
  flex-direction: column;
  flex: none;
  height: 94px;
}

#notes-pane.collapsed {
  display: none;
}

#notes-grip {
  cursor: ns-resize;
  background: none;
  flex: none;
  height: 5px;
}

#notes-grip:hover {
  background: #e8e8e8;
}

#notes-input {
  outline: none;
  resize: none;
  color: var(--text);
  border: none;
  flex: 1;
  padding: 2px 56px 8px;
  font-family: Calibri, Segoe UI, sans-serif;
  font-size: 13px;
}

#notes-input::placeholder {
  color: #909090;
}

#statusbar {
  background: var(--ppt-red);
  color: #fffffff2;
  display: flex;
  flex: none;
  align-items:  center;
  gap: 4px;
  height: 24px;
  padding: 0 6px 0 10px;
  font-size: 11.5px;
}

#status-slide {
  white-space: nowrap;
  padding: 0 8px 0 2px;
}

.status-item {
  white-space: nowrap;
  opacity: .95;
  display: inline-flex;
  align-items:  center;
  gap: 2px;
  padding: 0 8px;
}

.status-item small {
  font-size: 9px;
}

#status-msg {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  font-weight: 600;
}

.status-btn.alert-chip {
  white-space: nowrap;
  background: #ffffff2e;
  border-radius: 3px;
  flex: none;
  padding: 0 8px;
  font-weight: 600;
}

.status-btn.alert-chip:hover {
  background: var(--ppt-red-dark);
}

.status-btn.alert-chip[hidden] {
  display: none;
}

.status-btn.alert-chip.chip-pulse {
  animation: chip-pulse .7s ease-out 2;
}

@keyframes chip-pulse {
  0% {
    background: #fff;
    color: var(--ppt-red);
  }

  100% {
    background: #ffffff2e;
    color: #fff;
  }
}

.alerts-panel {
  display: flex;
  flex-direction: column;
  width: 420px;
  top: auto;
  bottom: 32px;
  right: 12px;
}

.alerts-panel[hidden] {
  display: none;
}

.alerts-panel .fr-head {
  cursor: default;
}

.alerts-head {
  color: #333;
  padding: 10px 14px 0;
  line-height: 1.45;
}

.alerts-list {
  overflow: auto;
  color: #444;
  max-height: 38vh;
  margin: 8px 0 0;
  padding: 0 14px 2px 32px;
  font-size: 12px;
}

.alerts-list li {
  word-break: break-word;
  margin: 4px 0;
  line-height: 1.4;
}

.error-modal .error-lines div + div {
  margin-top: 9px;
}

.error-detail {
  word-break: break-word;
  user-select: text;
  background: #f6f6f6;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 6px 8px;
  font-family: ui-monospace, SF Mono, Menlo, Consolas, monospace;
  font-size: 11.5px;
}

.status-btn {
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  background: none;
  border: none;
  align-items:  center;
  gap: 4px;
  height: 24px;
  padding: 0 7px;
  font-size: 11.5px;
}

.status-btn:hover {
  background: var(--ppt-red-dark);
}

.status-views {
  display: flex;
  align-items: stretch;
  margin-left: 6px;
}

.sview.active {
  background: var(--ppt-red-darker);
}

.vi-normal {
  display: inline-flex;
  gap: 2px;
}

.vi-normal i:first-child {
  opacity: .9;
  background: #fff;
  width: 4px;
  height: 11px;
}

.vi-normal i:last-child {
  border: 1.5px solid #fff;
  width: 9px;
  height: 11px;
}

.vi-sorter {
  display: inline-grid;
  grid-template-columns: 6px 6px;
  gap: 1.5px;
}

.vi-sorter i {
  border: 1px solid #fff;
  width: 6px;
  height: 4.5px;
}

.vi-reading {
  display: inline-block;
  position: relative;
  border: 1.5px solid #fff;
  border-radius: 1px;
  width: 13px;
  height: 10px;
}

.vi-reading:after {
  content: "";
  position: absolute;
  background: #fff;
  height: 2px;
  bottom: 1px;
  left: 1px;
  right: 1px;
}

.vi-show {
  display: inline-block;
  border-top: 5px solid #0000;
  border-bottom: 5px solid #0000;
  border-left: 8px solid #fff;
  width: 0;
  height: 0;
}

.vi-fit {
  display: inline-block;
  position: relative;
  border: 1.5px solid #fff;
  width: 12px;
  height: 10px;
}

.vi-fit:after {
  content: "";
  position: absolute;
  border: 1px dashed #ffffffd9;
  inset: 1.5px;
}

.status-zoomer {
  display: flex;
  align-items:  center;
  margin-left: 4px;
}

.status-zoom-label {
  justify-content: flex-end;
  min-width: 42px;
}

#zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background: none;
  width: 110px;
  height: 24px;
  margin: 0 2px;
}

#zoom-slider::-webkit-slider-runnable-track {
  background: #fff9;
  height: 2px;
}

#zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #fff;
  border-radius: 1.5px;
  width: 7px;
  height: 14px;
  margin-top: -6px;
  box-shadow: 0 0 2px #0006;
}

#zoom-slider::-moz-range-track {
  background: #fff9;
  height: 2px;
}

#zoom-slider::-moz-range-thumb {
  background: #fff;
  border: none;
  border-radius: 1.5px;
  width: 7px;
  height: 14px;
}

.marquee {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  background: #4472c41a;
  border: 1px solid #2b579a;
}

.draw-rect {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  background: #8c8c8c0f;
  border: 1px solid #8c8c8c;
}

.cxn-site-layer {
  position: fixed;
  z-index: 91;
  pointer-events: none;
  inset: 0;
}

.cxn-site-dot {
  position: fixed;
  box-sizing: border-box;
  pointer-events: none;
  background: #8c8c8c;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
}

.cxn-site-dot.is-near {
  background: #107c10;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
}

.shape-pop {
  overflow-y: auto;
  width: 300px;
  max-height: min(480px, 70vh);
  padding: 2px 8px 8px;
}

.shape-pop-cap {
  color: #777;
  padding: 7px 2px 3px;
  font-size: 11px;
}

.shape-pop-grid {
  display: grid;
  grid-template-columns: repeat(10, 28px);
  gap: 1px;
}

.shape-tile {
  cursor: pointer;
  display: flex;
  background: none;
  border: 1px solid #0000;
  justify-content: center;
  align-items:  center;
  width: 28px;
  height: 28px;
  padding: 1px;
}

.shape-tile:hover {
  background: #fbe2da;
  border-color: #e8b5a5;
}

.shape-tile svg {
  stroke: #404040;
  fill: none;
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  width: 22px;
  height: 22px;
}

.shape-tile svg text {
  font-family: Segoe UI, Calibri, sans-serif;
}

.table-pop {
  padding: 2px 8px 8px;
}

.table-pop-cap {
  color: #777;
  padding: 7px 2px 5px;
  font-size: 11px;
}

.table-pop-grid {
  display: grid;
  grid-template-columns: repeat(10, 16px);
  gap: 2px;
}

.table-pop-cell {
  cursor: pointer;
  background: #fff;
  border: 1px solid #b5b5b5;
  width: 16px;
  height: 14px;
}

.table-pop-cell.on {
  border-color: var(--ppt-accent);
  background: #fbe2da;
}

.text-editor {
  position: absolute;
  z-index: 60;
  display: flex;
  box-sizing: border-box;
  outline: 1.5px dashed #8c8c8c;
  outline-offset: 1px;
  cursor: text;
  background: none;
  flex-direction: column;
}

.text-editor-body {
  outline: none;
  white-space: pre-wrap;
  word-break: break-word;
  caret-color: #242424;
  user-select: text;
  -webkit-user-select: text;
  width: 100%;
  line-height: 1.2;
}

.text-editor-body > div {
  min-height: 1em;
}

.text-editor-body > div[data-bullet] {
  text-indent: var(--bullet-ti);
}

.text-editor-body > div[data-bullet]:before {
  content: attr(data-bullet);
  display: inline-block;
  width: var(--bullet-gutter);
  text-indent: 0;
  font-family: var(--bullet-font, Arial), Arial, sans-serif;
  font-size: var(--bullet-size);
  color: var(--bullet-color, currentColor);
  text-decoration: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  font-style: normal;
  font-weight: 400;
}

.color-pop {
  padding: 2px 0 4px;
}

.color-cap {
  color: #777;
  padding: 5px 12px 3px;
  font-size: 11px;
}

.color-row {
  display: flex;
  gap: 3px;
  padding: 0 12px;
}

.color-swatch {
  cursor: pointer;
  border: 1px solid #c8c8c8;
  width: 16px;
  height: 16px;
  padding: 0;
}

.color-swatch:hover {
  outline: 2px solid #f2a886;
  outline-offset: 0;
}

body.view-reading #ribbon-tabs, body.view-reading #ribbon, body.view-reading #thumb-rail, body.view-reading #notes-pane {
  display: none;
}

body.view-reading #titlebar {
  height: 30px;
}

body.view-reading .tb-search, body.view-reading .tb-quick {
  display: none;
}

body.view-reading #slide-canvas {
  cursor: default !important;
}

#sorter, body.view-sorter #thumb-rail, body.view-sorter #main-col {
  display: none;
}

body.view-sorter #sorter {
  display: flex;
  overflow-y: auto;
  flex-wrap: wrap;
  flex: 1;
  align-content:  flex-start;
  gap: 12px 10px;
  padding: 18px 22px;
}

.sorter-card {
  cursor: pointer;
  width: 180px;
}

.sorter-section {
  box-sizing: border-box;
  color: #444;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-basis: 100%;
  height: 22px;
  padding-top: 6px;
  font-size: 11px;
  font-weight: 600;
}

.sorter-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 1px;
  width: 180px;
}

.sorter-card:hover .sorter-frame {
  border-color: #d35230;
}

.sorter-card.selected .sorter-frame {
  border: 2px solid var(--ppt-accent);
  outline: 1px solid #b7472a59;
}

.sorter-frame canvas {
  display: block;
  width: 100%;
}

.sorter-num {
  color: #555;
  padding: 3px 2px 0;
  font-size: 11px;
}

.sorter-card.selected .sorter-num {
  color: var(--text);
  font-weight: 700;
}

#show-host {
  position: fixed;
  z-index: 200;
  display: none;
  background: #000;
  justify-content: center;
  align-items:  center;
  inset: 0;
}

#show-host.active {
  display: flex;
}

#show-canvas {
  display: block;
}

#show-end {
  color: #fff;
  text-align: center;
  font-family: Segoe UI, sans-serif;
  font-size: 14px;
}

#show-counter {
  position: absolute;
  color: #ffffffbf;
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  bottom: 12px;
  left: 16px;
}

#show-counter.visible {
  opacity: 1;
}

#show-overlay {
  position: absolute;
  pointer-events: none;
  inset: 0;
}

#show-host[data-tool="pen"] {
  cursor: crosshair;
}

#show-host[data-tool="laser"] {
  cursor: none;
}

#show-blank {
  position: absolute;
  display: none;
  z-index: 3;
  background: #000;
  inset: 0;
}

#show-timer {
  position: absolute;
  color: #fffc;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  cursor: pointer;
  user-select: none;
  z-index: 4;
  background: #00000059;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 13px;
  top: 12px;
  left: 16px;
}

#show-timer.visible {
  opacity: 1;
}

#show-timer.paused {
  color: #f7c873;
}

.show-menu {
  position: absolute;
  color: #262626;
  z-index: 6;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 2px;
  min-width: 180px;
  padding: 4px 0;
  font-size: 12px;
  box-shadow: 0 4px 14px #00000059;
}

.show-menu-item {
  position: relative;
  display: flex;
  cursor: pointer;
  white-space: nowrap;
  justify-content: space-between;
  align-items:  center;
  gap: 16px;
  padding: 6px 16px;
}

.show-menu-item:hover {
  background: #f2f2f2;
}

.show-menu-item.disabled {
  color: #aaa;
  cursor: default;
}

.show-menu-item.disabled:hover {
  background: none;
}

.show-menu-sep {
  background: #e3e3e3;
  height: 1px;
  margin: 4px 0;
}

.show-menu-arrow {
  color: #888;
}

.show-menu .show-menu.sub {
  display: none;
  top: -5px;
  left: 100%;
}

.show-menu-item:hover > .show-menu.sub {
  display: block;
}

#show-grid {
  position: absolute;
  z-index: 5;
  display: flex;
  overflow-y: auto;
  background: #141414f5;
  flex-wrap: wrap;
  align-content:  flex-start;
  gap: 16px 14px;
  padding: 28px 32px;
  inset: 0;
}

.show-grid-card {
  cursor: pointer;
  width: 160px;
}

.show-grid-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid #555;
  width: 160px;
}

.show-grid-card:hover .show-grid-frame {
  border-color: #d35230;
}

.show-grid-frame canvas {
  display: block;
  width: 100%;
}

.show-grid-num {
  color: #ccc;
  padding: 3px 2px 0;
  font-size: 11px;
}

#reading-toolbar {
  display: none;
}

body.view-reading #reading-toolbar {
  position: fixed;
  z-index: 120;
  display: flex;
  color: #444;
  background: #f3f2f1;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  align-items:  center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 11px;
  bottom: 26px;
  right: 12px;
  box-shadow: 0 1px 4px #00000026;
}

#reading-toolbar button {
  cursor: pointer;
  color: #444;
  background: none;
  border: none;
  border-radius: 2px;
  padding: 2px 5px;
  font-size: 11px;
}

#reading-toolbar button:hover {
  background: #e1dfdd;
}

.show-menu.reading-menu {
  position: fixed;
  z-index: 130;
}

.thumb-item.hidden-slide .thumb-frame, .sorter-card.hidden-slide .sorter-frame, .show-grid-card.hidden-slide .show-grid-frame {
  opacity: .5;
}

.thumb-item.hidden-slide .thumb-num, .sorter-card.hidden-slide .sorter-num, .show-grid-card.hidden-slide .show-grid-num {
  position: relative;
  color: #999;
}

.thumb-item.hidden-slide .thumb-num:after, .sorter-card.hidden-slide .sorter-num:after, .show-grid-card.hidden-slide .show-grid-num:after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-top: 1.5px solid #8a8a8a;
  width: 1.4em;
  top: 55%;
  transform: rotate(-55deg);
}

.thumb-item.hidden-slide .thumb-num:after {
  right: 0;
}

.sorter-card.hidden-slide .sorter-num:after, .show-grid-card.hidden-slide .show-grid-num:after {
  left: 0;
}

.fr-dialog {
  position: fixed;
  z-index: 150;
  background: #fff;
  border: 1px solid #c6c6c6;
  border-radius: 6px;
  width: 360px;
  font-size: 12.5px;
  top: 132px;
  right: 56px;
  box-shadow: 0 10px 28px #0000003d;
}

.fr-head {
  display: flex;
  cursor: move;
  border-bottom: 1px solid #e3e3e3;
  justify-content: space-between;
  align-items:  center;
  padding: 8px 6px 8px 12px;
  font-weight: 600;
}

.fr-close {
  cursor: pointer;
  color: #555;
  background: none;
  border: 0;
  padding: 2px 8px;
  font-size: 17px;
  line-height: 1;
}

.fr-close:hover {
  color: #fff;
  background: #e81123;
  border-radius: 3px;
}

.fr-row {
  display: flex;
  align-items:  center;
  gap: 8px;
  padding: 7px 12px 0;
}

.fr-row > label:first-child {
  color: #444;
  flex: none;
  width: 88px;
}

.fr-row input[type="text"] {
  font: inherit;
  user-select: text;
  border: 1px solid #999;
  border-radius: 3px;
  flex: 1;
  padding: 4px 7px;
}

.fr-row input[type="text"]:focus {
  outline: 1px solid var(--ppt-accent);
  border-color: var(--ppt-accent);
}

.fr-case {
  display: flex;
  color: #444;
  cursor: pointer;
  align-items:  center;
  gap: 6px;
}

.fr-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px 12px 12px;
}

.fr-btns button {
  cursor: pointer;
  font: inherit;
  background: #f5f5f5;
  border: 1px solid #adadad;
  border-radius: 3px;
  padding: 4px 12px;
}

.fr-btns button:hover {
  background: #e9e9e9;
  border-color: #888;
}

.fr-modal-overlay {
  position: fixed;
  z-index: 300;
  display: flex;
  background: #0000002e;
  justify-content: center;
  align-items:  center;
  inset: 0;
}

.fr-modal {
  position: static;
  width: 400px;
}

.fr-modal .fr-head {
  cursor: default;
}

.fr-modal-msg {
  color: #333;
  padding: 14px 16px 4px;
  line-height: 1.5;
}

.fr-modal .fr-btns {
  justify-content: flex-end;
}

.fr-toggle {
  margin-right: auto;
}

.rsmall.active {
  background: #fbe2da;
  border-color: #e8b5a5;
}

#format-pane {
  border-left: 1px solid var(--header-border);
  display: flex;
  background: #fff;
  flex-direction: column;
  flex: none;
  width: 300px;
  min-height: 0;
}

#format-pane[hidden], body.view-sorter #format-pane, body.view-reading #format-pane {
  display: none;
}

.fp-head {
  display: flex;
  flex: none;
  justify-content: space-between;
  align-items:  center;
  padding: 10px 8px 2px 14px;
  font-size: 15px;
  font-weight: 600;
}

.fp-close {
  cursor: pointer;
  color: #555;
  background: none;
  border: 0;
  padding: 3px 8px;
  font-size: 14px;
  line-height: 1;
}

.fp-close:hover {
  color: #fff;
  background: #e81123;
  border-radius: 3px;
}

.fp-sub {
  color: var(--ppt-accent);
  border-bottom: 1px solid #e3e3e3;
  flex: none;
  padding: 0 14px 8px;
  font-size: 11.5px;
}

.fp-body {
  overflow-y: auto;
  flex: 1;
  padding: 2px 0 16px;
}

.fp-empty {
  color: #777;
  text-align: center;
  padding: 30px 12px;
}

.fp-sec {
  border-bottom: 1px solid #ececec;
}

.fp-cap {
  display: block;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  width: 100%;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
}

.fp-cap:hover {
  background: #f5f5f5;
}

.fp-cap:before {
  content: "▾";
  display: inline-block;
  color: #666;
  width: 14px;
  font-size: 10px;
}

.fp-sec.collapsed .fp-cap:before {
  content: "▸";
}

.fp-sec.collapsed .fp-sec-body {
  display: none;
}

.fp-sec-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 14px 10px 28px;
}

.fp-radio {
  display: flex;
  cursor: pointer;
  align-items:  center;
  gap: 6px;
}

.fp-row {
  display: flex;
  align-items:  center;
  gap: 6px;
}

.fp-row > label {
  color: #444;
  flex: none;
  width: 64px;
}

.fp-row input[type="number"], .fp-row input[type="text"] {
  font: inherit;
  user-select: text;
  -webkit-user-select: text;
  border: 1px solid #999;
  border-radius: 3px;
  width: 86px;
  padding: 3px 6px;
}

.fp-row input:focus {
  outline: 1px solid var(--ppt-accent);
  border-color: var(--ppt-accent);
}

.fp-unit {
  color: #666;
}

.fp-colors {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fp-cap2 {
  color: #777;
  padding-top: 2px;
  font-size: 11px;
}

.fp-swatch-row {
  display: flex;
  gap: 3px;
}

.fp-swatch {
  cursor: pointer;
  border: 1px solid #c8c8c8;
  width: 16px;
  height: 16px;
  padding: 0;
}

.fp-swatch:hover {
  outline: 2px solid #f2a886;
  outline-offset: 0;
}

.fp-swatch.active {
  outline: 2px solid var(--ppt-accent);
  outline-offset: 0;
}

.fp-note {
  color: #777;
  font-size: 11px;
}

.rbig.active {
  background: #fbe2da;
  border-color: #e8b5a5;
}

.rbig:disabled {
  opacity: .45;
  cursor: default;
}

.rbig:disabled:hover {
  background: none;
  border-color: #0000;
}

.trans-timing {
  color: var(--text);
  font-size: 11px;
}

.trans-dur-row {
  display: flex;
  color: #444;
  align-items:  center;
  gap: 4px;
}

#trans-duration {
  font: inherit;
  border: 1px solid #999;
  border-radius: 2px;
  width: 60px;
  padding: 1px 3px;
  font-size: 11px;
}

#trans-duration:disabled {
  color: #999;
  background: #f0f0f0;
}

#trans-duration:focus {
  outline: 1px solid var(--ppt-accent);
  border-color: var(--ppt-accent);
}

.anim-tile {
  min-width: 52px;
}

.anim-star-entr {
  color: #107c10;
}

.anim-star-emph {
  color: #c19c00;
}

.anim-star-exit {
  color: #e81123;
}

.anim-timing {
  color: var(--text);
  font-size: 11px;
}

.anim-row {
  display: flex;
  color: #444;
  align-items:  center;
  gap: 4px;
}

.anim-row > span {
  flex: none;
  width: 52px;
}

#anim-duration, #anim-delay {
  font: inherit;
  border: 1px solid #999;
  border-radius: 2px;
  width: 56px;
  padding: 1px 3px;
  font-size: 11px;
}

#anim-start {
  font: inherit;
  max-width: 110px;
  font-size: 11px;
}

#anim-duration:disabled, #anim-delay:disabled, #anim-start:disabled {
  color: #999;
  background: #f0f0f0;
}

#anim-duration:focus, #anim-delay:focus {
  outline: 1px solid var(--ppt-accent);
  border-color: var(--ppt-accent);
}

#anim-pane {
  border-left: 1px solid var(--header-border);
  display: flex;
  background: #fff;
  flex-direction: column;
  flex: none;
  width: 260px;
  min-height: 0;
}

#anim-pane[hidden], body.view-sorter #anim-pane, body.view-reading #anim-pane {
  display: none;
}

.anim-pane-row {
  display: flex;
  cursor: pointer;
  border-bottom: 1px solid #f3f3f3;
  align-items:  center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 12px;
}

.anim-pane-row:hover {
  background: #f5f5f5;
}

.anim-pane-row.selected {
  background: #fbe2da;
}

.anim-pane-num {
  text-align: right;
  color: #666;
  flex: none;
  width: 14px;
  font-size: 11px;
}

.anim-pane-glyph {
  flex: none;
  width: 14px;
  font-size: 10px;
}

.anim-pane-star {
  flex: none;
}

.anim-pane-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.anim-pane-x {
  cursor: pointer;
  color: #888;
  visibility: hidden;
  background: none;
  border: none;
  flex: none;
  padding: 0 2px;
  font-size: 11px;
}

.anim-pane-row:hover .anim-pane-x {
  visibility: visible;
}

.anim-pane-x:hover {
  color: #fff;
  background: #e81123;
  border-radius: 3px;
}

.thumb-star {
  color: #707070;
  text-align: right;
  margin-top: 6px;
  font-size: 9px;
  line-height: 1;
}

.theme-card {
  display: flex;
  cursor: pointer;
  font: inherit;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  flex-direction: column;
  align-items:  center;
  gap: 3px;
  width: 76px;
  padding: 6px 4px 4px;
}

.theme-card:hover {
  background: #fdf3f0;
  border-color: #e8b5a5;
}

.theme-card.active {
  border-color: var(--ppt-accent);
  background: #fbe2da;
}

.theme-card-aa {
  color: #3b3b3b;
  font-size: 20px;
  line-height: 22px;
}

.theme-card-chips {
  display: flex;
  gap: 2px;
}

.theme-chip {
  display: inline-block;
  border-radius: 1px;
  width: 9px;
  height: 9px;
}

.theme-card-name {
  color: #666;
  font-size: 10px;
}

.theme-card.active .theme-card-name {
  color: #333;
  font-weight: 600;
}

.design-empty {
  color: #777;
  align-self:  center;
  padding: 0 8px;
  font-size: 11px;
}

#ruler-row {
  display: flex;
  background: #f3f2f1;
  border-bottom: 1px solid #d8d8d8;
  flex: none;
}

#ruler-row[hidden] {
  display: none;
}

#ruler-corner {
  border-right: 1px solid #d8d8d8;
  flex: none;
  width: 22px;
}

#ruler-h {
  display: block;
  flex: 1;
  min-width: 0;
  height: 22px;
}

#ruler-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

#ruler-v {
  display: block;
  background: #f3f2f1;
  border-right: 1px solid #d8d8d8;
  flex: none;
  width: 22px;
}

#ruler-v[hidden], body.view-reading #ruler-row, body.view-reading #ruler-v {
  display: none;
}

.guide-tip {
  position: fixed;
  z-index: 210;
  color: #333;
  pointer-events: none;
  background: #fff;
  border: 1px solid #9a9a9a;
  border-radius: 2px;
  padding: 1px 6px;
  font-size: 11px;
  box-shadow: 0 2px 6px #0003;
}

.vc-dialog {
  width: 340px;
  top: 150px;
  left: calc(50% - 170px);
  right: auto;
}

.vc-cap {
  color: #333;
  padding: 9px 12px 0;
  font-weight: 600;
}

.vc-row {
  display: flex;
  color: #444;
  align-items:  center;
  gap: 8px;
  padding: 6px 12px 0;
}

.vc-row label {
  display: flex;
  cursor: pointer;
  align-items:  center;
  gap: 6px;
}

.vc-row select {
  font: inherit;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 2px 4px;
}

.vc-zoom-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  color: #444;
  gap: 6px 16px;
  padding: 8px 12px 0;
}

.vc-zoom-grid label {
  display: flex;
  cursor: pointer;
  align-items:  center;
  gap: 5px;
}

.vc-pct-row input[type="number"] {
  font: inherit;
  border: 1px solid #999;
  border-radius: 3px;
  width: 64px;
  padding: 3px 5px;
}

.link-dialog {
  width: 420px;
  top: 160px;
  left: calc(50% - 210px);
  right: auto;
}

.link-dialog .link-cap {
  color: #444;
  padding: 10px 12px 0;
  font-weight: 600;
}

.link-dialog select {
  display: block;
  font: inherit;
  border: 1px solid #999;
  border-radius: 3px;
  width: calc(100% - 24px);
  margin: 6px 12px 0;
}

.link-dialog .fr-row > label:first-child {
  width: auto;
}

.link-dialog .fr-case {
  white-space: nowrap;
}

button:focus-visible {
  outline: 2px solid #2b579a;
  outline-offset: -2px;
}

select:focus-visible {
  outline: 2px solid #2b579a;
  outline-offset: -2px;
}

input:focus-visible {
  outline: 2px solid #2b579a;
  outline-offset: -2px;
}

textarea:focus-visible {
  outline: 2px solid #2b579a;
  outline-offset: -2px;
}

[tabindex]:focus-visible {
  outline: 2px solid #2b579a;
  outline-offset: -2px;
}

#notes-input:focus-visible {
  outline: 2px solid #2b579a;
  outline-offset: -2px;
}

#ribbon-tabs .rtab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.menu-item:focus {
  outline: none;
  background: #f2f2f2;
}

.menu-item:focus-visible {
  outline: 2px solid #2b579a;
  outline-offset: -2px;
}

.menu:focus {
  outline: none;
}

.fp-groups {
  display: flex;
  border-bottom: 1px solid #ececec;
  gap: 14px;
  padding: 6px 12px 0;
}

.fp-group {
  color: #555;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  padding: 4px 0 6px;
  font-size: 12px;
}

.fp-group.active {
  color: #2b579a;
  border-bottom-color: #2b579a;
  font-weight: 600;
}

.fp-tabs {
  display: flex;
  border-bottom: 1px solid #ececec;
  gap: 4px;
  padding: 6px 12px;
}

.fp-tab {
  cursor: pointer;
  color: #444;
  background: none;
  border: 1px solid #0000;
  border-radius: 3px;
  width: 32px;
  height: 28px;
  font-size: 15px;
}

.fp-tab:hover {
  background: #f0f0f0;
}

.fp-tab.active {
  color: #2b579a;
  background: #eef3fb;
  border-color: #2b579a;
}

.pw-mixed input[type="number"] {
  background: #fafafa;
}

.pw-disabled {
  opacity: .55;
}

.pw-disabled-sec .fp-sec-body {
  opacity: .55;
  pointer-events: none;
}

.pw-slider-row input[type="range"] {
  flex: 1;
  min-width: 60px;
}

.pw-slider-row input[type="number"] {
  flex: none;
  width: 52px;
}

.pw-colorbtn {
  display: inline-flex;
  cursor: pointer;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  align-items:  center;
  gap: 4px;
  padding: 2px 6px;
}

.pw-colorbtn-swatch {
  display: inline-block;
  cursor: pointer;
  border: 1px solid #c8c8c8;
  width: 16px;
  height: 16px;
  padding: 0;
}

.pw-colorbtn-swatch.pw-colorbtn-empty {
  background: #fff linear-gradient(45deg, #0000 46%, #d33 46% 54%, #0000 54%);
}

.pw-select {
  flex: 1;
  min-width: 0;
  padding: 2px;
  font-size: 12px;
}

.pw-radioset {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pw-btn {
  cursor: pointer;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 12px;
}

.pw-btn:hover {
  background: #f0f0f0;
}

.pw-btn:disabled {
  opacity: .55;
  cursor: default;
}

.pw-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pw-thumb {
  cursor: pointer;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  padding: 1px;
  line-height: 0;
}

.pw-thumb:hover {
  border-color: #f2a886;
}

.pw-thumb.active {
  border-color: var(--ppt-accent, #b7472a);
  border-width: 2px;
  padding: 0;
}

.fp-grad {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fp-grad[hidden] {
  display: none;
}

.fp-grad-stops {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fp-grad-row {
  display: flex;
  align-items:  center;
  gap: 6px;
}

.fp-grad-row input[type="number"] {
  width: 56px;
}

.fp-grad-del {
  padding: 1px 6px;
}

.fp-bg-buttons {
  display: flex;
  gap: 8px;
  padding-top: 8px;
}

.color-pop {
  position: fixed;
  z-index: 1000;
  background: #fff;
  border: 1px solid #c8c8c8;
  min-width: 170px;
  padding: 2px 0 4px;
  font-size: 12.5px;
  box-shadow: 0 4px 12px #0000002e;
}

.color-pop .color-row-base {
  margin-bottom: 3px;
}

.color-transp-row {
  display: flex;
  color: #444;
  align-items:  center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
}

.color-transp-row input[type="range"] {
  flex: 1;
}

.color-transp-val {
  text-align: right;
  width: 34px;
}

@media (prefers-reduced-motion: no-preference) {
  #show-counter, #show-timer {
    transition: opacity .25s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.menu-thumb {
  object-fit: cover;
  background: #fff;
  border: 1px solid #d6d6d6;
  flex: none;
  width: 40px;
  height: 23px;
}

.menu-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.menu-note {
  color: #888;
  white-space: nowrap;
  margin-left: auto;
  padding-left: 14px;
  font-size: 11px;
}

.menu-badge {
  color: #fff;
  white-space: nowrap;
  background: #c43e1c;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 9.5px;
  line-height: 1;
}

.recovery-modal {
  width: 440px;
}

.rec-body {
  display: flex;
  gap: 14px;
  padding: 14px 16px 4px;
}

.rec-thumb {
  object-fit: cover;
  background: #fff;
  border: 1px solid #d6d6d6;
  flex: none;
  width: 160px;
  height: 90px;
}

.rec-info {
  min-width: 0;
}

.rec-name {
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.rec-when {
  color: #777;
  margin: 3px 0 8px;
  font-size: 11.5px;
}

.rec-msg {
  color: #444;
  font-size: 12px;
  line-height: 1.45;
}

.thumb-section {
  cursor: pointer;
}

.thumb-section:hover {
  color: var(--ppt-accent);
}

.thumb-section-tri {
  display: inline-block;
  color: #666;
  width: 12px;
  margin-left: -14px;
}

.thumb-item.sec-hidden, .thumb-item.sec-collapsed .thumb-num, .thumb-item.sec-collapsed .thumb-frame {
  display: none;
}

.hf-dialog {
  width: 520px;
}

.hf-tabs {
  display: flex;
  border-bottom: 1px solid #e3e3e3;
  gap: 2px;
  padding: 8px 12px 0;
}

.hf-tab {
  font: inherit;
  cursor: pointer;
  color: #444;
  background: none;
  border: 1px solid #0000;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  padding: 5px 12px;
}

.hf-tab.active {
  color: var(--ppt-accent);
  background: #fff;
  border-color: #e3e3e3;
  margin-bottom: -1px;
  font-weight: 600;
}

.hf-body {
  padding: 10px 14px 2px;
}

.hf-grid {
  display: flex;
  gap: 14px;
}

.hf-controls {
  flex: 1;
  min-width: 0;
}

.hf-group-label {
  color: #333;
  margin: 2px 0 8px;
  font-weight: 600;
}

.hf-check {
  display: flex;
  color: #333;
  cursor: pointer;
  align-items:  center;
  gap: 6px;
  padding: 4px 0;
}

.hf-hide-title {
  margin-top: 8px;
}

.hf-indent {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 0 4px 22px;
}

.hf-radio {
  display: flex;
  color: #444;
  cursor: pointer;
  align-items:  center;
  gap: 6px;
}

.hf-select, .hf-input {
  font: inherit;
  border: 1px solid #999;
  border-radius: 3px;
  max-width: 240px;
  padding: 3px 6px;
}

.hf-select:disabled, .hf-input:disabled {
  color: #999;
  background: #f1f1f1;
}

.hf-input {
  user-select: text;
}

.hf-preview-col {
  flex: none;
  width: 150px;
}

.hf-preview {
  position: relative;
  background: #fff;
  border: 1px solid #b8b8b8;
  width: 144px;
  height: 84px;
}

.hf-pv-box {
  position: absolute;
  background: #fff;
  border: 1px solid #c9c9c9;
  width: 38px;
  height: 9px;
  bottom: 5px;
}

.hf-pv-date {
  left: 5px;
}

.hf-pv-footer {
  left: 53px;
}

.hf-pv-num {
  right: 5px;
}

.hf-pv-box.on {
  background: #444;
  border-color: #444;
}

.hf-notes-body .hf-notes-msg {
  color: #777;
  padding: 14px 4px 12px;
  line-height: 1.5;
}

.fr-btns button:disabled {
  color: #aaa;
  cursor: default;
  background: #f5f5f5;
  border-color: #d5d5d5;
}

.ef-dialog {
  width: 460px;
}

.ef-body {
  padding: 10px 14px 2px;
}

.ef-group-label {
  color: #333;
  margin: 2px 0 8px;
  font-weight: 600;
}

.ef-listwrap + .ef-group-label {
  margin-top: 12px;
}

.ef-empty {
  color: #777;
  padding: 2px 0 6px;
}

.ef-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
}

.ef-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  align-items:  center;
  gap: 8px;
  padding: 4px 0;
}

.ef-name {
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-weight: 600;
}

.ef-badges {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  gap: 4px;
}

.ef-badge {
  color: #555;
  white-space: nowrap;
  background: #f1f1f1;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  padding: 0 7px;
  font-size: 11px;
  line-height: 16px;
}

.ef-badge-err {
  color: #a33;
  background: #fdf0f0;
  border-color: #e0b8b8;
}

.ef-remove {
  font: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid #adadad;
  border-radius: 3px;
  padding: 2px 9px;
  font-size: 12px;
}

.ef-remove:hover:not(:disabled) {
  background: #e9e9e9;
  border-color: #888;
}

.ef-remove:disabled {
  color: #aaa;
  cursor: default;
  background: #f5f5f5;
  border-color: #d5d5d5;
}

.ef-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 4px;
}

.ef-field {
  display: flex;
  color: #333;
  flex-direction: column;
  gap: 4px;
}

.ef-input {
  font: inherit;
  user-select: text;
  border: 1px solid #999;
  border-radius: 3px;
  max-width: 260px;
  padding: 3px 6px;
}

.ef-slots {
  display: flex;
  gap: 16px;
}

.ef-check {
  display: flex;
  color: #333;
  cursor: pointer;
  align-items:  center;
  gap: 6px;
}

.ef-help {
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

.ss-dialog {
  width: 360px;
}

.ss-scale-dialog {
  width: 420px;
}

.ss-body {
  color: #333;
  padding: 10px 14px 4px;
}

.ss-body p {
  margin: 2px 0 10px;
  line-height: 1.5;
}

.ss-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.ss-field select, .ss-field input[type="number"] {
  font: inherit;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 3px 6px;
}

.ss-field input[type="number"] {
  width: 80px;
}

.ss-dims {
  display: flex;
  gap: 18px;
}

.ss-orient {
  display: flex;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  gap: 16px;
  margin: 0 0 8px;
  padding: 6px 10px 8px;
}

.ss-orient legend {
  color: #555;
  padding: 0 4px;
  font-size: 12px;
}

.ss-radio {
  display: flex;
  cursor: pointer;
  align-items:  center;
  gap: 6px;
}

.ss-scale-choices {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 4px 0 10px;
}

.ss-choice {
  display: flex;
  font: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid #adadad;
  border-radius: 4px;
  flex-direction: column;
  align-items:  center;
  gap: 8px;
  min-width: 130px;
  padding: 12px 18px 10px;
}

.ss-choice:hover {
  background: #f0f6fc;
  border-color: #2b579a;
}

.ss-choice:focus-visible {
  outline: 2px solid #2b579a;
  outline-offset: 1px;
}

.ss-illus {
  display: block;
}

.ss-illus-slide {
  display: flex;
  overflow: hidden;
  position: relative;
  background: #fdfdfd;
  border: 1px solid #8a8a8a;
  justify-content: center;
  align-items:  center;
  width: 72px;
  height: 54px;
}

.ss-illus-content {
  display: block;
  background: #cfe0f1;
  border: 1px solid #2b579a;
}

.ss-illus-overflow {
  width: 92px;
  height: 40px;
}

.ss-illus-fit {
  width: 60px;
  height: 34px;
}

.ss-choice-label {
  color: #333;
  font-weight: 600;
}

.rtab.ctx {
  color: #ffd9c4;
}

.rtab.ctx.active {
  color: var(--ppt-red);
}

.ctxpane-shell-note {
  color: #666;
  padding: 24px 16px;
  font-size: 12px;
}

.ctxpane .rcol .rsmall {
  white-space: nowrap;
}

.ctxpane .rsmall.ctx-disabled {
  color: #9a9a9a;
}

.ctxpane .sf-size {
  justify-content: center;
  gap: 4px;
}

.ctxpane .sf-size .fp-row > label {
  width: 44px;
  font-size: 11px;
}

.ctxpane .sf-size .fp-row input[type="number"] {
  width: 56px;
}

.sf-style-pop {
  padding: 8px;
}

.sf-style-grid {
  display: grid;
  grid-template-columns: repeat(7, 30px);
  gap: 3px;
}

.sf-style-tile {
  color: #b0b0b0;
  cursor: default;
  background: linear-gradient(#fdfdfd, #ececec);
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  height: 24px;
  font-size: 10px;
}

.sf-style-note {
  color: #888;
  max-width: 230px;
  padding-top: 6px;
  font-size: 11px;
}

#readonly-banner {
  display: flex;
  color: #444;
  background: #fff4ce;
  border-bottom: 1px solid #e6d8a8;
  align-items:  center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12.5px;
}

#readonly-banner[hidden] {
  display: none;
}

#readonly-banner .rb-dot {
  color: #999;
}

#readonly-banner button {
  color: #0f6cbd;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 2px 4px;
  font-size: 12.5px;
  font-weight: 600;
}

#readonly-banner button:hover {
  color: #0a4d8c;
}

.tds-opts {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  align-self:  center;
  gap: 2px 14px;
  padding: 0 4px;
}

.tds-opt {
  display: flex;
  white-space: nowrap;
  cursor: pointer;
  align-items:  center;
  gap: 4px;
  font-size: 11.5px;
}

.tds-opt input {
  margin: 0;
}

.tds-opt:has(input:disabled) {
  color: #9a9a9a;
  cursor: default;
}

.tds-current {
  display: flex;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  align-self:  center;
  align-items:  center;
  gap: 4px;
  padding: 3px 6px;
}

.tds-current:hover {
  border-color: #f7630c;
}

.tds-pop {
  overflow-y: auto;
  width: 854px;
  max-height: 420px;
  padding: 8px 10px;
}

.tds-sec {
  color: #555;
  padding: 6px 2px 4px;
  font-size: 11px;
  font-weight: 600;
}

.tds-grid {
  display: grid;
  grid-template-columns: repeat(7, 116px);
  gap: 4px;
}

.tds-card {
  cursor: pointer;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  padding: 2px;
  line-height: 0;
}

.tds-card:hover {
  background: #fff4ec;
  border-color: #f7630c;
}

.tds-card.active {
  border-color: #f7630c;
  box-shadow: inset 0 0 0 1px #f7630c;
}

.tds-card-cv {
  width: 110px;
  height: 62px;
}

.tds-clear {
  display: block;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  border-top: 1px solid #e0e0e0;
  width: 100%;
  margin-top: 8px;
  padding: 6px 8px;
  font-size: 12.5px;
}

.tds-clear:hover {
  background: #f2f2f2;
}

.tds-disabled {
  color: #9a9a9a;
}

.anim-star-path {
  color: #777;
}

.anim-pane-top {
  display: flex;
  border-bottom: 1px solid #e1e1e1;
  gap: 6px;
  padding: 6px 8px;
}

.anim-pane-rows {
  position: relative;
  overflow-y: auto;
  flex: 1;
}

.anim-pane-group {
  color: #555;
  background: #f0f0f0;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
}

.anim-pane-para-group {
  color: #3a5a92;
  background: #eef3fb;
  padding-left: 16px;
}

.anim-pop-seq {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anim-pop-radio {
  display: flex;
  align-items:  center;
  gap: 4px;
  font-size: 11px;
}

.anim-pane-handle {
  color: #999;
  cursor: grab;
  user-select: none;
  flex: none;
  width: 12px;
}

.anim-pane-bar {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(to right, #f3f3f3 0 23px, #e8e8e8 23px 24px);
  border-radius: 2px;
  flex: 90px;
  min-width: 60px;
  height: 12px;
}

.anim-bar {
  position: absolute;
  opacity: .85;
  border-radius: 3px;
  height: 10px;
  top: 1px;
}

.anim-bar-inf {
  -webkit-mask-image: linear-gradient(to right, #000 60%, #0000);
  mask-image: linear-gradient(to right, #000 60%, #0000);
}

.anim-bar-glyph {
  position: absolute;
  color: #fff;
  font-size: 9px;
  top: -2px;
  right: 3px;
}

.anim-pane-chevron {
  color: #666;
  cursor: pointer;
  visibility: hidden;
  background: none;
  border: none;
  flex: none;
  width: 18px;
}

.anim-pane-row:hover .anim-pane-chevron, .anim-pane-row.selected .anim-pane-chevron {
  visibility: visible;
}

.anim-drop-line {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  background: #c43e1c;
  height: 2px;
  left: 4px;
  right: 4px;
}

.anim-pane-foot {
  display: flex;
  border-top: 1px solid #e1e1e1;
  align-items:  center;
  gap: 6px;
  padding: 4px 8px;
}

.anim-ruler {
  flex: 1;
}

.anim-ruler-zoom {
  font-size: 10px;
}

.anim-popover {
  position: fixed;
  z-index: 1000;
  background: #fff;
  border: 1px solid #c9c9c9;
  border-radius: 4px;
  min-width: 220px;
  max-width: 280px;
  padding: 6px;
  font-size: 11px;
  box-shadow: 0 6px 18px #0000002e;
}

.anim-popover hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 4px 0;
}

.anim-pop-item {
  display: block;
  text-align: left;
  cursor: pointer;
  font: inherit;
  background: none;
  border: none;
  width: 100%;
  padding: 4px 8px;
}

.anim-pop-item:hover {
  background: #f3f3f3;
}

.anim-pop-item.active {
  color: #c43e1c;
  font-weight: 600;
}

.anim-pop-tabs {
  display: flex;
  border-bottom: 1px solid #e1e1e1;
  gap: 2px;
  margin-bottom: 6px;
}

.anim-pop-tabs button {
  cursor: pointer;
  font: inherit;
  background: none;
  border: none;
  padding: 4px 10px;
}

.anim-pop-tabs button.active {
  border-bottom: 2px solid #c43e1c;
  font-weight: 600;
}

.anim-pop-row {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
  padding: 3px 2px;
}

.anim-pop-row > span {
  color: #444;
}

.anim-pop-row input[type="number"] {
  width: 64px;
}

.anim-pop-row select {
  max-width: 150px;
}

.anim-pop-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  max-width: 150px;
}

.anim-swatch {
  cursor: pointer;
  border: 1px solid #b5b5b5;
  border-radius: 2px;
  width: 16px;
  height: 16px;
  padding: 0;
}

.table-line-guide {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  border-top: 1px dashed #f7630c;
  border-left: 1px dashed #f7630c;
}

.tlo-pen {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tlo-pen select {
  max-width: 110px;
  font-size: 11px;
}

.tds-swatch {
  display: inline-block;
  vertical-align: -2px;
  border: 1px solid #b5b5b5;
  border-radius: 2px;
  width: 14px;
  height: 14px;
  margin-right: 4px;
}

body.view-outline #thumb-rail, #outline-rail {
  display: none;
}

body.view-outline #outline-rail {
  display: block;
  overflow-y: auto;
  border-right: 1px solid var(--header-border);
  background: #fff;
  width: 588px;
  min-width: 320px;
  padding: 14px 16px 24px 8px;
  font: 13px Segoe UI, sans-serif;
}

.ol-slide {
  margin-bottom: 2px;
}

.ol-slide.current {
  background: #f6f9fd;
}

.ol-row {
  display: flex;
  align-items: baseline;
  padding: 1px 4px 1px 0;
}

.ol-row.ol-title {
  font-size: 15px;
  font-weight: 600;
}

.ol-row.ol-title.collapsed {
  border-bottom: 1px solid #b5b5b5;
}

.ol-num {
  text-align: right;
  color: #777;
  user-select: none;
  flex: none;
  width: 18px;
  margin-right: 4px;
  font-size: 11px;
  font-weight: 400;
}

.ol-icon {
  cursor: grab;
  user-select: none;
  background: #fff;
  border: 1px solid #8a8a8a;
  border-radius: 1px;
  flex: none;
  align-self:  center;
  width: 14px;
  height: 11px;
  margin: 0 7px 0 2px;
  box-shadow: inset 0 2px #d9d9d9;
}

.ol-text {
  outline: none;
  white-space: pre-wrap;
  word-break: break-word;
  cursor: text;
  flex: 1;
  min-height: 17px;
}

.ol-text:focus {
  background: #eef4fc;
}

.ol-row.ol-body {
  color: #333;
}

body.view-master #thumb-rail, body.view-master #notes-pane, #master-rail {
  display: none;
}

body.view-master #master-rail {
  display: block;
  overflow-y: auto;
  background: #f0f0f0;
  border-right: 1px solid #d6d6d6;
  width: 224px;
  min-width: 224px;
  padding: 8px 6px 8px 10px;
}

.mrail-item {
  cursor: pointer;
  margin-bottom: 8px;
}

.mrail-frame {
  display: inline-block;
  background: #fff;
  border: 2px solid #0000;
  border-radius: 2px;
  line-height: 0;
  box-shadow: 0 0 0 1px #c8c8c8;
}

.mrail-item.selected .mrail-frame {
  border-color: #b7472a;
  box-shadow: 0 0 0 1px #b7472a;
}

.mrail-item:hover:not(.selected) .mrail-frame {
  box-shadow: 0 0 0 1px #9a9a9a;
}

.rtab.mtab {
  color: #ffd9c4;
}

.rtab.mtab.active {
  color: var(--ppt-red);
}

.mv-checks {
  justify-content: center;
  gap: 4px;
}

.mv-check {
  display: flex;
  white-space: nowrap;
  cursor: pointer;
  align-items:  center;
  gap: 5px;
  font-size: 12px;
}

.mv-check input[disabled] + span {
  color: #9a9a9a;
}

.mv-ph-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  min-width: 250px;
  padding: 4px;
}

.mv-ph-tile {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid #0000;
  padding: 6px 8px;
  font-size: 12px;
}

.mv-ph-tile:hover {
  background: #fff3ed;
  border-color: #f7c5ad;
}

.mv-rename-pop {
  position: fixed;
  z-index: 1000;
  display: flex;
  background: #fff;
  border: 1px solid #c8c8c8;
  flex-direction: column;
  gap: 8px;
  width: 280px;
  padding: 14px 16px;
  font-size: 12px;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 20px #00000040;
}

.mv-rename-pop input {
  padding: 4px 6px;
  font-size: 13px;
}

.mv-rename-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

#comments-pane {
  border-left: 1px solid var(--header-border);
  display: flex;
  background: #fff;
  flex-direction: column;
  flex: none;
  width: 340px;
  min-height: 0;
}

#comments-pane[hidden], body.view-sorter #comments-pane, body.view-reading #comments-pane {
  display: none;
}

.cm-panel-head {
  display: flex;
  border-bottom: 1px solid var(--header-border);
  flex: none;
  align-items:  center;
  gap: 8px;
  padding: 10px 12px;
}

.cm-panel-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

#cm-new {
  border: 1px solid var(--header-border);
  cursor: pointer;
  background: #fff;
  border-radius: 3px;
  padding: 3px 10px;
  font-size: 12px;
}

#cm-new:hover {
  background: #f0f0f0;
}

#cm-close {
  cursor: pointer;
  color: #444;
  background: none;
  border: none;
  padding: 2px 6px;
  font-size: 18px;
  line-height: 1;
}

#cm-body {
  overflow-y: auto;
  flex: 1;
  padding: 10px 12px;
}

.cm-empty {
  color: #666;
  padding: 16px 4px;
  font-size: 12px;
}

.cm-card {
  border: 1px solid var(--header-border);
  background: #fff;
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 10px;
}

.cm-card.cm-resolved {
  opacity: .62;
  background: #fafafa;
}

.cm-divider {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #888;
  margin: 14px 0 8px;
  font-size: 11px;
  font-weight: 600;
}

.cm-entry {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  grid-template-areas: "avatar author time" "avatar text text";
  align-items:  center;
  column-gap: 8px;
}

.cm-avatar {
  grid-area: avatar;
  color: #fff;
  display: inline-flex;
  border-radius: 50%;
  justify-content: center;
  align-self:  start;
  align-items:  center;
  width: 26px;
  height: 26px;
  font-size: 11px;
  font-weight: 600;
}

.cm-author {
  grid-area: author;
  font-size: 12px;
  font-weight: 600;
}

.cm-time {
  grid-area: time;
  color: #888;
  font-size: 11px;
}

.cm-text {
  grid-area: text;
  white-space: pre-wrap;
  word-break: break-word;
  margin-top: 2px;
  font-size: 13px;
}

.cm-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.cm-actions button {
  color: var(--accent, #b7472a);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
}

.cm-actions button:hover {
  text-decoration: underline;
}

.cm-replies {
  margin: 6px 0 0 14px;
}

.cm-reply {
  position: relative;
  border-left: 2px solid #eee;
  padding: 6px 22px 0 8px;
}

.cm-del-reply {
  position: absolute;
  cursor: pointer;
  opacity: 0;
  background: none;
  border: none;
  font-size: 11px;
  top: 6px;
  right: 0;
}

.cm-reply:hover .cm-del-reply {
  opacity: .7;
}

.cm-reply-input, .cm-edit-input {
  box-sizing: border-box;
  border: 1px solid var(--header-border);
  border-radius: 3px;
  width: 100%;
  margin-top: 8px;
  padding: 5px 8px;
  font-size: 12px;
}

.cm-edit-input {
  margin-top: 0;
}

#cm-draft, #cm-identity {
  flex: none;
  padding: 10px 12px 0;
}

#cm-draft[hidden], #cm-identity[hidden] {
  display: none;
  padding: 0;
}

.cm-draft-card textarea {
  box-sizing: border-box;
  border: 1px solid var(--header-border);
  resize: vertical;
  border-radius: 3px;
  width: 100%;
  margin-top: 6px;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 13px;
}

.cm-draft-anchor {
  color: #888;
  font-size: 11px;
}

.cm-id-form {
  border: 1px solid var(--header-border);
  display: grid;
  border-radius: 6px;
  gap: 6px;
  padding: 10px;
}

.cm-id-label {
  font-size: 12px;
  font-weight: 600;
}

.cm-id-form input {
  border: 1px solid var(--header-border);
  border-radius: 3px;
  padding: 5px 8px;
  font-size: 12px;
}

.cm-id-form button {
  border: 1px solid var(--header-border);
  cursor: pointer;
  background: #fff;
  border-radius: 3px;
  justify-self: end;
  padding: 4px 12px;
  font-size: 12px;
}

.rtab-side {
  cursor: pointer;
}
