:root {
  --palette__accent_deep: #96d4ee;
  --palette__accent: #a5daf0;
  --palette__accent_hover: #c3e6f5;
}
* {
  transition-delay: 0;
  transition-duration: 0.1s;
  transition-property: all;
  transition-timing-function: ease;
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Colfax Regular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #1a1a1a;
  color: #e8e8e8;
  line-height: 1.6;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}
header {
  background: #242424;
  border-bottom: 1px solid #3a3a3a;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
header .header-mark {
  display: flex;
  align-items: center;
  line-height: 0;
}
header .header-mark img {
  width: 36px;
  height: 36px;
}
header .header-write {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #a5daf0;
  text-decoration: none;
}
header .admin-bar {
  flex-basis: 100%;
}
@media screen and (max-width: 480px) {
  header .header-mark img {
    width: 32px;
    height: 32px;
  }
  header .header-write {
    padding: 6px 8px;
    font-size: 11px;
    letter-spacing: 0;
  }
}
.blog-card {
  background: #242424;
  border-left: 1px solid #a5daf0;
  border-top: 1px solid #a5daf0;
  border-top-left-radius: 4px;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
  border-bottom-right-radius: 4px;
  box-shadow: 4px 4px 0px 0px rgba(150,212,238,0.15);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.blog-card:hover {
  box-shadow: 4px 4px 0px 0px rgba(150,212,238,0.25);
}
.blog-card h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.25px;
}
.blog-card h2 a {
  color: #e8e8e8;
  text-decoration: none;
}
.blog-card h2 a:hover {
  color: #a5daf0;
  text-decoration: underline;
}
.blog-meta {
  font-size: 0.8rem;
  color: #707070;
  margin-bottom: 0.75rem;
  letter-spacing: 0.25px;
}
.blog-excerpt {
  font-size: 0.95rem;
  color: #a0a0a0;
  line-height: 1.5;
}
.blog-content {
  background: #242424;
  border-left: 1px solid #a5daf0;
  border-top: 1px solid #a5daf0;
  border-top-left-radius: 4px;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
  border-bottom-right-radius: 4px;
  box-shadow: 4px 4px 0px 0px rgba(150,212,238,0.15);
  padding: 2rem;
}
.blog-content h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.blog-content .blog-meta {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #3a3a3a;
}
.blog-content .content {
  font-size: 1rem;
  line-height: 1.8;
}
.blog-content .content h1,
.blog-content .content h2,
.blog-content .content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.blog-content .content p {
  margin-bottom: 1rem;
}
.blog-content .content pre,
.blog-content .content code {
  background: #2d2d2d;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
}
.blog-content .content pre {
  padding: 1rem;
  overflow-x: auto;
  border-left: 3px solid #a5daf0;
}
.blog-content .content code {
  padding: 0.2rem 0.4rem;
  font-size: 0.9em;
}
.blog-content .content blockquote {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  border-left: 3px solid #a5daf0;
  background: #2d2d2d;
  font-style: italic;
  color: #a0a0a0;
}
.blog-content .content a {
  color: #a5daf0;
}
.blog-content .content a:hover {
  color: #c3e6f5;
}
.back-row {
  text-align: center;
  margin-top: 1rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.5rem;
  background-color: #242424;
  color: #e8e8e8;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  border: 1px solid #a5daf0;
  border-radius: 2px;
  box-shadow: 2px 2px 0px 0px rgba(150,212,238,0.2);
}
.back-link:hover {
  box-shadow: 3px 3px 0px 0px rgba(150,212,238,0.3);
  transform: translateY(-1px);
}
.post-teaser {
  font-size: 1rem;
  color: #a0a0a0;
}
.btn-subscribe {
  background: #a5daf0;
  color: #1a1a1a;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}
.btn-subscribe:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.empty-state {
  text-align: center;
  padding: 3rem;
  color: #707070;
  background: #2d2d2d;
  border-radius: 4px;
}
.empty-state a {
  color: #a5daf0;
}
footer {
  text-align: center;
  padding: 2rem;
  color: #707070;
  font-size: 0.85rem;
}
footer a {
  color: #a0a0a0;
}
footer a:hover {
  color: #a5daf0;
}
.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid #3a3a3a;
}
.admin-user {
  font-size: 0.8rem;
  color: #707070;
}
.btn-new-post {
  background: #a5daf0;
  color: #1a1a1a;
  border: none;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.btn-new-post:hover {
  background: #c3e6f5;
}
@media screen and (max-width: 480px) {
  .btn-new-post {
    padding: 6px 8px;
    font-size: 11px;
    letter-spacing: 0;
  }
}
.blog-card-actions,
.blog-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #3a3a3a;
}
.btn-edit,
.btn-delete {
  padding: 0.35rem 0.75rem;
  border: none;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}
.btn-edit {
  background: #4a4a4a;
  color: #e8e8e8;
}
.btn-edit:hover {
  background: #707070;
}
.btn-delete {
  background: #5a3030;
  color: #f0a0a0;
}
.btn-delete:hover {
  background: #703030;
}
.draft-badge {
  display: inline-block;
  background: #4a4020;
  color: #f0d080;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.editor-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.editor-modal.active {
  display: flex;
}
.editor-container {
  background: #242424;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #3a3a3a;
}
.editor-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}
.btn-close {
  background: none;
  border: none;
  color: #a0a0a0;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.btn-close:hover {
  color: #e8e8e8;
}
.editor-form {
  padding: 1.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #a0a0a0;
  margin-bottom: 0.4rem;
}
.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  padding: 0.75rem;
  color: #e8e8e8;
  font-family: inherit;
  font-size: 1rem;
}
.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a5daf0;
}
.form-group input[type="text"]::placeholder,
.form-group textarea::placeholder {
  color: #707070;
}
.form-group textarea {
  min-height: 300px;
  resize: vertical;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}
