/* Online notepad. Under #maker, so that the rules win over the site-wide and dark-theme button styles. */
#maker .wrapper {
  width: 100%;
  padding: 14px 18px 16px;
  border: 1px solid var(--ate-border, #e4e4e7);
  border-radius: var(--ate-radius-lg, 16px);
  background: var(--ate-surface, #fff);
  box-shadow: var(--ate-shadow, 0 2px 8px -2px rgba(9, 9, 11, .07));
  text-align: left;
}
#maker .np-title {
  display: block;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ate-text, #09090b);
  font-size: 20px;
  font-weight: 600;
}
#maker .np-title::placeholder {
  color: var(--ate-placeholder, #a1a1aa);
}
#maker .options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: auto;
  margin: 6px 0 10px;
  padding: 6px 0;
  border-top: 1px solid var(--ate-border, #e4e4e7);
  border-bottom: 1px solid var(--ate-border, #e4e4e7);
}
#maker .options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ate-text-2, #3f3f46);
  cursor: pointer;
}
#maker .options button:hover {
  background: var(--ate-surface-3, #f4f4f5);
  color: var(--ate-text, #09090b);
}
#maker .options .mdi {
  font-size: 20px;
  line-height: 1;
}
#maker .seperator {
  display: inline-block;
  width: 1px;
  height: 22px;
  margin: 0 6px;
  border: 0;
  background: var(--ate-border, #e4e4e7);
}
#maker .options select,
#maker .options input[type="number"] {
  height: 36px;
  margin: 0 2px;
  padding: 0 8px;
  border: 1px solid var(--ate-border-strong, #d4d4d8);
  border-radius: 8px;
  outline: none;
  background: var(--ate-field, #fff);
  color: var(--ate-text-2, #3f3f46);
  font-size: 14px;
  -webkit-appearance: auto;
  appearance: auto;
}
#maker .options input[type="number"] {
  width: 64px;
}
#maker .options select:focus,
#maker .options input[type="number"]:focus,
#maker .np-btn:focus-visible {
  border-color: var(--ate-primary, #4f46e5);
  box-shadow: var(--ate-ring, 0 0 0 3px rgba(79, 70, 229, .22));
}
#maker iframe {
  display: block;
  width: 100%;
  height: 440px;
  min-height: 200px;
  margin: 0;
  border: 1px solid var(--ate-border-strong, #d4d4d8);
  border-radius: 12px;
  background: var(--ate-field, #fff);
  resize: vertical;
  overflow: auto;
}
#maker .np-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 12px;
}
#maker .np-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#maker .np-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--ate-border-strong, #d4d4d8);
  border-radius: 10px;
  outline: none;
  background: var(--ate-surface, #fff);
  color: var(--ate-text-2, #3f3f46);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
#maker .np-btn:hover {
  border-color: var(--ate-primary, #4f46e5);
  color: var(--ate-primary, #4f46e5);
}
#maker .np-btn.np-primary {
  border-color: var(--ate-primary, #4f46e5);
  background: var(--ate-primary, #4f46e5);
  color: #fff;
}
#maker .np-btn.np-primary:hover {
  background: var(--ate-primary-hover, #4338ca);
}
#maker .np-btn.is-done,
#maker .np-btn.is-done:hover {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}
#maker .np-btn .mdi {
  font-size: 18px;
}
#maker .np-btn input[type="file"] {
  display: none;
}
#maker .np-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  color: var(--ate-muted, #71717a);
  font-size: 13px;
}
#maker .np-status [hidden] {
  display: none;
}
#maker .np-saved .mdi {
  color: #16a34a;
}
#maker .np-error {
  color: #dc2626;
}
@media (max-width: 575px) {
  #maker .wrapper {
    padding: 10px 12px 12px;
  }
  #maker iframe {
    height: 360px;
  }
}
