.seko-multiline { white-space: pre-line }
.seko-page-block { margin-block: 0 36px; max-width: 850px }
.seko-page-block img { display: block; max-width: 100%; height: auto; margin-block: 14px }
.seko-page-block p { line-height: 1.7 }
.seko-editing { padding-bottom: 110px }
.seko-edit-toolbar, .seko-edit-dialog {
  color: #edf0ec;
  background: #141918;
  border: 1px solid #4c5c51;
  font: 15px/1.5 system-ui, sans-serif;
}
.seko-edit-toolbar {
  position: fixed;
  z-index: 1000;
  inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) auto;
  max-width: calc(100% - 24px);
  padding: 6px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  box-shadow: 0 4px 24px #000a;
}
.seko-edit-toolbar :is(button,a), .seko-edit-dialog button, .seko-edit-action {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  border: 1px solid #65754c;
  background: #1a2216;
  color: #d4ff7e;
  padding: 5px 10px;
  font: 600 13px/1.25 system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
}
.seko-edit-toolbar :is(button,a):is(:hover,:focus-visible),
.seko-edit-dialog button:is(:hover,:focus-visible),
.seko-edit-action:is(:hover,:focus-visible) { background: #27371d; border-color: #c6ff49 }
.seko-edit-action { position: relative; z-index: 5; margin: 8px }
.slide > .seko-edit-action, .catalog-banner > .seko-edit-action {
  position: absolute;
  top: 0;
  right: 0;
}
.catalog-banner.seko-edit-target { position: relative }
.home-catalog-links > .seko-edit-action { grid-column: 1 / -1; justify-self: start }
.seko-edit-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: 90dvh;
  overflow: auto;
  padding: 16px;
}
.seko-edit-dialog::backdrop { background: #000b }
.seko-edit-head { display: flex; align-items: center; justify-content: space-between; gap: 8px }
.seko-edit-head h2 { font-size: 20px; margin: 0 }
.seko-edit-status { color: #e0ebbd; margin-block: 9px; min-height: 1em }
.seko-edit-body, .seko-form-rows { display: grid; gap: 12px }
.seko-edit-body label { display: grid; gap: 4px }
.seko-edit-body :is(input,textarea) {
  width: 100%;
  padding: 7px;
  background: #0a0f0f;
  border: 1px solid #58615c;
  color: inherit;
  font: inherit;
}
.seko-edit-body textarea { resize: vertical }
.seko-edit-body fieldset { min-width: 0; border: 1px solid #58615c; padding: 10px }
.seko-edit-body fieldset button { margin: 6px 6px 0 0 }
.seko-edit-body fieldset img { display: block; max-width: 100%; max-height: 180px; object-fit: contain; margin-bottom: 8px }
.seko-edit-body fieldset img[hidden] { display: none }
.seko-edit-body > button { justify-self: start }
.seko-record-frame { width: 100%; height: 68dvh; border: 0 }
@media (max-width: 600px) {
  .seko-edit-dialog { padding: 11px }
  .seko-edit-toolbar { left: 12px }
  .slide > .seko-edit-action { bottom: 34px; top: auto }
}
