/* ==========================================================================
   OP-1: Owner Bar + Action Sheet + Text Edit Modal + Progress/Error Dialogs
   Uses var(--kon-brand-color) set in base.gohtml <style> block.
   ========================================================================== */

/* Mobile Owner Bar — branded toolbar for editors (mobile only, d-md-none) */
.a-owner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--kon-brand-color, #cf0015);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}
.a-owner-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}
.a-owner-bar-btn:hover { background: rgba(255, 255, 255, 0.25); }
.a-owner-bar-btn:active { transform: scale(0.95); }

/* Prevent navbar-collapse from greedily consuming all flex space
   (Bootstrap default: flex-grow:1). Without this, ms-auto on the
   owner buttons can't push them right — the collapse eats all space. */
.o-navbar-brand .navbar-collapse {
  flex-grow: 0;
}

/* Mobile: edge-to-edge, fill to viewport top */
@media (max-width: 767.98px) {
  .a-owner-bar {
    margin: -1.5rem -0.75rem 1rem;
    border-radius: 0;
    padding: 2rem 0.75rem 1rem;
  }
}

/* Navbar owner buttons — desktop/tablet (d-none d-md-flex) */
.a-owner-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.a-owner-nav-btn:hover { background: rgba(255, 255, 255, 0.3); }
.a-owner-nav-btn:active { transform: scale(0.95); }

/* ==========================================================================
   Action Sheet — bottom-aligned modal overlay
   ========================================================================== */
