.delete-var {
  cursor: pointer;
}
.am-pagetitle-left {
  display: flex;
  align-items: center;
  min-width: 0;
}
.dx-profile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  flex-shrink: 0;
}
.dx-preview-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dx-preview-btn i {
  font-size: 20px;
  line-height: 1;
}
.dx-preview-btn:hover,
.dx-preview-btn.is-open {
  color: #fff;
}
.dx-preview-btn.is-open {
  color: #3dcc6f;
}
.dx-gen-btn {
  height: 32px;
  border: 0;
  background: #3dcc6f;
  color: #11331a;
  font-size: 13px;
  font-weight: 600;
  padding: 0 14px;
  border-radius: 3px;
  cursor: pointer;
}
.dx-gen-btn:hover {
  background: #5ee089;
}
.dx-add-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dx-add-btn i {
  font-size: 20px;
  line-height: 1;
}
.dx-add-btn:hover {
  color: #fff;
}
.dx-save-btn {
  width: 36px;
  height: 36px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dx-save-btn i {
  font-size: 20px;
  line-height: 1;
}
.am-pagetitle-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}
.dx-save-state {
  font-size: 10px;
  line-height: 1;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}
.dx-save-state.is-saved {
  color: #3dcc6f;
}
.dx-flash {
  font-size: 12px;
  color: #fff;
  background: rgba(61,204,111,.25);
  border: 1px solid rgba(61,204,111,.5);
  border-radius: 3px;
  padding: 4px 10px;
  max-width: 360px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dx-save-btn.is-saved,
.dx-save-btn.is-saved:hover {
  color: #3dcc6f;
}
.dx-save-btn:hover {
  color: #fff;
}
.var-example {
  font-size: 12px;
  color: #6c757d;
  margin: 2px 0 6px;
}
.tpl-row.is-selected,
.tpl-row.is-selected td {
  background: #d8f5e3 !important;
}
.tpl-select-link {
  color: #333;
  font-weight: 600;
}
.tpl-row.is-selected .tpl-select-link {
  color: #1b7e32;
}
.assign-users summary {
  cursor: pointer;
}
.dx-assign-item {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 400;
}
.hidden { display: none; }
.am-header { display: none !important; }
.am-sideleft { top: 0; }
.am-pagetitle { top: 0; }
.am-mainpanel { margin-top: 60px; }
.dx-whoami {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  color: #5a6270;
  font-size: 13px;
}
.dx-whoami .dx-gear-link {
  color: #5a6270;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  flex-shrink: 0;
}
.dx-whoami .dx-gear-link:hover,
.dx-whoami .dx-gear-link.is-active {
  color: #232e40;
  text-decoration: none;
}
.dx-menu-toggle {
  position: fixed;
  top: 14px;
  left: 228px;
  z-index: 1100;
  width: 24px;
  height: 32px;
  padding: 0;
  border: 1px solid #d5d9e0;
  border-radius: 0 4px 4px 0;
  background: #fff;
  color: #2d3a50;
  cursor: pointer;
  box-shadow: 1px 1px 3px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left .2s ease-in-out;
}
.dx-menu-toggle i {
  font-size: 18px;
  line-height: 1;
}
.dx-menu-toggle:hover {
  background: #f4f6f8;
}
@media (min-width: 992px) {
  .collapse-menu .dx-menu-toggle {
    left: 0;
  }
}
@media (max-width: 991px) {
  .dx-menu-toggle {
    left: 0;
  }
  .show-left .dx-menu-toggle {
    left: 228px;
  }
}
.dx-role-select {
  min-width: 90px;
  height: 32px;
  padding: 2px 8px;
  font-size: 13px;
}
.am-sideleft #mainMenu.tab-pane,
.am-sideleft .dx-menu-pane {
  top: 0;
  display: flex;
  flex-direction: column;
}
.dx-menu-bottom {
  margin-top: auto;
  padding-bottom: 8px;
}
.dx-auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}
.dx-auth-links a {
  font-size: 13px;
}
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Permanent+Marker&display=swap');

