* {
  letter-spacing: 0 !important;
}
body {
  font-family:
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
button,
a,
input,
textarea,
select {
  max-width: 100%;
}
.btn {
  white-space: normal;
  line-height: 1.5;
  text-align: center;
}
.topbar {
  display: flex;
  gap: 14px;
}
.topbar > .icon-btn {
  display: none;
}
.page {
  max-width: 1500px;
  margin: auto;
}
.greeting {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.brand small {
  word-spacing: 0.18em;
  transform: scaleX(1.08);
  transform-origin: left center;
}
.greeting .eyebrow {
  margin-bottom: 11px;
  word-spacing: 0.14em;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feedback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #606e59;
  font-size: 12px;
}
.feedback svg {
  width: 14px;
  height: 14px;
}
.top-actions .icon-btn {
  flex-shrink: 0;
}
.generation-meter {
  height: 8px;
  background: #e6edde;
  border-radius: 4px;
  overflow: hidden;
  margin: 26px 0 12px;
}
.generation-meter span {
  display: block;
  height: 100%;
  width: 3%;
  background: #719459;
  transition: width 0.5s ease;
}
.generation-percent {
  color: #5a714e;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.generation-attribution {
  margin: 12px 0 18px;
  font-size: 11px;
  color: #617064;
}
.generation-attribution a {
  margin-left: 3px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.success-content .modal-emblem {
  margin: 8px auto 20px;
}
.outline-asset-picker {
  margin-top: 14px;
}
.outline-asset-picker summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
}
.outline-asset-picker summary::-webkit-details-marker {
  display: none;
}
.used-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 1;
  min-width: 0;
}
.used-assets .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow-wrap: anywhere;
  white-space: normal;
}
.used-assets svg,
.asset-edit svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.asset-edit {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 4px;
  color: #5f7154;
}
.asset-edit svg + svg {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}
.outline-asset-picker summary:hover .asset-edit {
  background: #edf2e8;
}
@media (max-width: 700px) {
  .topbar {
    gap: 8px;
  }
  .top-actions {
    gap: 8px;
  }
  .feedback span,
  .top-actions .separator {
    display: none;
  }
  .top-actions .feedback {
    display: inline-flex;
    width: 32px;
    height: 32px;
    justify-content: center;
  }
  .greeting.between {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .greeting .quota {
    align-self: flex-end;
  }
}
.greeting h1 {
  font-size: 30px;
}
.greeting p {
  margin-top: 9px;
}
.composer {
  padding: 22px 24px 18px;
  border: 1px solid #dfe7e1;
  border-radius: 12px;
  background: white;
  box-shadow: 0 5px 22px #294d3a05;
}
.composer-tabs {
  display: flex;
  align-items: center;
  padding-bottom: 14px;
  color: #4b785b;
  font-weight: 550;
}
.composer-tab {
  display: flex;
  align-items: center;
  gap: 8px;
}
.prompt-input {
  display: block;
  width: 100%;
  min-height: 156px;
  resize: vertical;
  border: 0;
  background: transparent;
  font-size: 17px;
  line-height: 1.9;
  padding: 8px 0;
  outline-offset: 0 !important;
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #edf1ed;
}
.material-details {
  color: #647168;
  font-size: 12px;
}
.material-details summary {
  cursor: pointer;
  padding: 7px 0;
}
.material-details textarea {
  width: 100%;
  min-height: 160px;
  padding: 12px;
  resize: vertical;
  border: 1px solid #dfe7e1;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.8;
}
.upload-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.prompt-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 38px;
}
.suggestion {
  display: flex;
  align-items: center;
  gap: 4px;
}
.recent-section {
  margin-top: 28px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: 20px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.project-card {
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e4eae4;
  background: #fff;
}
.project-cover {
  border-radius: inherit;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  padding: 0;
  border: 0;
  text-align: left;
  background: #e7eee5;
  color: #fff;
  position: relative;
}
.project-cover.forest {
  background: #355b3b url("/assets/forest.jpg") center/cover;
}
.project-cover .slide-viewport {
  pointer-events: none;
}
.project-cover.brand-deck {
  background: #f0e6ee;
  color: #5a3951;
}
.project-cover.report {
  background: #dbe8ed;
  color: #2c5669;
}
.project-cover.minimal {
  background: #e8ebe7;
  color: #4d5b4f;
}
.project-cover.nature {
  background: #406454 url("/assets/nature.jpg") center/cover;
}
.project-cover.dark {
  background: #313535;
  color: #e7eddc;
}
.cover-inner {
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.forest .cover-inner,
.nature .cover-inner {
  background: #12362450;
}
.cover-inner small {
  font-size: 9px;
}
.cover-inner h3 {
  font-size: 21px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cover-inner > span {
  font-size: 10px;
}
.project-info {
  padding: 16px;
}
.project-name {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-meta {
  margin-top: 10px;
}
.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.filter-tabs {
  display: flex;
  gap: 4px;
}
.filter-tab {
  padding: 9px 13px;
  border-radius: 6px;
  color: #657468;
}
.filter-tab.active {
  background: #e3ece2;
  color: #3f6746;
}
.search-field {
  max-width: 250px;
  margin: 0;
}
.empty-state {
  grid-column: 1/-1;
  padding: 60px 20px;
  text-align: center;
  color: #7b897d;
  border-top: 1px solid #e6ece4;
}
.outline-card {
  border-radius: 8px;
  padding: 22px;
  align-items: flex-start;
}
.outline-title-input {
  width: 100%;
  font-size: 17px;
  font-weight: 600;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #2b4634;
}
.outline-text-input {
  display: block;
  width: 100%;
  min-height: 110px;
  padding: 4px 0;
  margin: 14px 0 18px;
  border: 0;
  background: transparent;
  resize: vertical;
  font-size: 14px;
  line-height: 1.55;
  color: #596a5b;
}
.layout-input {
  width: 100%;
  padding: 9px;
  background: #f4f7f2;
  border: 0;
  font-size: 12px;
  color: #61745c;
  border-radius: 4px;
}
.outline-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.asset-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 11px;
  color: #60735b;
}
.asset-checkboxes label {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.outline-bottom {
  border-radius: 8px;
}
.outline-bottom .btn {
  flex-shrink: 0;
}
.outline-body {
  min-width: 0;
}
.outline-aside .btn {
  margin-top: 15px;
}
.editor-shell {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.editor-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 280px;
  flex: 1;
  min-height: 0;
}
.editor-topbar {
  flex-shrink: 0;
  min-height: 72px;
}
.editor-heading {
  min-width: 0;
  max-width: 360px;
}
.editor-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filmstrip {
  width: auto;
  overflow: auto;
  min-height: 0;
  padding: 18px 12px;
  background: #f0f3ee;
  border-right: 1px solid #e0e7dd;
}
.filmstrip-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 12px;
}
.slide-thumb {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
}
.slide-thumb.active {
  border-color: #5e8965;
  background: #e1ebde;
}
.slide-thumb > span {
  width: 16px;
  font-size: 10px;
  flex-shrink: 0;
}
.slide-thumb .slide-viewport {
  flex: 1;
  pointer-events: none;
}
.slide-viewport {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  container-type: normal;
  background: #fff;
}
.slide-viewport iframe {
  display: block;
  border: 0;
  width: 1280px;
  height: 720px;
  max-width: none;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  background: #fff;
}
.canvas-workspace {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #e8ede6;
  overflow: hidden;
  align-items: stretch;
  padding: 20px 24px;
}
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  min-height: 44px;
  margin: 0 auto 24px;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}
.editor-toolbar .icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 4px;
}
.editor-toolbar select {
  border: 0;
  background: #f5f7f3;
  font-size: 12px;
  max-width: 65px;
  padding: 4px;
}
.editor-toolbar input[type="color"] {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
}
.toolbar-separator {
  height: 20px;
  width: 1px;
  background: #dce5da;
}
.canvas-wrap {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  min-width: 0;
  flex-shrink: 1;
}
.canvas-wrap .slide-viewport {
  box-shadow: 0 8px 30px #21312615;
}
.canvas-caption {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #74806e;
  padding: 12px 0;
}
.speaker-notes {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  width: 100%;
  padding: 12px 0 0;
  border-top: 1px solid #d8e1d4;
  min-height: 65px;
}
.speaker-notes textarea {
  background: transparent;
  border: 0;
  width: 100%;
  min-height: 48px;
  resize: vertical;
  font-size: 12px;
  line-height: 1.7;
  color: #536a4c;
}
.editor-inspector {
  width: auto;
  overflow: auto;
  background: white;
  padding: 22px 18px;
  border-left: 1px solid #e5eae0;
  min-width: 0;
}
.inspector-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.inspector-tabs strong {
  font-size: 13px;
}
.ai-title {
  margin-top: 22px;
  margin-bottom: 14px;
}
.account-layout > [data-action="logout"] {
  margin-block: 24px;
}
.admin-prompts {
  margin-block: 32px;
  border-top: 1px solid #e4eae4;
}
.admin-prompts label {
  display: block;
  margin-block: 18px 10px;
  font-weight: 600;
}
.admin-prompts textarea {
  width: 100%;
  min-height: 220px;
  line-height: 1.65;
  margin-bottom: 16px;
  resize: vertical;
}
.admin-prompts .flex {
  flex-wrap: wrap;
}
.ai-quick {
  font-size: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e8ede4;
  border-radius: 6px;
  margin-bottom: 10px;
  text-align: left;
}
.ai-input {
  margin-top: 22px;
  border: 1px solid #dfe7dc;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: flex-end;
}
.ai-input textarea {
  width: 100%;
  height: 105px;
  resize: vertical;
  border: 0;
  font-size: 12px;
  line-height: 1.8;
}
.ai-input .icon-btn {
  background: #4b785b;
  color: white;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 5px;
}
.ai-attachment {
  margin: 12px 0 22px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #75816c;
}
.ai-result {
  font-size: 12px;
  color: #52784c;
  margin-bottom: 16px;
}
.editor-statusbar {
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 8px;
  height: 40px;
  flex-shrink: 0;
  font-size: 11px;
  background: #f7f9f5;
  border-top: 1px solid #e3e9df;
}
.editor-statusbar .icon-btn {
  width: 28px;
  height: 28px;
}
.editor-statusbar > [data-save-label] {
  font-size: 10px;
}
.editor-inspector > .btn {
  font-size: 12px;
}
.presentation {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #101713;
  display: flex;
  align-items: center;
  justify-content: center;
}
.presentation > .slide-viewport {
  width: min(100vw, calc(100dvh * 16 / 9));
  flex-shrink: 0;
}
.presentation-controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
}
.presentation-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: #132c23ba;
  z-index: 2;
  color: white;
}
.plan {
  border-radius: 8px;
}
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.9;
}
.plan li svg {
  width: 15px;
  height: 20px;
}
.price small {
  font-size: 14px;
}
.faq p {
  line-height: 1.9;
}
.account-section h2 {
  font-size: 17px;
}
.account-section p {
  line-height: 1.9;
}
.account-section .between {
  flex-wrap: wrap;
}
.modal {
  border-radius: 8px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
.modal h2 {
  padding-right: 28px;
  line-height: 1.6;
}
.modal-open {
  overflow: hidden;
}
.modal-subtitle {
  line-height: 1.9;
  margin-top: 8px;
}
.modal-text p {
  margin-bottom: 14px;
  line-height: 1.9;
}
.modal .btn.full + .btn.full {
  margin-top: 12px;
}
.form-field input {
  min-width: 0;
  width: 100%;
}
.form-input-wrap > button {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12px;
  color: #4b785b;
}
.qr-wrap img,
.center-qr img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  image-rendering: pixelated;
}
.center-qr {
  display: flex;
  justify-content: center;
  margin: 22px 0;
}
.payment-methods {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  flex: 1;
  min-height: 46px;
  border: 1px solid #dce5d7;
  border-radius: 6px;
}
.payment-method.active {
  background: #eaf2e5;
  border-color: #749965;
}
.payment-plan strong {
  white-space: nowrap;
}
.qr-wrap {
  flex-wrap: wrap;
}
.upload-zone {
  margin: 18px 0;
  padding: 25px 16px;
  border: 1px dashed #b7cdb0;
  border-radius: 8px;
  text-align: center;
}
.upload-zone > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 9px;
}
.upload-zone p {
  font-size: 11px;
  line-height: 1.8;
  margin: 8px 0;
}
.upload-zone .btn {
  margin-top: 12px;
}
.upload-file-meta {
  overflow-wrap: anywhere;
}
.upload-file-row {
  min-width: 0;
}
.upload-file-list {
  max-height: 340px;
  overflow: auto;
}
.upload-modal-footer {
  margin-top: 18px;
}
.activity-row {
  min-width: 0;
}
.activity-row > div {
  min-width: 0;
}
.activity-row small {
  overflow-wrap: anywhere;
  font-size: 10px;
}
.modal .form-error {
  margin: 12px 0;
}
.agreement {
  line-height: 1.8;
}
.agreement button {
  text-decoration: underline;
}
.payment-plan {
  gap: 15px;
}
.ticket-row {
  padding: 24px 0;
  border-bottom: 1px solid #dfe7dc;
}
.ticket-row h3 {
  font-size: 15px;
}
.ticket-row p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.9;
  margin: 14px 0;
}
.ticket-row small {
  color: #7f8e78;
  font-size: 11px;
}
.ticket-reply {
  border-left: 3px solid #71946b;
  padding: 8px 16px;
  margin: 15px 0;
  background: #edf4e9;
}
.ticket-reply strong {
  font-size: 12px;
}
.ticket-row textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  border: 1px solid #d5e0cf;
  border-radius: 4px;
  margin: 10px 0;
  font-size: 13px;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}
