/* Add Section modal — from new-design/modal.css, scoped to :is(#addSection, #viewSection) */

:is(#addSection, #viewSection) .modal-dialog {
  max-width: min(640px, 100%);
  margin: 1.25rem auto;
}

:is(#addSection, #viewSection) .modal-content {
  border: none;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

:is(#addSection, #viewSection) .container-section-main {
  width: min(640px, 100%);
  max-height: none;
  background-color: #fff;
  border-radius: 16px;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0;
  padding: 0;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  overflow: visible;
}

:is(#addSection, #viewSection) .header-style-add-board {
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
}

:is(#addSection, #viewSection) .title-id-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

:is(#addSection, #viewSection) .icon-board-label {
  width: 48px;
  height: 48px;
  background-color: #eeeaff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d5efc;
  flex-shrink: 0;
}

:is(#addSection, #viewSection) .icon-board-label .material-symbols-outlined {
  font-size: 24px;
}

:is(#addSection, #viewSection) .title-desc-board {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
  min-width: 0;
}

:is(#addSection, #viewSection) .title-add-board {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1c21;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

:is(#addSection, #viewSection) .description-title-add-board {
  font-size: 0.875rem;
  font-weight: 400;
  color: #8b93a7;
  line-height: 1.45;
  margin: 0;
}

:is(#addSection, #viewSection) .cancel-icon-board {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

:is(#addSection, #viewSection) .icon-cancel {
  width: 34px;
  height: 34px;
  background-color: #f4f5f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: background 0.15s ease;
}

:is(#addSection, #viewSection) .cancel-icon-board:hover .icon-cancel {
  background-color: #e8eaef;
}

:is(#addSection, #viewSection) .icon-cancel .material-symbols-outlined {
  font-size: 20px;
}

:is(#addSection, #viewSection) .section-modal-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 0;
  overflow: visible;
  padding: 8px 24px;
}

:is(#addSection, #viewSection) .select-color-user-data {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

:is(#addSection, #viewSection) .section-field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 8px;
}

:is(#addSection, #viewSection) .section-field .section-field-label {
  font-weight: 600;
  color: #1a1c21;
  margin-bottom: 8px;
}

:is(#addSection, #viewSection) .permanent-color-star {
  color: #ef4444;
}

:is(#addSection, #viewSection) .section-color-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

:is(#addSection, #viewSection) .color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 0;
  transition: transform 0.15s ease;
}

:is(#addSection, #viewSection) .color-swatch .material-symbols-outlined {
  font-size: 16px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
  display: none;
}

:is(#addSection, #viewSection) .color-swatch.is-selected {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--swatch);
}

:is(#addSection, #viewSection) .color-swatch.is-selected .material-symbols-outlined {
  display: block;
}

:is(#addSection, #viewSection) .color-swatch:hover {
  transform: scale(1.08);
}

:is(#addSection, #viewSection) .section-field {
  display: flex;
  flex-direction: column;
}

:is(#addSection, #viewSection) .section-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 12px 0 8px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

:is(#addSection, #viewSection) .section-input-box:focus-within {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.12);
}

:is(#addSection, #viewSection) .section-input-box.is-readonly {
  background: #fafbfc;
  height: 60px !important;
}

:is(#addSection, #viewSection) .section-input-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eeeaff;
  color: #6d5efc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

:is(#addSection, #viewSection) .section-input-icon .material-symbols-outlined {
  font-size: 18px;
}

:is(#addSection, #viewSection) .section-input-icon.text-icon {
  font-family: Georgia, "Times New Roman", serif;
}

:is(#addSection, #viewSection) .section-input-box input {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.875rem;
  color: #1a1c21;
  padding: 0 !important;
}

:is(#addSection, #viewSection) .section-input-box input::placeholder {
  color: #9ca3af;
}

:is(#addSection, #viewSection) .section-input-box.is-readonly input {
  color: #374151;
}

:is(#addSection, #viewSection) .board-description-structure.section-desc-editor {
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  background: #fff;
  min-height: 140px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

:is(#addSection, #viewSection) .section-desc-editor:focus-within {
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}

:is(#addSection, #viewSection) .rl-rich-editor > ngx-editor-menu,
:is(#addSection, #viewSection) .edit-section-label {
  display: block;
  background: #f4f6fb;
  border-bottom: 1px solid #e8ecf3;
  border-radius: 12px 12px 0 0;
  padding: 6px 8px;
}

:is(#addSection, #viewSection) .enter-description-label {
  flex: 1;
  min-height: 96px;
}

:is(#addSection, #viewSection) .rl-rich-editor .NgxEditor__MenuBar,
:is(#addSection, #viewSection) .NgxEditor__MenuBar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 2px !important;
  background: transparent !important;
  border: none !important;
  padding: 2px !important;
}

:is(#addSection, #viewSection) .NgxEditor__MenuItem,
:is(#addSection, #viewSection) .NgxEditor__Dropdown {
  border-radius: 8px !important;
  min-height: 32px;
}

:is(#addSection, #viewSection) .NgxEditor__MenuItem.NgxEditor__MenuItem--Icon {
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  color: #475569 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

:is(#addSection, #viewSection) .NgxEditor__MenuItem:hover,
:is(#addSection, #viewSection) .NgxEditor__Dropdown:hover {
  background: rgba(99, 91, 255, 0.1) !important;
}

:is(#addSection, #viewSection) .NgxEditor__MenuItem.NgxEditor__MenuItem--Active,
:is(#addSection, #viewSection) .NgxEditor__MenuItem .NgxEditor__MenuItem--Active,
:is(#addSection, #viewSection) .NgxEditor__Dropdown--Selected,
:is(#addSection, #viewSection) .NgxEditor__Dropdown--Open {
  background: rgba(99, 91, 255, 0.16) !important;
  color: #4f46e5 !important;
}

:is(#addSection, #viewSection) .NgxEditor__Seperator {
  height: 20px;
  margin: 0 4px !important;
  border-left-color: #d7deea !important;
}

:is(#addSection, #viewSection) .NgxEditor__Popup,
:is(#addSection, #viewSection) .NgxEditor__Dropdown--DropdownMenu {
  z-index: 1080 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14) !important;
  overflow: hidden;
}

:is(#addSection, #viewSection) .NgxEditor {
  border: none !important;
  min-height: 110px !important;
  height: auto !important;
  border-radius: 0 0 12px 12px !important;
  background: #fff !important;
  color: #1a1c21 !important;
  padding: 12px 14px !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

:is(#addSection, #viewSection) .NgxEditor__Content,
:is(#addSection, #viewSection) .NgxEditor .ProseMirror {
  min-height: 88px !important;
  height: auto !important;
  max-height: 200px;
  overflow-y: auto !important;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #1a1c21 !important;
  caret-color: #4f46e5;
  outline: none !important;
  cursor: text !important;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

:is(#addSection, #viewSection) .NgxEditor__Content p {
  margin: 0 0 0.55em;
  color: inherit !important;
}

:is(#addSection, #viewSection) .NgxEditor__Placeholder:before {
  color: #9ca3af !important;
}

:is(#addSection, #viewSection) .document-data-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

:is(#addSection, #viewSection) .media-attach-heading h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1c21;
  margin: 0 0 8px;
}

:is(#addSection, #viewSection) .media-size-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

:is(#addSection, #viewSection) .media-size-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
}

:is(#addSection, #viewSection) .media-size-chip .material-symbols-outlined {
  font-size: 14px;
  color: #64748b;
}

:is(#addSection, #viewSection) .media-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #eef0f4;
}

:is(#addSection, #viewSection) .media-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0;
  text-decoration: none;
}

:is(#addSection, #viewSection) .media-tab .material-symbols-outlined {
  font-size: 22px;
}

:is(#addSection, #viewSection) .media-tab:hover:not(.disabled) {
  color: #6b7280;
}

:is(#addSection, #viewSection) .media-tab.is-active {
  color: #635bff;
  border-bottom-color: #635bff;
}

:is(#addSection, #viewSection) .media-tab.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

:is(#addSection, #viewSection) .media-upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 14px;
  border: 1.5px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  flex-wrap: wrap;
  overflow: visible;
}

:is(#addSection, #viewSection) .media-preview {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #eeeaff;
  color: #6d5efc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

:is(#addSection, #viewSection) .media-preview img,
:is(#addSection, #viewSection) .media-preview video,
:is(#addSection, #viewSection) .media-preview iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

:is(#addSection, #viewSection) .media-preview .material-symbols-outlined {
  font-size: 28px;
}

:is(#addSection, #viewSection) .media-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  box-shadow: 0 0 0 2px #f9fafb;
}

:is(#addSection, #viewSection) .media-remove-btn .material-symbols-outlined {
  font-size: 12px;
}

:is(#addSection, #viewSection) .media-upload-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1c21;
  margin: 0;
}

:is(#addSection, #viewSection) .media-upload-hint {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 2px 0 0;
}

:is(#addSection, #viewSection) .media-previews-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  padding: 8px 8px 2px 2px;
}

:is(#addSection, #viewSection) .footer-section-modal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 22px;
  border-top: 1px solid #eef0f4;
}

:is(#addSection, #viewSection) .cancel-btn-board {
  padding: 10px 18px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

:is(#addSection, #viewSection) .cancel-btn-board:hover {
  background: #f9fafb;
}

:is(#addSection, #viewSection) .publish-section-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #635bff;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

:is(#addSection, #viewSection) .publish-section-btn:hover:not(:disabled) {
  background: #5249f0;
}

:is(#addSection, #viewSection) .publish-section-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* —— Dark mode —— */
html[data-theme="dark"] :is(#addSection, #viewSection) .container-section-main {
  background: var(--rl-surface, #1e293b);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--rl-border, #334155);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .header-style-add-board {
  border-bottom-color: var(--rl-border, #334155);
  background: transparent;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .icon-board-label {
  background-color: rgba(99, 91, 255, 0.18);
  color: #a5b4fc;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .title-add-board {
  color: var(--rl-ink, #f1f5f9);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .description-title-add-board {
  color: var(--rl-muted, #94a3b8);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .icon-cancel {
  background-color: #334155;
  color: var(--rl-muted, #94a3b8);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .cancel-icon-board:hover .icon-cancel {
  background-color: #475569;
  color: var(--rl-ink, #f1f5f9);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-modal-body {
  background: var(--rl-surface, #1e293b);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-field-label {
  color: var(--rl-muted, #94a3b8);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-field .section-field-label {
  color: var(--rl-ink, #f1f5f9);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .color-swatch.is-selected {
  box-shadow:
    0 0 0 2px #1e293b,
    0 0 0 4px var(--swatch);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-input-box {
  background: var(--rl-search-bg, #0f172a);
  border-color: var(--rl-border, #334155);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-input-box:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.2);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-input-box.is-readonly {
  background: #0f172a;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-input-icon {
  background: rgba(99, 91, 255, 0.18);
  color: #a5b4fc;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-input-box input,
html[data-theme="dark"] :is(#addSection, #viewSection) .section-input-box.is-readonly input {
  color: var(--rl-ink, #f1f5f9) !important;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-input-box input::placeholder {
  color: var(--rl-muted, #94a3b8);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .board-description-structure.section-desc-editor {
  background: var(--rl-search-bg, #0f172a);
  border-color: var(--rl-border, #334155);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .section-desc-editor:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.18);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .rl-rich-editor > ngx-editor-menu,
html[data-theme="dark"] :is(#addSection, #viewSection) .edit-section-label {
  background: #1e293b;
  border-bottom-color: var(--rl-border, #334155);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor {
  background: var(--rl-search-bg, #0f172a) !important;
  color: var(--rl-ink, #f1f5f9) !important;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Content,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Content p,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor .ProseMirror,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor .ProseMirror p {
  color: var(--rl-ink, #f1f5f9) !important;
  caret-color: #818cf8;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__MenuBar {
  color: var(--rl-ink, #f1f5f9) !important;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__MenuItem,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Dropdown,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__MenuItem--Icon {
  color: #94a3b8 !important;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__MenuItem:hover,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Dropdown:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f1f5f9 !important;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__MenuItem.NgxEditor__MenuItem--Active,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__MenuItem .NgxEditor__MenuItem--Active,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Dropdown--Selected,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Dropdown--Open {
  background: rgba(99, 91, 255, 0.2) !important;
  color: #c7d2fe !important;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Popup,
html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Dropdown--DropdownMenu {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .NgxEditor__Placeholder:before {
  color: #94a3b8 !important;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-attach-heading h5 {
  color: var(--rl-ink, #f1f5f9);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-size-chip {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-size-chip .material-symbols-outlined {
  color: #94a3b8;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-tabs {
  border-bottom-color: var(--rl-border, #334155);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-tab {
  color: var(--rl-muted, #94a3b8);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-tab:hover:not(.disabled) {
  color: var(--rl-ink, #f1f5f9);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-tab.is-active {
  color: #a5b4fc;
  border-bottom-color: #818cf8;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-upload-box {
  background: #0f172a;
  border-color: var(--rl-border, #334155);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-preview {
  background: rgba(99, 91, 255, 0.18);
  color: #a5b4fc;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-remove-btn {
  box-shadow: 0 0 0 2px #0f172a;
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-upload-title {
  color: var(--rl-ink, #f1f5f9);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .media-upload-hint {
  color: var(--rl-muted, #94a3b8);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .footer-section-modal {
  border-top-color: var(--rl-border, #334155);
  background: var(--rl-surface, #1e293b);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .cancel-btn-board {
  background: transparent;
  border-color: var(--rl-border, #334155);
  color: var(--rl-ink, #f1f5f9);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .cancel-btn-board:hover {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .publish-section-btn {
  background: var(--rl-blue, #0c6af4);
}

html[data-theme="dark"] :is(#addSection, #viewSection) .publish-section-btn:hover:not(:disabled) {
  background: #2580f7;
}

/* View/Edit section header actions + readonly description */
#viewSection .view-card-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

#viewSection .header-style-add-board {
  align-items: center;
}

#viewSection .title-id-content {
  align-items: center;
}

#viewSection .title-desc-board {
  padding-top: 0;
}

#viewSection .cancel-icon-board {
  align-items: center;
}

#viewSection .section-desc-readonly {
  min-height: auto;
}

#viewSection .section-desc-readonly .rl-desc-input.is-readonly {
  min-height: auto;
  padding: 12px 14px;
  cursor: default;
}

#viewSection .section-desc-readonly:focus-within {
  border-color: #e5e7eb;
  box-shadow: none;
}