.m-action-sheet-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}
.m-action-sheet {
  background: #fff;
  border-radius: 0.75rem;
  max-width: 350px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.m-action-sheet-title {
  font-weight: 500;
  font-size: 15px;
  padding: 0 1.25rem 0.75rem;
  border-bottom: 1px solid #e9ecef;
}
.m-action-sheet-section {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6c757d;
  padding: 0.75rem 1.25rem 0.25rem;
  letter-spacing: 0.05em;
}
.m-action-sheet-action {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  font-size: 15px;
  color: #212529;
  cursor: pointer;
  text-align: left;
}
.m-action-sheet-action:hover { background: #f8f9fa; }
.m-action-sheet-action--destructive { color: #dc3545; }
.m-action-sheet-action--disabled { color: #adb5bd; cursor: default; }
.m-action-sheet-action--disabled:hover { background: none; }
.m-action-sheet-cancel {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  border-top: 1px solid #e9ecef;
  font-size: 15px;
  color: #6c757d;
  cursor: pointer;
  text-align: center;
}
.m-action-sheet-cancel:hover { background: #f8f9fa; }

/* ==========================================================================
   Text Edit Modal — full-screen (mobile) / centered modal (md+)
   ========================================================================== */

/* Backdrop */
.m-text-edit-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
@media (min-width: 768px) {
  .m-text-edit-modal-overlay {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
  }
}

/* Panel */
.m-text-edit-modal {
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .m-text-edit-modal {
    max-width: 520px;
    max-height: 80vh;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }
}
.m-text-edit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}
.m-text-edit-modal-back {
  background: none;
  border: none;
  color: #212529;
  cursor: pointer;
  padding: 0.25rem;
}
.m-text-edit-modal-title {
  font-weight: 500;
  font-size: 16px;
}
.m-text-edit-modal-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.m-text-edit-modal-save {
  background: none;
  border: none;
  color: var(--kon-brand-color, #cf0015);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.m-text-edit-modal-body {
  flex: 1;
  padding: 1.5rem 1rem;
  overflow-y: auto;
}
.m-text-edit-modal-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  resize: none;
}
textarea.m-text-edit-modal-input {
  min-height: 200px;
}

/* Char count badge (atom) */
.a-char-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--kon-brand-color, #cf0015);
  color: #fff;
}
.a-char-count-badge--warn { background: #fd7e14; }
.a-char-count-badge--over { background: #dc3545; }

/* ==========================================================================
   Progress/Error Dialog — centered modal overlay
   ========================================================================== */
.m-progress-dialog-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-progress-dialog,
.m-error-dialog {
  background: #fff;
  border-radius: 0.75rem;
  max-width: 320px;
  width: 85%;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}
.m-progress-dialog-title,
.m-error-dialog-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0.5rem;
}
.m-progress-dialog-message,
.m-error-dialog-message {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 1rem;
}

/* Progress bar */
.progress-bar-container {
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar-brand {
  height: 100%;
  background: var(--kon-brand-color, #cf0015);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Error dialog buttons */
.m-error-dialog-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.m-error-dialog-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 14px;
  cursor: pointer;
  border: none;
}
.m-error-dialog-btn--cancel {
  background: #e9ecef;
  color: #495057;
}
.m-error-dialog-btn--retry {
  background: var(--kon-brand-color, #cf0015);
  color: #fff;
}

/* ==========================================================================
   OP-2: Create Article Overlay — full-screen (mobile) / centered modal (md+)
   ========================================================================== */

/* Backdrop — covers viewport, centers the panel on md+ */
.o-create-article-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
@media (min-width: 768px) {
  .o-create-article-overlay {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
  }
}

/* Panel — full-screen on mobile, constrained modal on md+ */
.o-create-article {
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .o-create-article {
    max-width: 480px;
    max-height: 85vh;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }
}

.o-create-article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}
.o-create-article-back {
  background: none;
  border: none;
  color: #212529;
  cursor: pointer;
  padding: 0.25rem;
}
.o-create-article-title {
  font-weight: 500;
  font-size: 16px;
}
.o-create-article-create {
  background: none;
  border: none;
  color: var(--kon-brand-color, #cf0015);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.o-create-article-body {
  flex: 1;
  padding: 1.5rem 1rem;
  overflow-y: auto;
}

/* Cover image picker */
.o-create-article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}
.o-create-article-cover-placeholder {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 14px;
}
.o-create-article-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.o-create-article-cover-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* Form rows */
.o-create-article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
}
.o-create-article-row-left {
  flex: 1;
  min-width: 0;
}
.o-create-article-row-label {
  font-size: 15px;
  color: #6c757d;
}
.o-create-article-row-label--filled {
  color: #212529;
  font-weight: 500;
}
.o-create-article-row-value {
  font-size: 13px;
  color: #6c757d;
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.o-create-article-row-chevron {
  color: #adb5bd;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

/* Loading state for edit overlay */
.o-create-article-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: #6c757d;
  font-size: 14px;
}

/* ============================================================
   OP-4: Block action buttons (edit/delete on hover)
   ============================================================ */
.a-block-actions-wrap { position: relative; }

.a-block-action-bar {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  gap: 0.25rem;
  z-index: 5;
  padding: 0.25rem;
}
/* Desktop: show on hover */
@media (hover: hover) {
  .a-block-actions-wrap:hover .a-block-action-bar { display: flex; }
}
/* Touch devices: always visible */
@media (hover: none) {
  .a-block-action-bar { display: flex; }
}

.a-block-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.06);
  color: #6c757d;
}
.a-block-action-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #212529;
}
.a-block-action-btn--delete:hover { color: #dc3545; }
.a-block-action-btn--eye { color: #6c757d; }
.a-block-action-btn--eye:hover { color: #0d6efd; }

/* Hidden block wrapper — hidden by default, shown via global toggle */
.a-block-hidden-wrap { display: none; }
.o-post-detail-blocks--show-hidden .a-block-hidden-wrap { display: block; }
.a-block-actions-wrap--hidden { opacity: 0.45; border-left: 3px dashed #6c757d; padding-left: 0.75rem; }

/* Global eye toggle active state */
.a-owner-bar-btn--eye-active,
.a-owner-nav-btn--eye-active {
  background: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   OP-4: Add Text Block overlay (TinyMCE)
   ============================================================ */
.o-add-text-block-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
@media (min-width: 768px) {
  .o-add-text-block-overlay {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
  }
}
.o-add-text-block {
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .o-add-text-block {
    max-width: 640px;
    max-height: 85vh;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }
}
.o-add-text-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}
.o-add-text-block-back {
  background: none;
  border: none;
  color: #212529;
  cursor: pointer;
  padding: 0.25rem;
}
.o-add-text-block-title {
  font-weight: 500;
  font-size: 16px;
}
.o-add-text-block-save {
  background: none;
  border: none;
  color: var(--kon-brand-color, #cf0015);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.o-add-text-block-body {
  flex: 1;
  overflow: hidden;
}
.o-add-text-block-editor {
  width: 100%;
  height: 100%;
}

/* ============================================================
   OP-5: Add Media Block overlay (image/video/audio)
   ============================================================ */
.o-add-media-block-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
@media (min-width: 768px) {
  .o-add-media-block-overlay {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
  }
}
.o-add-media-block {
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .o-add-media-block {
    max-width: 480px;
    max-height: 85vh;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }
}
.o-add-media-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}
.o-add-media-block-back {
  background: none;
  border: none;
  color: #212529;
  cursor: pointer;
  padding: 0.25rem;
}
.o-add-media-block-title {
  font-weight: 500;
  font-size: 16px;
}
.o-add-media-block-save {
  background: none;
  border: none;
  color: var(--kon-brand-color, #cf0015);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.o-add-media-block-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}
.o-add-media-block-pick {
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  color: #6c757d;
  transition: border-color 0.15s;
}
.o-add-media-block-pick:hover { border-color: #adb5bd; }
.o-add-media-block-pick--has-file {
  border-style: solid;
  border-color: #dee2e6;
  padding: 0.5rem;
}
.o-add-media-block-preview {
  max-width: 100%;
  max-height: 300px;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}
.o-add-media-block-filename {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-radius: 0.25rem;
  font-size: 14px;
  word-break: break-all;
}
.o-add-media-block-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}
.o-add-media-block-row-label {
  font-size: 14px;
  color: #6c757d;
}
.o-add-media-block-row-label--filled { color: #212529; }
.o-add-media-block-row-value {
  font-size: 13px;
  color: #6c757d;
  margin-top: 2px;
}
.o-add-media-block-row-chevron {
  color: #adb5bd;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.o-add-media-block-geocode-btn {
  display: block;
  width: calc(100% - 2rem);
  margin: 0.75rem 1rem;
  padding: 0.625rem 1rem;
  background: var(--kon-brand-color, #cf0015);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.o-add-media-block-geocode-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ==========================================================================
   OP-3b: Draft visibility + Publish/Unpublish
   ========================================================================== */

/* Draft cards — hidden by default, shown via toggle */
.m-post-card-draft-wrap { display: none; }
.o-posts-list--show-drafts .m-post-card-draft-wrap { display: block; }

/* Draft visual treatment */
.m-post-card--draft { opacity: 0.55; }

/* Draft badge */
.m-post-card-draft-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 1;
}
.m-post-card { position: relative; }

/* Post detail draft banner */
.o-post-detail-draft-banner {
  background: #f0ad4e;
  color: #000;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 0;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Drafts toggle active state */
.a-owner-bar-btn--drafts-active,
.a-owner-nav-btn--drafts-active { color: var(--kon-brand-color, #cf0015) !important; }

/* Publish modal — date input */
.o-publish-date-group {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.o-publish-date-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6c757d;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.o-publish-date-input {
  display: block;
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  font-size: 15px;
  color: #212529;
  background: #fff;
}

/* Publish modal — inline visibility options */
.o-publish-section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6c757d;
  letter-spacing: 0.05em;
  padding: 1rem 0 0.5rem;
}
.o-publish-visibility-options {
  display: flex;
  flex-direction: column;
}
.o-publish-visibility-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.625rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #212529;
  cursor: pointer;
  text-align: left;
}
.o-publish-visibility-option:last-child { border-bottom: none; }
.o-publish-visibility-option:hover { color: var(--kon-brand-color, #cf0015); }
.o-publish-visibility-option--selected {
  color: var(--kon-brand-color, #cf0015);
  font-weight: 600;
}
.o-publish-visibility-check {
  display: none;
  align-items: center;
  margin-right: 0.5rem;
  color: var(--kon-brand-color, #cf0015);
}
.o-publish-visibility-option--selected .o-publish-visibility-check {
  display: inline-flex;
}

/* ==========================================================================
   EB-2: Notification Composer Overlay — full-screen (mobile) / centered modal (md+)
   ========================================================================== */

/* Backdrop — z-index 10000 so action-sheet (10001) and text-edit-modal (10002) layer on top */
.o-notification-composer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
@media (min-width: 768px) {
  .o-notification-composer-overlay {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
  }
}

/* Panel */
.o-notification-composer {
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .o-notification-composer {
    max-width: 480px;
    max-height: 90vh;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    height: auto;
  }
}

/* Header */
.o-notification-composer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}
.o-notification-composer-title {
  font-weight: 500;
  font-size: 16px;
}

/* Body */
.o-notification-composer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Type selector list */
.o-nc-type-list {
  padding: 0.5rem 0;
}
.o-nc-type-item {
  padding: 0.875rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #212529;
}
.o-nc-type-item:last-child {
  border-bottom: none;
}
.o-nc-type-item:active {
  background: #f5f5f5;
}

/* Hero image area */
.o-nc-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  overflow: hidden;
}
.o-nc-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Live preview card */
.m-notification-preview {
  margin: 1rem;
}
.m-notification-preview-collapsed {
  display: flex;
  align-items: flex-start;
  background: #f8f8f8;
  border-radius: 12px;
  padding: 0.75rem;
  gap: 0.625rem;
}
.m-np-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--kon-brand-color, #cf0015);
  flex-shrink: 0;
}
.m-np-content {
  flex: 1;
  min-width: 0;
}
.m-np-app-name {
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
}
.m-np-time {
  float: right;
}
.m-np-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-np-subtitle {
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-np-thumb {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.m-np-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Field rows */
.o-nc-field {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}
.o-nc-field--last-visible {
  border-bottom: none;
}
.o-nc-field-label {
  flex-shrink: 0;
  font-weight: 500;
  margin-right: 0.75rem;
  font-size: 15px;
}
.o-nc-field-value {
  flex: 1;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  font-size: 14px;
}
.o-nc-field-chevron {
  margin-left: 0.5rem;
  color: #ccc;
  font-size: 18px;
}

/* Picker rows (CEWL lightbox rows reused inside notification composer) */
.o-notification-composer-body .m-cewl-row-content {
  cursor: pointer;
}
.o-notification-composer-body .m-cewl-row-content:active {
  background: #f8f9fa;
}

/* Confirm screen */
.o-nc-confirm {
  padding: 1rem;
}
.o-nc-confirm-note {
  background: #fff9e6;
  border: 1px solid #ffd700;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.o-nc-confirm-note strong {
  display: block;
  margin-bottom: 0.25rem;
}
.o-nc-confirm-note p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Expanded preview (in-app card) */
.m-notification-preview-expanded {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  margin: 1rem 0;
}
.m-np-expanded-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.m-np-expanded-title {
  font-size: 16px;
  font-weight: 600;
  padding: 0.75rem 1rem 0.25rem;
}
.m-np-expanded-subtitle {
  font-size: 14px;
  color: #555;
  padding: 0 1rem;
}
.m-np-expanded-message {
  font-size: 14px;
  color: #666;
  padding: 0.5rem 1rem 1rem;
}