.admin-toolbar input {
  max-width: 300px;
  margin: 0;
}
.admin-page h2 {
  font-size: 17px;
  margin: 30px 0 15px;
}
.table-scroll {
  overflow: auto;
}
.admin-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}
.admin-page th,
.admin-page td {
  text-align: left;
  border-bottom: 1px solid #dce5d8;
  padding: 12px 10px;
}
.admin-page th {
  background: #edf2e8;
}
.admin-page tr:hover td {
  background: #f0f5eb;
}
@media (min-width: 1500px) {
  .canvas-workspace {
    padding: 30px 45px;
  }
  .editor-body {
    grid-template-columns: 200px minmax(0, 1fr) 300px;
  }
}
@media (max-width: 1100px) {
  .editor-body {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .editor-inspector {
    display: none;
  }
  .editor-inspector.mobile-open {
    display: block;
    position: fixed;
    right: 0;
    top: 72px;
    bottom: 40px;
    width: 290px;
    z-index: 40;
    box-shadow: -10px 0 35px #20352120;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-heading {
    max-width: 260px;
  }
}
@media (max-width: 700px) {
  .topbar > .icon-btn {
    display: inline-flex;
  }
  .topbar {
    padding: 15px 20px;
  }
  .page {
    padding: 24px 20px;
  }
  .greeting h1 {
    font-size: 26px;
  }
  .greeting {
    margin-bottom: 20px;
  }
  .composer {
    padding: 17px 16px;
    border-radius: 8px;
  }
  .prompt-input {
    min-height: 165px;
    font-size: 15px;
  }
  .composer-bottom {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .composer-bottom > .btn {
    flex: 1;
    min-width: 135px;
  }
  .composer-bottom > .flex {
    gap: 6px;
    flex-wrap: wrap;
  }
  .composer-bottom .soft-select {
    font-size: 11px;
  }
  .material-details textarea {
    font-size: 12px;
  }
  .prompt-suggestions {
    margin-bottom: 28px;
  }
  .project-grid {
    gap: 14px;
  }
  .cover-inner {
    padding: 16px;
  }
  .cover-inner h3 {
    font-size: 17px;
  }
  .cover-inner small {
    font-size: 8px;
  }
  .project-info {
    padding: 12px;
  }
  .project-name {
    font-size: 11px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .library-toolbar {
    flex-wrap: wrap;
  }
  .search-field {
    max-width: none;
    width: 100%;
  }
  .outline-card {
    padding: 15px 12px;
    gap: 9px;
  }
  .outline-title-input {
    font-size: 15px;
  }
  .outline-text-input {
    font-size: 13px;
    min-height: 155px;
  }
  .outline-actions .icon-btn {
    width: 24px;
  }
  .outline-bottom {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    bottom: 8px;
  }
  .outline-bottom small {
    font-size: 10px;
  }
  .outline-bottom > .btn {
    flex: 1;
    font-size: 11px;
    padding: 10px 8px;
  }
  .outline-bottom > .spacer {
    display: none;
  }
  .outline-bottom > small {
    flex: 1;
  }
  .outline-bottom > svg {
    width: 15px;
  }
  .outline-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .outline-list,
  .outline-aside {
    width: 100%;
  }
  .outline-aside {
    position: static;
  }
  .heading-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .heading-row h1 {
    font-size: 24px;
  }
  .workflow-bar {
    font-size: 10px;
    gap: 7px;
  }
  .workflow-step {
    gap: 5px;
  }
  .editor-topbar {
    padding: 10px 12px;
    gap: 7px;
    min-height: 62px;
    flex-wrap: nowrap;
  }
  .editor-topbar .brand {
    display: none;
  }
  .editor-topbar > .btn {
    padding: 7px 9px;
    font-size: 11px;
    min-height: 34px;
    border-radius: 6px;
    gap: 4px;
  }
  .editor-topbar > .icon-btn {
    width: 28px;
    height: 32px;
  }
  .editor-topbar > .btn svg {
    width: 15px;
  }
  .editor-title {
    font-size: 11px;
  }
  .save-status {
    font-size: 9px;
  }
  .editor-heading {
    max-width: none;
    flex: 1;
  }
  .editor-topbar > .spacer {
    display: none;
  }
  .editor-body {
    display: flex;
    flex-direction: column;
  }
  .filmstrip {
    order: 2;
    width: 100%;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    gap: 7px;
    padding: 8px;
    border-top: 1px solid #dce5d6;
    border-right: 0;
    overflow: auto;
  }
  .filmstrip-heading {
    display: none;
  }
  .filmstrip .slide-thumb {
    width: 120px;
    min-width: 120px;
    margin: 0;
    padding: 3px;
    gap: 4px;
  }
  .filmstrip .slide-thumb > span {
    width: 10px;
    font-size: 9px;
  }
  .filmstrip > .dashed-btn {
    width: 80px;
    min-width: 80px;
    font-size: 10px;
  }
  .canvas-workspace {
    flex: 1;
    padding: 12px 14px;
    min-height: 0;
  }
  .editor-toolbar {
    gap: 3px;
    padding: 3px 5px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    min-height: 36px;
  }
  .editor-toolbar .icon-btn {
    width: 25px;
    height: 25px;
  }
  .editor-toolbar .icon-btn svg {
    width: 16px;
  }
  .editor-toolbar select {
    max-width: 44px;
    font-size: 10px;
    padding: 2px;
  }
  .editor-toolbar input[type="color"] {
    width: 22px;
    height: 22px;
  }
  .editor-toolbar .toolbar-separator {
    margin: 0 2px;
  }
  .canvas-wrap {
    margin: auto;
  }
  .canvas-caption {
    font-size: 9px;
    padding: 7px 0;
  }
  .speaker-notes {
    margin-top: 10px;
    min-height: 45px;
    padding-top: 8px;
    max-height: 70px;
  }
  .speaker-notes textarea {
    min-height: 35px;
    font-size: 11px;
    resize: none;
  }
  .editor-statusbar {
    height: 36px;
    padding: 0 12px;
    font-size: 10px;
  }
  .editor-statusbar > [data-save-label] {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .editor-inspector.mobile-open {
    top: 62px;
    bottom: 36px;
    width: min(310px, calc(100vw - 30px));
  }
  .pricing-intro h1 {
    font-size: 27px;
  }
  .pricing-plans {
    gap: 20px;
  }
  .plan {
    padding: 24px;
  }
  .modal-overlay {
    padding: 12px;
  }
  .modal {
    padding: 28px 22px;
    max-height: calc(100dvh - 24px);
  }
  .modal h2 {
    font-size: 21px;
  }
  .qr-wrap {
    justify-content: center;
  }
  .qr-copy {
    min-width: 135px;
  }
  .qr-wrap img,
  .center-qr img {
    width: 160px;
    height: 160px;
  }
  .payment-plan {
    padding: 16px;
  }
  .payment-plan strong {
    font-size: 26px;
  }
  .payment-plan h3 {
    font-size: 15px;
  }
  .activity-row {
    flex-wrap: wrap;
  }
  .account-section .btn {
    font-size: 11px;
  }
  .admin-toolbar {
    flex-wrap: wrap;
  }
  .admin-toolbar input {
    max-width: none;
  }
  .sidebar .upgrade-box {
    background: #e4ecdf;
  }
  .presentation-controls {
    bottom: 8px;
    font-size: 11px;
  }
  .presentation-close {
    right: 8px;
    top: 8px;
  }
}
@media (max-width: 380px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .cover-inner h3 {
    font-size: 22px;
  }
  .editor-topbar .btn {
    font-size: 10px;
    padding: 6px;
  }
  .editor-toolbar {
    gap: 1px;
  }
  .editor-toolbar .icon-btn {
    width: 23px;
  }
}
@media (max-height: 550px) and (min-width: 701px) {
  .canvas-workspace {
    padding: 10px 24px;
  }
  .canvas-wrap {
    max-width: calc((100dvh - 210px) * 16 / 9);
  }
  .editor-toolbar {
    margin-bottom: 10px;
  }
  .speaker-notes {
    min-height: 35px;
    max-height: 45px;
  }
}