body.dx-signin-page .am-signin-wrapper {
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  padding: 12px 12px 48px;
  min-height: 100vh;
}
.am-signin-box.dx-auth-box {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  padding: 28px 24px 22px;
  text-align: center;
}
.dx-pin-hint {
  font-size: 13px;
  color: #5a6270;
  margin: 0 0 16px;
  text-align: left;
}
.dx-sync-box {
  width: 100%;
  max-width: 480px;
  margin: 48px auto 0;
  padding: 28px 24px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
}
.dx-sync-title {
  margin: 0 0 18px;
  font-weight: 700;
  color: #202939;
}
.dx-sync-bar {
  height: 14px;
  border-radius: 999px;
  background: #e6e9ef;
  overflow: hidden;
}
.dx-sync-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2ec84a, #eab308);
  transition: width .12s linear;
}
.dx-sync-pct {
  margin: 12px 0 0;
  font-size: 14px;
  color: #5a6270;
}
.gendoc-about {
  --ink: #f6e7c1;
  --paper: #071422;
  color: var(--ink);
  max-width: 920px;
  width: 100%;
  margin: 18px auto 8px;
  padding: 28px 24px 32px;
  border-radius: 18px;
  border: 2px solid rgba(246, 231, 193, 0.18);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.12) 1px, transparent 1px),
    repeating-linear-gradient(-12deg, transparent 0 14px, rgba(255, 255, 255, 0.025) 14px 15px),
    radial-gradient(circle at 14% 18%, rgba(234, 179, 8, 0.22), transparent 40%),
    radial-gradient(circle at 86% 82%, rgba(34, 197, 94, 0.18), transparent 44%);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.25);
}
.gendoc-about__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
}
.gendoc-about__logo {
  height: 92px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}
.gendoc-word {
  margin: 0;
  line-height: 0.9;
  user-select: none;
  display: inline-block;
  padding: 0.12em 0.22em 0.08em;
  background: rgba(246, 231, 193, 0.94);
  border-radius: 4px;
}
.gendoc-word__g {
  font-family: 'Permanent Marker', 'Comic Neue', cursive;
  font-size: clamp(1.5rem, 4.8vw, 2.8rem);
  font-weight: 400;
  color: #2ec84a;
  margin-right: 0.02em;
  text-shadow:
    0 0 0 #145c22,
    2px 3px 0 rgba(0, 0, 0, 0.55),
    0 0 12px rgba(46, 200, 74, 0.35);
}
.gendoc-word__rest {
  font-family: 'Permanent Marker', 'Comic Neue', cursive;
  font-size: clamp(1.5rem, 4.8vw, 2.8rem);
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 1px #0b0b0b;
  text-shadow:
    1px 1px 0 #f6e7c1,
    2px 3px 0 rgba(0, 0, 0, 0.35),
    0 0 10px rgba(234, 179, 8, 0.25);
}
.gendoc-about__text {
  margin: 0 0 14px;
  font-family: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}
.gendoc-about__text:last-child { margin-bottom: 0; }
.dx-auth-box .form-group { text-align: left; }
.dx-auth-logo { margin-bottom: 8px; }
.dx-auth-logo img {
  max-width: 240px;
  width: auto;
  height: auto;
  max-height: 80px;
}
.dx-gen-field {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dx-gen-field .dx-preset-pick {
  max-width: 180px;
  flex-shrink: 0;
}
.dx-gen-field input { flex: 1; min-width: 0; }
.dx-block-btn {
  border: 0;
  background: transparent;
  color: #5a6270;
  cursor: pointer;
  padding: 0 6px;
}
.dx-block-btn.is-blocked { color: #c0392b; }
.dx-user-blocked td { opacity: .55; }
.dx-user-actions { white-space: nowrap; }
.dx-preset-authors { padding-left: 18px; margin-bottom: 16px; }
.dx-brand-preview { max-width: 240px; max-height: 80px; }
.dx-brand-favicon { max-width: 32px; max-height: 32px; }
.table-responsive { width: 100%; overflow-x: auto; }

@media (max-width: 991px) {
  .am-pagetitle {
    padding-left: 36px;
    height: auto;
    min-height: 52px;
    flex-wrap: wrap;
  }
  .am-pagebody { padding: 12px; }
  .am-mainpanel { margin-top: 52px; }
  .dx-toolbar { gap: 4px; }
  .dx-stage { padding: 8px; max-height: none; }
  .dx-frame { max-width: 100%; }
  .dx-flash { max-width: 180px; font-size: 11px; }
  .dx-profile-actions { margin-left: 8px; gap: 4px; }
  .dx-gen-field { flex-direction: column; align-items: stretch; }
  .dx-gen-field .dx-preset-pick { max-width: none; }
}
@media (display-mode: standalone) {
  .am-pagetitle { padding-top: max(0px, env(safe-area-inset-top)); }
  .am-sideleft { top: env(safe-area-inset-top); }
}
@media (max-width: 600px) {
  .gendoc-about { padding: 20px 14px 24px; }
  .gendoc-about__logo { height: 72px; }
}
@media (max-width: 576px) {
  .am-title { font-size: 14px; }
  .dx-gen-btn { padding: 0 10px; font-size: 12px; }
  .am-signin-box.dx-auth-box { padding: 20px 16px; }
  .card.pd-20, .card.pd-sm-40 { padding: 12px !important; }
  .dx-sync-box { margin-top: 24px; padding: 20px 16px; }
}