.form-group input[type="checkbox"] {
  margin-right: 0.5rem;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #3a3a3a;
}
.btn-cancel {
  background: #3a3a3a;
  color: #e8e8e8;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-cancel:hover {
  background: #4a4a4a;
}
.btn-save {
  background: #a5daf0;
  color: #1a1a1a;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-save:hover {
  background: #c3e6f5;
}
.btn-danger {
  background: #a03838;
  color: #fff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-danger:hover {
  background: #b84444;
}
dialog.ceots__blogs_editor__confirm {
  padding: 0;
  border: none;
  background: transparent;
  color: #e8e8e8;
  max-width: 460px;
  width: 90%;
  margin: auto;
  overflow: visible;
  font-family: inherit;
}
dialog.ceots__blogs_editor__confirm::backdrop {
  background: rgba(0,0,0,0.8);
}
dialog.ceots__blogs_editor__confirm .ceots__blogs_editor__confirm_box {
  background: #242424;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
dialog.ceots__blogs_editor__confirm .ceots__blogs_editor__confirm_text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
dialog.ceots__blogs_editor__confirm input.ceots__blogs_editor__confirm_input {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.6rem 0.75rem;
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  color: #e8e8e8;
  font-size: 0.9rem;
}
dialog.ceots__blogs_editor__confirm .ceots__blogs_editor__confirm_actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
dialog.ceots__blogs_editor__confirm button:focus-visible {
  outline: 2px solid #a5daf0;
  outline-offset: 2px;
}
dialog.ceots__blogs_editor__confirm button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
div[ceots__blogs_editor="toast_container"] {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
div[ceots__blogs_editor="toast"] {
  --toast_accent: #2196f3;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #2b2b2b;
  color: #ccc;
  border: 1px solid #323232;
  border-left: 3px solid var(--toast_accent);
  border-radius: 2px;
  box-shadow: 2px 2px 0 0 rgba(150,212,238,0.2);
  font-family: monospace;
  font-size: 13px;
  line-height: 1.4;
  max-width: 400px;
  opacity: 0;
  transform: translateX(16px);
  transition: all 0.3s ease;
}
div[ceots__blogs_editor="toast"]::before {
  content: 'Info';
  flex: none;
  padding-top: 2px;
  color: var(--toast_accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
div[ceots__blogs_editor="toast"].visible {
  opacity: 1;
  transform: translateX(0);
}
div[ceots__blogs_editor="toast"].dismissing {
  opacity: 0;
  transform: translateX(16px);
}
div[ceots__blogs_editor="toast"].success {
  --toast_accent: #4caf50;
}
div[ceots__blogs_editor="toast"].success::before {
  content: 'Done';
}
div[ceots__blogs_editor="toast"].error {
  --toast_accent: #ff6b6b;
}
div[ceots__blogs_editor="toast"].error::before {
  content: 'Error';
}
div[ceots__blogs_editor="toast"].warning {
  --toast_accent: #ffc107;
}
div[ceots__blogs_editor="toast"].warning::before {
  content: 'Warning';
}
div[ceots__blogs_editor="toast"] > span {
  flex: 1;
  word-break: break-word;
  cursor: pointer;
}
div[ceots__blogs_editor="toast"] > button {
  flex: none;
  background: transparent;
  border: 1px solid #323232;
  border-radius: 2px;
  color: #96d4ee;
  padding: 2px 6px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}
div[ceots__blogs_editor="toast"] > button:hover {
  background: #353739;
}
div[ceots__blogs_editor="toast"] > button:focus-visible {
  outline: 2px solid #96d4ee;
  outline-offset: 2px;
}
.subscribe-box {
  margin: 1.5rem 0;
}
.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.subscribe-form input[type="email"] {
  flex: 1 1 16rem;
  padding: 0.6rem;
  background: #1a1a1a;
  color: inherit;
  border: 1px solid #a0a0a0;
  border-radius: 4px;
}
.write-page {
  margin-top: 1.5rem;
}
.write-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.write-list li {
  padding: 0.5rem 0;
}
.write-list a {
  color: #a5daf0;
}
.report-error {
  color: #f0a05a;
}
.write-handle,
.write-note {
  color: #a0a0a0;
  font-size: 0.85rem;
}
.write-handle a,
.write-note a {
  color: #a5daf0;
}
