/* Novo One organizer polish: final cascade authority for compact controls and dialogs. */

/* Workspace identity: logo left, live library status right. */
html.library-novo1 body.library-workspace-open .brand-row {
  display: grid !important;
  grid-template-columns: 28px minmax(56px, 1fr) 136px !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 4px !important;
  padding: 6px 8px !important;
}

/* Compact Add menu and focused clipboard workflow. */
html.library-novo1 body.library-workspace-open #app .command-cluster > .floating-menu.add-menu {
  width: min(500px, calc(100vw - var(--novo1-rail) - 24px)) !important;
  padding: 7px !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 38px rgba(25, 52, 75, .16) !important;
}

html.library-novo1 body.library-workspace-open .add-menu-item {
  min-height: 58px !important;
  grid-template-columns: 36px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 9px !important;
}

html.library-novo1 body.library-workspace-open .add-menu-icon {
  width: 36px !important;
  height: 36px !important;
}

html.library-novo1 body.library-workspace-open .add-menu-copy strong {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

html.library-novo1 body.library-workspace-open .add-menu-copy small {
  margin-top: 2px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

html.library-novo1 dialog[data-dialog="import"][data-import-variant="paste"],
html.library-novo1 dialog[data-dialog="import"][data-import-variant="paste"][open] {
  width: min(680px, calc(100vw - 32px)) !important;
}

html.library-novo1 dialog[data-dialog="import"][data-import-variant="paste"] > .modal-card {
  height: auto !important;
  grid-template-rows: auto auto auto !important;
}

html.library-novo1 dialog[data-dialog="import"][data-import-variant="paste"] .import-scroll-region {
  gap: 12px !important;
  padding: 16px 18px 18px !important;
  overflow: hidden !important;
}

html.library-novo1 dialog[data-dialog="import"][data-import-variant="paste"] .import-scroll-region > .muted {
  color: #526b7d !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

html.library-novo1 .paste-format-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

html.library-novo1 .paste-format-hints.hidden {
  display: none !important;
}

html.library-novo1 .paste-format-hints span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  color: #315773;
  background: #eef6ff;
  border: 1px solid #c6dcfb;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
}

html.library-novo1 dialog[data-dialog="import"][data-import-variant="paste"] .large-textarea {
  min-height: 220px !important;
  padding: 14px !important;
  border: 1px solid #b9cbd9 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #183348 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  resize: vertical !important;
}

html.library-novo1 dialog[data-dialog="import"][data-import-variant="paste"] .large-textarea:focus {
  outline: 0 !important;
  border-color: #4389dc !important;
  box-shadow: 0 0 0 3px rgba(20, 104, 232, .12) !important;
}

html.library-novo1 body.library-workspace-open .brand-row > .novo-live-workspace-mark,
html.library-novo1 body.library-workspace-open .brand-row > .sidebar-brand-mark.novo-live-workspace-mark,
html.library-novo1 body.library-workspace-open .brand-row > .novo-live-workspace-mark .novo-wordmark-symbol,
html.library-novo1 body.library-workspace-open .brand-row > .sidebar-brand-mark.novo-live-workspace-mark .novo-wordmark-symbol {
  width: 28px !important;
  height: 28px !important;
}

html.library-novo1 body.library-workspace-open .brand-row .brand-copy {
  min-width: 0;
  justify-self: start;
  overflow: hidden;
}

html.library-novo1 body.library-workspace-open .brand-row .brand-title-line strong {
  display: block;
  overflow: hidden;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-row {
  width: 136px !important;
  min-width: 136px !important;
  height: 40px !important;
  min-height: 40px !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  gap: 5px !important;
  justify-self: end;
  margin: 0 !important;
  padding: 4px 6px !important;
  color: #3f586d;
  background: #f6f9fc !important;
  border: 1px solid #d7e2eb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-row:hover,
html.library-novo1 body.library-workspace-open .brand-row .library-status-row:focus-visible {
  color: #174f8c;
  background: #fff !important;
  border-color: #9fbbd3 !important;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .09) !important;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-symbol,
html.library-novo1 .library-status-hero-icon {
  display: grid;
  place-items: center;
  color: #1468e8;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-symbol {
  width: 20px !important;
  height: 20px !important;
  background: #e9f2ff !important;
  border: 0 !important;
  border-radius: 6px !important;
}

html.library-novo1 body.library-workspace-open .library-status-symbol::before,
html.library-novo1 .library-status-hero-icon::before {
  content: "";
  display: block;
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.5 12 2.3 2.3 4.8-5.1'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.5 12 2.3 2.3 4.8-5.1'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-symbol::before {
  width: 13px !important;
  height: 13px !important;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-row[data-state="local"] .library-status-symbol {
  color: #667c8e;
  background: #eaf0f4 !important;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-row[data-state="synced"] .library-status-symbol {
  color: #168064;
  background: #e5f6f0 !important;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-copy {
  min-width: 0;
  gap: 0;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-copy strong,
html.library-novo1 body.library-workspace-open .brand-row .library-status-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-copy strong {
  font-size: var(--novo1-control-font-size) !important;
  line-height: 1.05 !important;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-copy small {
  font-size: var(--novo1-control-font-size) !important;
  line-height: 1.05 !important;
}

html.library-novo1 body.library-workspace-open .brand-row .library-status-chevron {
  display: none !important;
}

/* Organizer headings belong to the scroll flow; they should leave with their section. */
html.library-novo1 body.library-workspace-open .sidebar-scroll-region > .collapsible-section > .section-heading,
html.library-novo1 body.library-workspace-open .trash-taxonomy-section > .section-heading {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Search and management are one organizer-level tool, not three repeated sets. */
html.library-novo1 body.library-workspace-open .organizer-hub-fixed {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 auto;
  padding: 5px 10px 9px;
  background: #f7f9fc;
  border-bottom: 1px solid #dce5ec;
}

html.library-novo1 body.library-workspace-open .organizer-hub-fixed > .organizer-hub {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 34px;
  flex: 0 0 auto;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid #d5e0e9;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(17, 42, 63, .035);
}

html.library-novo1 body.library-workspace-open .sidebar-scroll-region > .collapsible-section:first-child {
  border-top: 0 !important;
}

html.library-novo1 body.library-workspace-open .organizer-hub > button {
  min-width: 0;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  color: #4f6679;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 10.5px;
  font-weight: 720;
  cursor: pointer;
}

html.library-novo1 body.library-workspace-open .organizer-hub > button + button {
  border-left: 2px solid #dce5ec;
}

html.library-novo1 body.library-workspace-open .organizer-hub > button:hover,
html.library-novo1 body.library-workspace-open .organizer-hub > button:focus-visible {
  color: #0e5fcf;
  background: #edf5ff;
  outline: 0;
}

html.library-novo1 body.library-workspace-open .organizer-hub-search-icon,
html.library-novo1 body.library-workspace-open .organizer-hub-manage-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  display: block;
  background: currentColor;
}

html.library-novo1 body.library-workspace-open .organizer-hub-search-icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 body.library-workspace-open .organizer-hub-manage-icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Section actions: one coherent 16px outline-icon family. */
html.library-novo1 body.library-workspace-open .section-heading-actions.organizer-heading-actions {
  width: auto !important;
  min-width: 0 !important;
  display: flex;
  gap: 3px !important;
}

html.library-novo1 body.library-workspace-open .section-heading-actions.organizer-heading-actions > button {
  position: relative;
  width: 26px !important;
  min-width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;
  display: grid;
  place-items: center;
  padding: 0 !important;
  overflow: visible;
  color: #60778a;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 0 !important;
}

html.library-novo1 body.library-workspace-open .section-heading-actions.organizer-heading-actions > button:hover,
html.library-novo1 body.library-workspace-open .section-heading-actions.organizer-heading-actions > button:focus-visible {
  color: #0e5fcf;
  background: #edf5ff !important;
  border-color: #c4d9f3 !important;
  outline: 0;
}

html.library-novo1 body.library-workspace-open .section-heading-actions.organizer-heading-actions > button::before {
  content: "" !important;
  position: static !important;
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  margin: 0 !important;
  background: currentColor !important;
  border: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}

html.library-novo1 body.library-workspace-open .section-heading-actions.organizer-heading-actions > button::after {
  content: none !important;
  display: none !important;
}

html.library-novo1 body.library-workspace-open .organizer-search-toggle::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

html.library-novo1 body.library-workspace-open .organizer-add-button::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

html.library-novo1 body.library-workspace-open .organizer-manage-button::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h7M15 7h5M4 17h3M11 17h9'/%3E%3Ccircle cx='13' cy='7' r='2'/%3E%3Ccircle cx='9' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h7M15 7h5M4 17h3M11 17h9'/%3E%3Ccircle cx='13' cy='7' r='2'/%3E%3Ccircle cx='9' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* Inline organizer search: one surface, one focus ring, no nested input chrome. */
html.library-novo1 body.library-workspace-open .organizer-inline-search {
  height: 32px !important;
  grid-template-columns: 17px minmax(0, 1fr) 24px !important;
  gap: 6px !important;
  margin: 2px 2px 6px !important;
  padding: 0 3px 0 9px !important;
  color: #6a7f91;
  background: #fff !important;
  border: 1px solid #c5d3df !important;
  border-radius: 8px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open .organizer-inline-search:focus-within {
  border-color: #4389dc !important;
  outline: 0 !important;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .11) !important;
}

html.library-novo1 body.library-workspace-open .organizer-inline-search-icon {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
}

html.library-novo1 body.library-workspace-open .organizer-inline-search input,
html.library-novo1 body.library-workspace-open .organizer-inline-search input:hover,
html.library-novo1 body.library-workspace-open .organizer-inline-search input:focus {
  width: 100%;
  min-width: 0;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  color: #1e3a50 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 560;
}

html.library-novo1 body.library-workspace-open .organizer-inline-search > button {
  width: 24px !important;
  height: 24px !important;
  display: grid;
  place-items: center;
  padding: 0 !important;
  color: #718698;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open .organizer-inline-search > button:hover {
  color: #244b6c;
  background: #edf3f8 !important;
}

html.library-novo1 body.library-workspace-open .organizer-inline-search > button::before {
  width: 14px !important;
  height: 14px !important;
}

html.library-novo1 body.library-workspace-open .organizer-inline-search > button::after {
  content: none !important;
  display: none !important;
}

/* Taxonomy dialog: remove the composited blur rectangle and keep one restrained shadow. */
html.library-novo1 dialog[data-dialog="taxonomy"],
html.library-novo1 dialog[data-dialog="taxonomy"][open] {
  width: min(520px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  height: auto !important;
  max-height: calc(var(--library-visual-height, 100dvh) - 32px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card {
  width: 100% !important;
  max-width: 100% !important;
  display: grid;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #b9cad8 !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 48px rgba(17, 42, 63, .18), 0 2px 6px rgba(17, 42, 63, .07) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > header {
  min-height: 58px;
  padding: 10px 16px;
  background: #f7f9fc;
  border-bottom: 1px solid #dce5ec;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > header h2 {
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -.025em;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > header > button,
html.library-novo1 .smart-folder-card > header > button {
  position: relative;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  overflow: hidden;
  color: transparent !important;
  background: #fff !important;
  border: 1px solid #cbd8e3 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > header > button::before,
html.library-novo1 .smart-folder-card > header > button::before {
  content: "" !important;
  position: absolute;
  inset: 8px;
  display: block;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  background: #617689 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat !important;
  transform: none !important;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > header > button::after,
html.library-novo1 .smart-folder-card > header > button::after {
  content: none !important;
  display: none !important;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > .muted {
  margin: 0;
  padding: 16px 18px 8px;
  color: #6a7d8d;
  font-size: 12px;
  line-height: 1.45;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > label {
  display: grid;
  gap: 6px;
  padding: 8px 18px 18px;
  color: #29445a;
  font-size: 11px;
  font-weight: 720;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card input[name="name"] {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  border: 1px solid #b9cbd9 !important;
  border-radius: 8px !important;
  outline: 0 !important;
  box-shadow: none !important;
  font-size: 12.5px;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card input[name="name"]:focus {
  border-color: #3f88dd !important;
  outline: 0 !important;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .11) !important;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .taxonomy-color-field {
  margin: 0 18px 18px;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > footer {
  min-height: 58px;
  padding: 9px 16px;
  background: #f7f9fc;
  border-top: 1px solid #dce5ec;
}

/* Smart-folder builder: compact information hierarchy with no dead vertical space. */
html.library-novo1 .novo1-smart-folder-dialog {
  width: min(760px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  padding: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.library-novo1 .smart-folder-card {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: calc(var(--library-visual-height, 100dvh) - 32px) !important;
  grid-template-rows: auto auto auto auto auto !important;
  gap: 0 !important;
  background: #fff !important;
  border: 1px solid #b9cad8 !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 56px rgba(17, 42, 63, .2), 0 2px 6px rgba(17, 42, 63, .06) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.library-novo1 .smart-folder-card > header {
  min-height: 62px !important;
  padding: 11px 16px !important;
  background: #f7f9fc !important;
}

html.library-novo1 .smart-folder-card > header h2 {
  margin-top: 2px;
  font-size: 18px !important;
  font-weight: 720;
}

html.library-novo1 .smart-folder-card .organizer-dialog-kicker {
  font-size: 8.5px;
  letter-spacing: .11em;
}

html.library-novo1 .smart-folder-name-row {
  grid-template-columns: minmax(0, 1fr) 150px !important;
  gap: 10px !important;
  padding: 14px 16px 12px !important;
}

html.library-novo1 .smart-folder-name-row label {
  gap: 5px;
  color: #425d72;
  font-size: 10px;
}

html.library-novo1 .smart-folder-name-row input,
html.library-novo1 .smart-folder-name-row select,
html.library-novo1 .smart-rule-row input,
html.library-novo1 .smart-rule-row select {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 10px !important;
  color: #17344c !important;
  background: #fff !important;
  border: 1px solid #bfd0dd !important;
  border-radius: 8px !important;
  outline: 0 !important;
  box-shadow: none !important;
  font-size: 11px !important;
}

html.library-novo1 .smart-folder-name-row input:focus,
html.library-novo1 .smart-folder-name-row select:focus,
html.library-novo1 .smart-rule-row input:focus,
html.library-novo1 .smart-rule-row select:focus {
  border-color: #4389dc !important;
  outline: 0 !important;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .1) !important;
}

html.library-novo1 .smart-rule-builder {
  min-height: 0 !important;
  max-height: min(280px, 38dvh);
  overflow: auto;
  padding: 0 16px 12px !important;
}

html.library-novo1 .smart-rule-builder-heading {
  align-items: center !important;
  gap: 12px;
  padding: 10px 0 8px !important;
}

html.library-novo1 .smart-rule-builder-heading strong {
  font-size: 11.5px;
}

html.library-novo1 .smart-rule-builder-heading span {
  font-size: 9.5px;
}

html.library-novo1 .smart-rule-builder-heading button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  background: #f1f6fd;
  border-color: #bdd3ea;
  box-shadow: none;
}

html.library-novo1 .smart-rule-add-icon {
  width: 13px;
  height: 13px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .smart-rule-list {
  gap: 6px !important;
}

html.library-novo1 .smart-rule-row {
  grid-template-columns: minmax(118px, .78fr) minmax(135px, .92fr) minmax(180px, 1.3fr) 32px !important;
  gap: 6px !important;
}

html.library-novo1 .smart-rule-row > button {
  width: 32px !important;
  height: 38px !important;
  color: #9b3446;
  background: #fff !important;
  border: 1px solid #e4c2c8 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html.library-novo1 .smart-rule-row > button:hover {
  background: #fff3f5 !important;
  border-color: #d997a3 !important;
}

html.library-novo1 .smart-rule-row > button::after {
  content: none !important;
  display: none !important;
}

html.library-novo1 .smart-folder-preview {
  min-height: 44px !important;
  grid-template-columns: 24px auto minmax(0, 1fr) !important;
  gap: 8px !important;
  margin: 0 16px 12px !important;
  padding: 8px 10px !important;
  background: #f3f7fc !important;
  border-color: #cfdeeb !important;
  border-radius: 8px !important;
  font-size: 9.5px !important;
}

html.library-novo1 .smart-folder-preview strong {
  font-size: 10.5px !important;
}

html.library-novo1 .smart-folder-preview-icon {
  width: 24px !important;
  height: 24px !important;
  display: grid;
  place-items: center;
  background: #e6f0ff !important;
  border-radius: 6px;
  -webkit-mask: none !important;
  mask: none !important;
}

html.library-novo1 .smart-folder-preview-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  background: #1468e8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 7h7l2 2h9v10H3z'/%3E%3Cpath d='m15 11 .5 1.5L17 13l-1.5.5L15 15l-.5-1.5L13 13l1.5-.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 7h7l2 2h9v10H3z'/%3E%3Cpath d='m15 11 .5 1.5L17 13l-1.5.5L15 15l-.5-1.5L13 13l1.5-.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .smart-folder-card > footer {
  min-height: 58px !important;
  padding: 9px 16px !important;
}

html.library-novo1 .smart-folder-card > footer .ghost-button,
html.library-novo1 .smart-folder-card > footer .primary-button {
  min-height: 36px;
  padding-inline: 13px;
  border-radius: 8px;
  font-size: 10.5px;
}

@media (max-width: 700px) {
  html.library-novo1 body.library-workspace-open .brand-row {
    grid-template-columns: 24px minmax(46px, 1fr) 24px !important;
    gap: 3px !important;
    padding-inline: 5px !important;
  }

  html.library-novo1 body.library-workspace-open .brand-row > .novo-live-workspace-mark,
  html.library-novo1 body.library-workspace-open .brand-row > .sidebar-brand-mark.novo-live-workspace-mark,
  html.library-novo1 body.library-workspace-open .brand-row > .novo-live-workspace-mark .novo-wordmark-symbol,
  html.library-novo1 body.library-workspace-open .brand-row > .sidebar-brand-mark.novo-live-workspace-mark .novo-wordmark-symbol {
    width: 24px !important;
    height: 24px !important;
  }

  html.library-novo1 body.library-workspace-open .brand-row .brand-title-line strong {
    font-size: 11px;
  }

  html.library-novo1 body.library-workspace-open .brand-row .library-status-row {
    width: 24px !important;
    min-width: 24px !important;
    height: 28px !important;
    min-height: 28px !important;
    grid-template-columns: 1fr !important;
    padding: 2px !important;
  }

  html.library-novo1 body.library-workspace-open .brand-row .library-status-copy {
    display: none !important;
  }

  html.library-novo1 .smart-folder-name-row {
    grid-template-columns: minmax(0, 1fr) 130px !important;
  }

  html.library-novo1 .smart-rule-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 32px !important;
  }

  html.library-novo1 .smart-rule-row input {
    grid-column: 1 / -1;
  }

  html.library-novo1 .smart-rule-row > button {
    grid-column: 3;
    grid-row: 1;
  }

  html.library-novo1 .smart-folder-preview > span:last-child {
    display: none;
  }
}

@media (max-width: 480px) {
  html.library-novo1 body.library-workspace-open .brand-row {
    grid-template-columns: 24px 16px !important;
    justify-content: start !important;
    gap: 1px !important;
    padding: 5px 2px 5px 3px !important;
  }

  html.library-novo1 body.library-workspace-open .brand-row .brand-copy {
    display: none !important;
  }

  html.library-novo1 body.library-workspace-open .brand-row .library-status-row {
    width: 16px !important;
    min-width: 16px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border-color: transparent !important;
  }

  html.library-novo1 body.library-workspace-open .brand-row .library-status-symbol {
    width: 15px !important;
    height: 15px !important;
    background: transparent !important;
  }

  html.library-novo1 .smart-folder-name-row {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: 12px !important;
  }

  html.library-novo1 .smart-rule-builder {
    padding-inline: 12px !important;
  }

  html.library-novo1 .smart-rule-builder-heading > div > span {
    display: none;
  }

  html.library-novo1 .smart-rule-builder-heading > button {
    min-width: 82px;
    justify-content: center;
  }

  html.library-novo1 .smart-rule-builder-heading > button span {
    display: inline-block;
  }

  html.library-novo1 .smart-rule-row {
    grid-template-columns: minmax(0, 1fr) 32px !important;
    padding: 8px;
    background: #f7f9fc;
    border: 1px solid #dce5ec;
    border-radius: 9px;
  }

  html.library-novo1 .smart-rule-row select:first-child {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html.library-novo1 .smart-rule-row select:nth-child(2) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  html.library-novo1 .smart-rule-row input {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }

  html.library-novo1 .smart-rule-row > button {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html.library-novo1 .smart-folder-preview {
    grid-template-columns: 24px minmax(0, 1fr) !important;
    margin-inline: 12px !important;
  }
}

/* Organizer control unification: custom menus and one precise outline-icon family. */
html.library-novo1 .novo1-select {
  position: relative;
  min-width: 0;
  color: #203b51;
}

html.library-novo1 .novo1-select.is-open {
  z-index: 120;
}

html.library-novo1 .smart-rule-builder:has(.novo1-select.is-open) {
  position: relative;
  z-index: 110;
  overflow: visible;
}

html.library-novo1 .novo1-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

html.library-novo1 .novo1-select-trigger {
  width: 100%;
  height: 38px;
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15px;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 11px;
  color: #203b51;
  background: #fff;
  border: 1px solid #c8d6e2;
  border-radius: 8px;
  box-shadow: none;
  font: inherit;
  font-size: 11.5px;
  font-weight: 680;
  line-height: 1;
  text-align: left;
  cursor: pointer;
}

html.library-novo1 .novo1-select-trigger:hover {
  border-color: #a9bdcd;
  background: #fbfdff;
}

html.library-novo1 .novo1-select-trigger:focus-visible,
html.library-novo1 .novo1-select.is-open > .novo1-select-trigger {
  border-color: #4389dc;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .12);
}

html.library-novo1 .novo1-select-chevron {
  width: 14px;
  height: 14px;
  display: block;
  background: #5f7487;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 120ms ease;
}

html.library-novo1 .novo1-select.is-open .novo1-select-chevron {
  transform: rotate(180deg);
}

html.library-novo1 .novo1-select-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  right: 0;
  width: max(100%, 178px);
  max-height: 260px;
  display: grid;
  gap: 2px;
  padding: 5px;
  overflow: auto;
  background: #fff;
  border: 1px solid #c7d4df;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(17, 42, 63, .16), 0 2px 6px rgba(17, 42, 63, .07);
}

html.library-novo1 .novo1-select.drop-up > .novo1-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
}

html.library-novo1 .novo1-select-menu[hidden] {
  display: none !important;
}

html.library-novo1 .novo1-select-menu > button {
  width: 100%;
  min-height: 34px;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  color: #29465d;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 590;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

html.library-novo1 .novo1-select-menu > button:hover,
html.library-novo1 .novo1-select-menu > button:focus-visible {
  color: #0d59c6;
  background: #edf5ff;
  outline: 0;
}

html.library-novo1 .novo1-select-menu > button[aria-selected="true"] {
  color: #0d59c6;
  background: #e8f2ff;
  font-weight: 730;
}

html.library-novo1 .novo1-select-check {
  width: 15px;
  height: 15px;
  display: block;
  background: transparent;
}

html.library-novo1 .novo1-select-menu > button[aria-selected="true"] .novo1-select-check {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .organizer-sort-control {
  width: 184px;
  height: 38px;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 0 0 0 11px !important;
  overflow: visible;
  background: #fff;
}

html.library-novo1 .organizer-sort-label {
  padding-right: 10px;
  color: #5c7184;
  font-size: 10.5px;
  font-weight: 720;
}

html.library-novo1 .organizer-sort-select {
  height: 36px;
}

html.library-novo1 .organizer-sort-select > .novo1-select-trigger {
  height: 36px;
  min-height: 36px;
  padding-left: 11px;
  background: transparent;
  border: 0;
  border-left: 1px solid #e0e7ed;
  border-radius: 0 7px 7px 0;
  box-shadow: none;
}

html.library-novo1 .organizer-sort-control:has(.novo1-select-trigger:focus-visible),
html.library-novo1 .organizer-sort-control:has(.novo1-select.is-open) {
  border-color: #4389dc;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .12);
}

html.library-novo1 .organizer-sort-select > .novo1-select-trigger:focus-visible,
html.library-novo1 .organizer-sort-select.is-open > .novo1-select-trigger {
  box-shadow: none;
}

html.library-novo1 .organizer-new-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

html.library-novo1 .organizer-new-button::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .organizer-manager-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

html.library-novo1 .organizer-manager-edit::before,
html.library-novo1 .organizer-manager-more::before {
  content: "";
  width: 13px;
  height: 13px;
  display: block;
  flex: 0 0 13px;
  background: currentColor;
}

html.library-novo1 .organizer-manager-edit::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L8 18l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L8 18l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .organizer-manager-more::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m8 7 4-4 4 4'/%3E%3Cpath d='M5 13v7h14v-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m8 7 4-4 4 4'/%3E%3Cpath d='M5 13v7h14v-7'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .organizer-manager-pin::before,
html.library-novo1 body.library-workspace-open .pin-icon::before,
html.library-novo1 body.library-workspace-open .organizer-pin-mark {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1 6 3 3v2H7v-2l3-3-1-6Z'/%3E%3Cpath d='M12 14v7'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1 6 3 3v2H7v-2l3-3-1-6Z'/%3E%3Cpath d='M12 14v7'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

html.library-novo1 .organizer-card > header > button,
html.library-novo1 .library-status-card > header > button {
  position: relative;
}

html.library-novo1 .organizer-card > header > button::before,
html.library-novo1 .library-status-card > header > button::before {
  content: "" !important;
  position: absolute;
  inset: 7px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  background: #617689 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat !important;
  transform: none !important;
}

html.library-novo1 .organizer-card > header > button::after,
html.library-novo1 .library-status-card > header > button::after {
  content: none !important;
  display: none !important;
}

html.library-novo1 dialog[data-dialog="taxonomy"] .modal-card > header > button::before,
html.library-novo1 .smart-folder-card > header > button::before,
html.library-novo1 .organizer-card > header > button::before,
html.library-novo1 .library-status-card > header > button::before {
  inset: auto !important;
  left: 50% !important;
  top: 50% !important;
  width: 14px !important;
  height: 14px !important;
  transform: translate(-50%, -50%) !important;
}

html.library-novo1 .smart-folder-name-row .novo1-select,
html.library-novo1 .smart-rule-row .novo1-select {
  width: 100%;
}

html.library-novo1 .smart-rule-row .novo1-select-menu {
  left: 0;
  right: auto;
  width: max(100%, 190px);
}

/* Lucide (ISC): clock-check and inbox. */
html.library-novo1 body.library-workspace-open .recent-icon::before,
html.library-novo1 body.library-workspace-open .unfiled-icon::before {
  inset: 0;
  width: auto;
  height: auto;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
}

html.library-novo1 body.library-workspace-open .recent-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6v6l4 2'/%3E%3Cpath d='M21.964 12.921A10 10 0 1 0 12.796 21.97'/%3E%3Cpath d='m16 19 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6v6l4 2'/%3E%3Cpath d='M21.964 12.921A10 10 0 1 0 12.796 21.97'/%3E%3Cpath d='m16 19 2 2 4-4'/%3E%3C/svg%3E");
}

html.library-novo1 body.library-workspace-open .unfiled-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 16 12 14 15 10 15 8 12 2 12'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 16 12 14 15 10 15 8 12 2 12'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E");
}

html.library-novo1 body.library-workspace-open .nav-item[data-view="recent"]:hover,
html.library-novo1 body.library-workspace-open .nav-item[data-view="unfiled"]:hover {
  color: var(--novo-ink) !important;
  background: #f5f9ff !important;
  border-color: #cfe0f5 !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open .nav-item[data-view="recent"].active,
html.library-novo1 body.library-workspace-open .nav-item[data-view="unfiled"].active {
  color: var(--novo-blue-strong) !important;
  background: linear-gradient(90deg, #e6f1ff 0%, #f0f7ff 100%) !important;
  border: 1.5px solid #91bdf8 !important;
  box-shadow: none !important;
}

@media (max-width: 700px) {
  html.library-novo1 .organizer-sort-control {
    width: 184px;
  }

  html.library-novo1 .smart-rule-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 32px !important;
  }

  html.library-novo1 .smart-rule-row .smart-rule-field-select {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html.library-novo1 .smart-rule-row .smart-rule-operator-select {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}

@media (max-width: 480px) {
  html.library-novo1 .organizer-sort-control {
    width: 100%;
  }

  html.library-novo1 .smart-rule-row {
    grid-template-columns: minmax(0, 1fr) 32px !important;
  }

  html.library-novo1 .smart-rule-row .smart-rule-field-select {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html.library-novo1 .smart-rule-row .smart-rule-operator-select {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  html.library-novo1 .smart-rule-row input {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }

  html.library-novo1 .organizer-manager-actions .organizer-manager-more {
    display: inline-flex !important;
  }
}

/* Organizer semantic consistency: shared sizing, saved colors, and contained menus. */
html.library-novo1 .organizer-toolbar {
  align-items: center;
}

html.library-novo1 .organizer-new-button {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  align-self: center;
  padding-block: 0 !important;
}

html.library-novo1 .organizer-sort-select > .novo1-select-menu {
  max-height: none !important;
  overflow: hidden !important;
  scrollbar-width: none;
}

html.library-novo1 .organizer-sort-select > .novo1-select-menu::-webkit-scrollbar {
  display: none;
}

html.library-novo1 .novo1-select-menu {
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #8fa2b2 transparent;
}

html.library-novo1 .novo1-select-menu::-webkit-scrollbar {
  width: 8px;
}

html.library-novo1 .novo1-select-menu::-webkit-scrollbar-track {
  margin-block: 7px;
  background: transparent;
}

html.library-novo1 .novo1-select-menu::-webkit-scrollbar-thumb {
  background: #8fa2b2;
  background-clip: padding-box;
  border: 2px solid #fff;
  border-radius: 999px;
}

/* Modal-frame and select-menu finish: match the flush taxonomy dialog and keep
   native Windows scrollbar controls inside each rounded menu. */
html.library-novo1 .organizer-card,
html.library-novo1 .smart-folder-card,
html.library-novo1 .library-status-card {
  padding: 0 !important;
  overflow: hidden !important;
}

html.library-novo1 .organizer-card > header,
html.library-novo1 .smart-folder-card > header,
html.library-novo1 .library-status-card > header,
html.library-novo1 .organizer-card > footer,
html.library-novo1 .smart-folder-card > footer,
html.library-novo1 .library-status-card > footer {
  margin: 0 !important;
  border-radius: 0 !important;
}

html.library-novo1 .organizer-manager-search {
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 8px;
  padding: 0 9px 0 10px;
  color: #647b8e;
  background: #fff;
  border-color: #bfd0dd;
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

html.library-novo1 .organizer-manager-search:hover {
  border-color: #9eb5c7;
  background: #fcfdff;
}

html.library-novo1 .organizer-manager-search:focus-within {
  color: #1768cf;
  border-color: #4389dc;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .11);
}

html.library-novo1 .organizer-manager-search > span {
  width: 17px;
  height: 17px;
}

html.library-novo1 .organizer-manager-search input {
  color: #17344c !important;
  caret-color: #1468e8;
  font-size: 11.5px;
  line-height: 1.3;
}

html.library-novo1 .organizer-manager-search input::placeholder {
  color: #7b8d9c;
  opacity: 1;
}

html.library-novo1 .organizer-manager-search input::-webkit-search-cancel-button {
  width: 15px;
  height: 15px;
  display: block;
  flex: 0 0 15px;
  margin-left: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #6b8091;
  border-radius: 2px;
  cursor: pointer;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

html.library-novo1 .novo1-select-menu {
  overflow-x: hidden;
  scrollbar-gutter: stable;
  background-clip: padding-box;
}

html.library-novo1 .smart-match-select > .novo1-select-menu {
  max-height: none !important;
  overflow: hidden !important;
  scrollbar-width: none;
}

html.library-novo1 .smart-match-select > .novo1-select-menu::-webkit-scrollbar {
  display: none;
}

html.library-novo1 .novo1-select-menu::-webkit-scrollbar-button,
html.library-novo1 .novo1-select-menu::-webkit-scrollbar-button:single-button,
html.library-novo1 .novo1-select-menu::-webkit-scrollbar-button:vertical:decrement,
html.library-novo1 .novo1-select-menu::-webkit-scrollbar-button:vertical:increment {
  width: 0;
  height: 0;
  display: none;
  background: transparent;
}

html.library-novo1 .novo1-select-menu::-webkit-scrollbar-track-piece {
  margin-block: 7px;
  background: transparent;
}

html.library-novo1 .organizer-manager-row > .folder-icon,
html.library-novo1 .organizer-manager-row > .smart-folder-icon {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  color: #f28c00;
}

html.library-novo1 .organizer-manager-row > .folder-icon::before,
html.library-novo1 .organizer-manager-row > .smart-folder-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto !important;
  height: auto !important;
  background: transparent url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.7A2.7 2.7 0 0 1 5.7 4h4.1l2.1 2.3h6.4A2.7 2.7 0 0 1 21 9v8.3a2.7 2.7 0 0 1-2.7 2.7H5.7A2.7 2.7 0 0 1 3 17.3V6.7Z' fill='%23FFD31C' stroke='%23F28C00' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M3.6 9h16.8' stroke='%23FFAA00' stroke-width='1.5'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
  -webkit-mask: none !important;
  mask: none !important;
}

html.library-novo1 .organizer-manager-row[class*="label-color-"] .organizer-manager-item-copy strong,
html.library-novo1 .organizer-manager-row[class*="label-color-"] > .flag-icon {
  color: var(--label-ink) !important;
}

html.library-novo1 .organizer-manager-row[class*="label-color-"] > .flag-icon::before {
  background: var(--label-accent) !important;
}

html.library-novo1 .organizer-manager-empty[data-organizer-kind="folders"] > span,
html.library-novo1 .organizer-manager-empty[data-organizer-kind="smartFolders"] > span {
  width: 38px;
  height: 38px;
  background: transparent url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.7A2.7 2.7 0 0 1 5.7 4h4.1l2.1 2.3h6.4A2.7 2.7 0 0 1 21 9v8.3a2.7 2.7 0 0 1-2.7 2.7H5.7A2.7 2.7 0 0 1 3 17.3V6.7Z' fill='%23FFD31C' stroke='%23F28C00' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M3.6 9h16.8' stroke='%23FFAA00' stroke-width='1.5'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
  -webkit-mask: none;
  mask: none;
}

html.library-novo1 .organizer-manager-empty[data-organizer-kind="labels"] > span {
  background-color: #1769ff;
}

html.library-novo1 body.library-workspace-open .folder-row.active,
html.library-novo1 body.library-workspace-open .label-row.active {
  border: 1px solid #91bdf8 !important;
  box-shadow: none !important;
}

/* Unified folder + label assignment. One interaction model serves both
   taxonomies, including search, mixed selection, and inline creation. */
html.library-novo1 body.library-workspace-open #app .toolbar .bulk-taxonomy-control {
  position: relative;
  width: var(--novo1-control-height) !important;
  min-width: var(--novo1-control-height) !important;
  height: var(--novo1-control-height) !important;
  flex: 0 0 var(--novo1-control-height) !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .label-picker-button {
  width: var(--novo1-control-height) !important;
  min-width: var(--novo1-control-height) !important;
  height: var(--novo1-control-height) !important;
  padding: 0 !important;
}

html.library-novo1 .toolbar-label-icon {
  position: relative;
  width: 17px;
  height: 17px;
  display: block;
  color: #31516b;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15.5V4.8A1.8 1.8 0 0 1 5.8 3h9.4a1.8 1.8 0 0 1 1.27.53l4 4a1.8 1.8 0 0 1 0 2.54l-8.4 8.4a1.8 1.8 0 0 1-2.54 0Z'/%3E%3Ccircle cx='13.2' cy='7.8' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15.5V4.8A1.8 1.8 0 0 1 5.8 3h9.4a1.8 1.8 0 0 1 1.27.53l4 4a1.8 1.8 0 0 1 0 2.54l-8.4 8.4a1.8 1.8 0 0 1-2.54 0Z'/%3E%3Ccircle cx='13.2' cy='7.8' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .label-picker-button.active .toolbar-label-icon,
html.library-novo1 .label-picker-button:hover:not(:disabled) .toolbar-label-icon {
  color: #1267dc;
}

html.library-novo1 .bulk-taxonomy-menu {
  position: absolute !important;
  z-index: 80 !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: auto !important;
  width: min(304px, calc(100vw - 20px)) !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #17344c;
  background: #fff !important;
  border: 1px solid #c7d5e1 !important;
  border-radius: 11px !important;
  box-shadow: 0 15px 38px rgba(24, 55, 82, .18), 0 2px 7px rgba(24, 55, 82, .08) !important;
}

html.library-novo1 .bulk-taxonomy-menu-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #fbfdff, #f5f8fb);
  border-bottom: 1px solid #e1e8ee;
}

html.library-novo1 .bulk-taxonomy-menu-head strong {
  font-size: 12px;
  letter-spacing: .01em;
}

html.library-novo1 .bulk-taxonomy-menu-head span {
  color: #6a7f90;
  font-size: 10px;
  font-weight: 700;
}

html.library-novo1 .bulk-taxonomy-search {
  height: 38px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin: 9px 10px 7px;
  padding: 0 9px;
  color: #6f8394;
  background: #f8fafc;
  border: 1px solid #cbd8e3;
  border-radius: 8px;
}

html.library-novo1 .bulk-taxonomy-search:focus-within {
  color: #1468e8;
  background: #fff;
  border-color: #4389dc;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .11);
}

html.library-novo1 .bulk-taxonomy-search > span {
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16 16 5 5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16 16 5 5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .bulk-taxonomy-search input {
  width: 100%;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  color: #17344c !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 11.5px;
}

html.library-novo1 .bulk-taxonomy-list {
  max-height: 268px;
  overflow: auto;
  padding: 0 7px 8px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #91a5b5 transparent;
}

html.library-novo1 .bulk-taxonomy-row {
  width: 100% !important;
  min-height: 36px !important;
  display: grid !important;
  grid-template-columns: 17px 18px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px;
  padding: 5px 8px 5px calc(8px + var(--folder-depth, 0) * 15px) !important;
  color: #29485f !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  text-align: left;
}

html.library-novo1 .bulk-taxonomy-row:hover,
html.library-novo1 .bulk-taxonomy-row:focus-visible {
  color: #0c5ecb !important;
  background: #f1f7ff !important;
  border-color: #c5daf5 !important;
}

html.library-novo1 .bulk-taxonomy-row .flag-icon {
  color: var(--label-accent, #1769ff);
}

html.library-novo1 .bulk-taxonomy-row-count {
  color: #7a8e9d;
  font-size: 9.5px;
  font-weight: 750;
  text-align: right;
}

html.library-novo1 .bulk-taxonomy-create {
  width: 100%;
  min-height: 39px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  padding: 5px 8px;
  color: #0b5cc8;
  background: #edf5ff;
  border: 1px solid #c3daf8;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

html.library-novo1 .bulk-taxonomy-create > span:first-child {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1468e8;
  border-radius: 6px;
  font-size: 16px;
}

html.library-novo1 .bulk-folder-empty {
  margin: 0;
  padding: 25px 12px 29px;
  color: #728696;
  font-size: 11px;
  text-align: center;
}

/* Organizer batch command surface. */
html.library-novo1 .organizer-card {
  grid-template-rows: auto auto auto auto auto minmax(210px, 1fr) auto !important;
}

html.library-novo1 .organizer-card:has(.organizer-batch-panel:not(.hidden)) {
  grid-template-rows: auto auto auto auto auto auto minmax(160px, 1fr) auto !important;
}

html.library-novo1 .organizer-batch-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 8px;
  padding: 6px 7px;
  background: #f5f8fb;
  border: 1px solid #d8e2ea;
  border-radius: 9px;
}

html.library-novo1 .organizer-select-visible,
html.library-novo1 .organizer-batch-actions button {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  color: #456074;
  background: #fff;
  border: 1px solid #ccd9e3;
  border-radius: 7px;
  font: inherit;
  font-size: 10px;
  font-weight: 720;
  white-space: nowrap;
  cursor: pointer;
}

html.library-novo1 .organizer-select-visible:hover,
html.library-novo1 .organizer-batch-actions button:hover:not(:disabled),
html.library-novo1 .organizer-batch-actions button.active {
  color: #0d5fcf;
  background: #edf5ff;
  border-color: #92b9eb;
}

html.library-novo1 .organizer-select-visible-check {
  width: 14px;
  height: 14px;
  border: 1.5px solid #8da1b1;
  border-radius: 4px;
}

html.library-novo1 .organizer-select-visible.active .organizer-select-visible-check {
  background: #1468e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-9' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  border-color: #1468e8;
}

html.library-novo1 .organizer-selected-summary {
  color: #486378;
  font-size: 10px;
  white-space: nowrap;
}

html.library-novo1 .organizer-batch-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

html.library-novo1 .organizer-batch-actions button:disabled {
  opacity: .45;
  cursor: default;
}

html.library-novo1 .organizer-batch-actions .organizer-batch-delete {
  color: #a52c3e;
}

html.library-novo1 .organizer-batch-panel {
  margin: 0 18px 10px;
  padding: 11px 12px;
  background: linear-gradient(145deg, #f4f8ff, #fbfdff);
  border: 1px solid #bfd5ef;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(45, 90, 133, .08);
}

html.library-novo1 .organizer-batch-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

html.library-novo1 .organizer-batch-panel-heading > div {
  display: grid;
  gap: 2px;
}

html.library-novo1 .organizer-batch-panel-heading strong {
  color: #173c59;
  font-size: 11.5px;
}

html.library-novo1 .organizer-batch-panel-heading span {
  color: #6d8192;
  font-size: 10px;
}

html.library-novo1 .organizer-batch-panel-heading > button {
  position: relative;
  width: 26px;
  min-width: 26px;
  height: 26px;
  padding: 0;
  color: #667c8d;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

html.library-novo1 .organizer-batch-panel-heading > button::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='m6 6 12 12M18 6 6 18' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='m6 6 12 12M18 6 6 18' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .organizer-replace-fields,
html.library-novo1 .organizer-merge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}

html.library-novo1 .organizer-replace-fields label,
html.library-novo1 .organizer-merge-layout > label,
html.library-novo1 .organizer-merge-sources {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: #526c80;
  font-size: 9.5px;
  font-weight: 720;
}

html.library-novo1 .organizer-replace-fields input,
html.library-novo1 .organizer-merge-layout input {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  color: #193a54;
  background: #fff;
  border: 1px solid #c7d6e2;
  border-radius: 7px;
  outline: 0;
  font: inherit;
  font-size: 11px;
}

html.library-novo1 .organizer-replace-fields input:focus,
html.library-novo1 .organizer-merge-layout input:focus {
  border-color: #4389dc;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .11);
}

html.library-novo1 .organizer-replace-arrow,
html.library-novo1 .organizer-merge-arrow {
  width: 18px;
  height: 18px;
  justify-self: center;
  margin-bottom: 9px;
  color: #5b7a92;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.library-novo1 .organizer-merge-sources > div {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

html.library-novo1 .organizer-merge-sources > div > span {
  max-width: 128px;
  padding: 4px 7px;
  overflow: hidden;
  color: var(--label-ink, #17447c);
  background: var(--label-bg, #edf4ff);
  border: 1px solid var(--label-border, #b9d2f5);
  border-radius: 999px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.library-novo1 .organizer-batch-panel-footer {
  min-height: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

html.library-novo1 .organizer-batch-preview {
  color: #4f6a7e;
  font-size: 10px;
}

html.library-novo1 .organizer-batch-preview.is-error {
  color: #ad3043;
}

html.library-novo1 .organizer-batch-panel-footer .primary-button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 10px;
}

html.library-novo1 .organizer-batch-color-palette {
  display: grid;
  grid-template-columns: repeat(10, minmax(32px, 1fr));
  gap: 7px;
}

html.library-novo1 .organizer-batch-color-palette .label-color-choice {
  min-width: 0;
}

html.library-novo1 .organizer-manager-row:has(.organizer-manager-select) {
  grid-template-columns: 18px 20px minmax(0, 1fr) 38px auto;
}

html.library-novo1 .organizer-manager-row.selected {
  background: #f0f6ff;
  box-shadow: inset 3px 0 #2d78da;
}

html.library-novo1 .organizer-manager-select {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #1468e8;
  cursor: pointer;
}

/* A dedicated audit view is clearer than duplicating "no label" in the
   quick-filter menu and in the organizer. */
html.library-novo1 body.library-workspace-open .unlabeled-icon::before {
  inset: 0;
  width: auto;
  height: auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15.5V4.8A1.8 1.8 0 0 1 5.8 3h9.4a1.8 1.8 0 0 1 1.27.53l4 4a1.8 1.8 0 0 1 0 2.54l-8.4 8.4a1.8 1.8 0 0 1-2.54 0Z'/%3E%3Cpath d='m4 4 16 16'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15.5V4.8A1.8 1.8 0 0 1 5.8 3h9.4a1.8 1.8 0 0 1 1.27.53l4 4a1.8 1.8 0 0 1 0 2.54l-8.4 8.4a1.8 1.8 0 0 1-2.54 0Z'/%3E%3Cpath d='m4 4 16 16'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

html.library-novo1 body.library-workspace-open .nav-item[data-view="unlabeled"]:hover {
  color: var(--novo-ink) !important;
  background: #f5f9ff !important;
  border-color: #cfe0f5 !important;
}

html.library-novo1 body.library-workspace-open .nav-item[data-view="unlabeled"].active {
  color: var(--novo-blue-strong) !important;
  background: linear-gradient(90deg, #e6f1ff 0%, #f0f7ff 100%) !important;
  border: 1.5px solid #91bdf8 !important;
  box-shadow: none !important;
}

@media (max-width: 700px) {
  html.library-novo1 .organizer-batch-bar {
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  html.library-novo1 .organizer-batch-bar::-webkit-scrollbar {
    display: none;
  }

  html.library-novo1 .organizer-selected-summary {
    display: none;
  }

  html.library-novo1 .organizer-batch-actions {
    width: auto;
    flex: 0 0 auto;
    margin-left: 0;
    overflow: visible;
  }

  html.library-novo1 .organizer-batch-color-palette {
    grid-template-columns: repeat(5, minmax(34px, 1fr));
  }
}

@media (max-width: 480px) {
  html.library-novo1 .bulk-taxonomy-menu {
    position: fixed !important;
    top: 138px !important;
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
  }

  html.library-novo1 .organizer-replace-fields,
  html.library-novo1 .organizer-merge-layout {
    grid-template-columns: 1fr;
  }

  html.library-novo1 .organizer-replace-arrow,
  html.library-novo1 .organizer-merge-arrow {
    margin: 0;
    transform: rotate(90deg);
  }

  html.library-novo1 .organizer-manager-row:has(.organizer-manager-select) {
    grid-template-columns: 18px 18px minmax(0, 1fr) 34px;
  }

  html.library-novo1 .organizer-manager-row:has(.organizer-manager-select) .organizer-manager-actions {
    grid-column: 2 / -1;
  }
}

html.library-novo1 body.library-workspace-open .folder-menu-item .pin-icon {
  position: relative;
  display: block;
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
}

html.library-novo1 body.library-workspace-open .folder-menu-item .pin-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto !important;
  height: auto !important;
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1 6 3 3v2H7v-2l3-3-1-6Z'/%3E%3Cpath d='M12 14v7'/%3E%3C/svg%3E") center / 17px 17px no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1 6 3 3v2H7v-2l3-3-1-6Z'/%3E%3Cpath d='M12 14v7'/%3E%3C/svg%3E") center / 17px 17px no-repeat !important;
}

html.library-novo1 .empty-state[data-empty-kind="folder"]::before {
  background-color: #fff8dc !important;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.7A2.7 2.7 0 0 1 5.7 4h4.1l2.1 2.3h6.4A2.7 2.7 0 0 1 21 9v8.3a2.7 2.7 0 0 1-2.7 2.7H5.7A2.7 2.7 0 0 1 3 17.3V6.7Z' fill='%23FFD31C' stroke='%23F28C00' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M3.6 9h16.8' stroke='%23FFAA00' stroke-width='1.5'/%3E%3C/svg%3E") !important;
  background-size: 27px 27px !important;
  border-color: #efcc72 !important;
}

/* Authenticated modal shells must use the same flush frame as New label. The
   generic .modal-card rules add an inset around these cards unless both the
   dialog surface and its direct card are reset in their open state. */
html.library-novo1 dialog[data-dialog="organizer"],
html.library-novo1 dialog[data-dialog="organizer"][open],
html.library-novo1 dialog[data-dialog="smart-folder"],
html.library-novo1 dialog[data-dialog="smart-folder"][open],
html.library-novo1 dialog[data-dialog="library-status"],
html.library-novo1 dialog[data-dialog="library-status"][open] {
  margin: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.library-novo1 dialog[data-dialog="organizer"] > .modal-card,
html.library-novo1 dialog[data-dialog="smart-folder"] > .modal-card,
html.library-novo1 dialog[data-dialog="library-status"] > .modal-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
}

/* Destructive confirmations use one compact, edge-to-edge card. The danger
   treatment belongs on the action button, not on a decorative top ribbon. */
html.library-novo1 body.library-workspace-open dialog[data-dialog="confirm"],
html.library-novo1 body.library-workspace-open dialog[data-dialog="confirm"][open] {
  width: min(520px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="confirm"] > .confirm-card {
  width: 100% !important;
  max-width: 100% !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--novo1-line-strong) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 64px rgba(9, 29, 45, .24) !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="confirm"] > .confirm-card > header {
  min-height: 58px !important;
  padding: 12px 18px !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="confirm"] > .confirm-card > .confirm-copy {
  margin: 0 !important;
  padding: 20px 18px !important;
  color: var(--novo1-muted) !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="confirm"] > .confirm-card > footer {
  min-height: 58px !important;
  padding: 9px 18px !important;
}

/* Keep destructive menu rows clean at rest and give hover one continuous
   semantic outline. Older layers used the row's top edge as a divider. */
html.library-novo1 body.library-workspace-open .folder-menu .folder-menu-item.danger {
  margin-top: 3px !important;
  border: 1px solid transparent !important;
}

html.library-novo1 body.library-workspace-open .folder-menu .folder-menu-item.danger::before {
  content: none !important;
  display: none !important;
}

html.library-novo1 body.library-workspace-open .folder-menu .folder-menu-item.danger:hover {
  color: #c7283f !important;
  background: #fff0f2 !important;
  border-color: #ed8795 !important;
}

/* Export follows the current compact Novo dialog proportions: one flush card,
   a restrained title hierarchy, dense choices, and no generic modal inset. */
html.library-novo1 body.library-workspace-open dialog[data-dialog="export"],
html.library-novo1 body.library-workspace-open dialog[data-dialog="export"][open] {
  width: min(680px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="export"] > .export-card {
  width: 100% !important;
  max-width: 100% !important;
  max-height: calc(var(--library-visual-height, 100dvh) - 32px) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden auto !important;
  color: var(--novo1-text) !important;
  background: #fff !important;
  border: 1px solid var(--novo1-line-strong) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 64px rgba(9, 29, 45, .24) !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="export"] > .export-card > header {
  min-height: 68px !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 16px 12px 18px !important;
  background: #f7f9fc !important;
  border-bottom: 1px solid var(--novo1-line) !important;
}

html.library-novo1 body.library-workspace-open .export-card > header h2 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 720 !important;
  letter-spacing: -.025em !important;
  line-height: 1.25 !important;
}

html.library-novo1 body.library-workspace-open .export-card > header p {
  margin: 3px 0 0 !important;
  color: var(--novo1-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}

html.library-novo1 body.library-workspace-open .export-card > header > button {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 8px !important;
}

html.library-novo1 body.library-workspace-open .export-format-grid {
  gap: 8px !important;
  padding: 16px 18px 12px !important;
  background: #fff !important;
}

html.library-novo1 body.library-workspace-open .export-format-option {
  min-height: 62px !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  background: #f8fafc !important;
  border: 1px solid var(--novo1-line) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open .export-format-option:hover {
  background: #f2f7ff !important;
  border-color: #a8caf8 !important;
}

html.library-novo1 body.library-workspace-open .export-format-option:has(input:checked) {
  background: var(--novo1-blue-soft) !important;
  border-color: var(--novo1-blue) !important;
  box-shadow: 0 0 0 2px rgba(20, 104, 232, .1) !important;
}

html.library-novo1 body.library-workspace-open .export-format-option input {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: var(--novo1-blue) !important;
}

html.library-novo1 body.library-workspace-open .export-format-option span {
  gap: 2px !important;
}

html.library-novo1 body.library-workspace-open .export-format-option strong {
  color: var(--novo1-text) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

html.library-novo1 body.library-workspace-open .export-format-option small {
  color: var(--novo1-muted) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
}

html.library-novo1 body.library-workspace-open .export-compat-note {
  margin: 0 !important;
  padding: 0 18px 14px !important;
  color: var(--novo1-muted) !important;
  background: #fff !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
}

html.library-novo1 body.library-workspace-open .export-card > footer {
  min-height: 58px !important;
  padding: 9px 18px !important;
  background: #f7f9fc !important;
  border-top: 1px solid var(--novo1-line) !important;
}

/* Settings uses the same neutral card edge as current Novo dialogs. */
html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"] .settings-card {
  border-top: 1.5px solid var(--novo1-line-strong) !important;
}

/* Paperpile-inspired settings shell: compact rail, one persistent modal, and
   task-focused account dialogs. */
html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"],
html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"][open] {
  width: min(1040px, calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"] .settings-card {
  height: min(720px, calc(var(--library-visual-height, 100dvh) - 40px)) !important;
  max-height: calc(var(--library-visual-height, 100dvh) - 40px) !important;
  background: #fff !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"] .settings-card > header {
  min-height: 58px !important;
  padding: 10px 16px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--novo1-line) !important;
}

html.library-novo1 body.library-workspace-open .settings-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

html.library-novo1 body.library-workspace-open .settings-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 17px 10px;
  background: #f6f8fb;
  border-right: 1px solid var(--novo1-line);
}

html.library-novo1 body.library-workspace-open .settings-nav p {
  margin: 9px 9px 4px;
  color: #768497;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .085em;
  text-transform: uppercase;
}

html.library-novo1 body.library-workspace-open .settings-nav p:first-child {
  margin-top: 0;
}

html.library-novo1 body.library-workspace-open .settings-nav button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  color: #344b63;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 660;
  text-align: left;
  cursor: pointer;
}

html.library-novo1 body.library-workspace-open .settings-nav button:hover {
  background: #edf3fb;
}

html.library-novo1 body.library-workspace-open .settings-nav button.active,
html.library-novo1 body.library-workspace-open .settings-nav button[aria-selected="true"] {
  color: #0b57c7;
  background: #e7f0ff;
  border-color: #a6c8f7;
}

html.library-novo1 body.library-workspace-open .settings-nav-icon,
html.library-novo1 body.library-workspace-open .account-setting-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--settings-icon) center / contain no-repeat;
  mask: var(--settings-icon) center / contain no-repeat;
}

html.library-novo1 body.library-workspace-open .account-icon,
html.library-novo1 body.library-workspace-open .person-icon {
  --settings-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 21a8 8 0 0 0-16 0M12 13a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z'/%3E%3C/svg%3E");
}

html.library-novo1 body.library-workspace-open .browser-icon {
  --settings-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 5h16v14H4zM4 9h16M8 7h.01'/%3E%3C/svg%3E");
}

html.library-novo1 body.library-workspace-open .email-icon {
  --settings-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 5h18v14H3zM3 7l9 6 9-6'/%3E%3C/svg%3E");
}

html.library-novo1 body.library-workspace-open .key-icon {
  --settings-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M15 7a5 5 0 1 1-3.7 8.4L3 23v-4l2-2h3l1.2-1.2A5 5 0 0 1 15 7Zm2 5h.01'/%3E%3C/svg%3E");
}

html.library-novo1 body.library-workspace-open .settings-content {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

html.library-novo1 body.library-workspace-open .settings-pane {
  height: 100%;
  min-height: 0;
  padding: 28px 34px !important;
  overflow-y: auto;
  background: #fff !important;
  border: 0 !important;
}

html.library-novo1 body.library-workspace-open .settings-pane.hidden {
  display: none !important;
}

html.library-novo1 body.library-workspace-open .settings-pane-heading {
  display: grid;
  gap: 5px;
  margin-bottom: 22px;
}

html.library-novo1 body.library-workspace-open .settings-pane-heading h3 {
  margin: 0;
  color: var(--novo1-ink);
  font-size: 20px;
  font-weight: 730;
  letter-spacing: -.02em;
}

html.library-novo1 body.library-workspace-open .settings-pane-heading .muted {
  margin: 0;
  color: var(--novo1-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

html.library-novo1 body.library-workspace-open .account-summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

html.library-novo1 body.library-workspace-open .account-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #fff;
  background: #1769e8;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -.02em;
  box-shadow: 0 8px 20px rgba(23, 105, 232, .18);
}

html.library-novo1 body.library-workspace-open .account-rows {
  display: grid;
  border: 1.5px solid var(--novo1-line-strong);
  border-radius: 11px;
  overflow: hidden;
}

html.library-novo1 body.library-workspace-open .account-setting-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--novo1-line);
}

html.library-novo1 body.library-workspace-open .account-setting-row:last-child {
  border-bottom: 0;
}

html.library-novo1 body.library-workspace-open .account-setting-icon {
  color: #60758a;
}

html.library-novo1 body.library-workspace-open .account-setting-row > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

html.library-novo1 body.library-workspace-open .account-setting-row small {
  color: #77889a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

html.library-novo1 body.library-workspace-open .account-setting-row strong {
  overflow: hidden;
  color: #183149;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.library-novo1 body.library-workspace-open .account-setting-row > button {
  min-height: 34px;
  padding: 6px 10px;
  color: #0b62d6;
  background: #fff;
  border: 1.5px solid #b9cce1;
  border-radius: 7px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 680;
  cursor: pointer;
}

html.library-novo1 body.library-workspace-open .account-setting-row > button:hover {
  background: #edf5ff;
  border-color: #76a9e8;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"] .settings-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"] .integration-list {
  min-height: 0;
  padding-right: 7px;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"] .settings-card > footer {
  min-height: 56px !important;
  padding: 9px 16px !important;
  background: #f8fafc !important;
  border-top: 1px solid var(--novo1-line) !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="settings"] .settings-card > footer > :last-child {
  margin-left: auto;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="account"],
html.library-novo1 body.library-workspace-open dialog[data-dialog="account"][open] {
  width: min(520px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  padding: 0 !important;
}

html.library-novo1 body.library-workspace-open .account-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid var(--novo1-line-strong) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

html.library-novo1 body.library-workspace-open .account-card > header {
  align-items: start;
  min-height: 70px;
  padding: 15px 17px;
  background: #fff;
  border-bottom: 1px solid var(--novo1-line);
}

html.library-novo1 body.library-workspace-open .account-card > header > div {
  display: grid;
  gap: 4px;
}

html.library-novo1 body.library-workspace-open .account-card > header h2 {
  margin: 0;
  color: var(--novo1-ink);
  font-size: 18px;
  font-weight: 720;
}

html.library-novo1 body.library-workspace-open .account-card > header p {
  margin: 0;
  color: var(--novo1-muted);
  font-size: 11.5px;
}

html.library-novo1 body.library-workspace-open .account-dialog-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 18px 18px 8px;
}

html.library-novo1 body.library-workspace-open .account-dialog-fields label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #41566b;
  font-size: 11.5px;
  font-weight: 680;
}

html.library-novo1 body.library-workspace-open .account-dialog-fields .account-dialog-wide {
  grid-column: 1 / -1;
}

html.library-novo1 body.library-workspace-open .account-dialog-fields input {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  padding: 8px 10px;
  color: var(--novo1-ink);
  background: #fff;
  border: 1.5px solid #b9c9d9;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  outline: 0;
}

html.library-novo1 body.library-workspace-open .account-dialog-fields input:focus {
  border-color: #2d7ede;
  box-shadow: 0 0 0 2px rgba(31, 115, 214, .13);
}

html.library-novo1 body.library-workspace-open .account-dialog-status {
  min-height: 18px;
  margin: 0;
  padding: 4px 18px 10px;
  color: #b4233b;
  font-size: 11.5px;
}

html.library-novo1 body.library-workspace-open .account-card > footer {
  min-height: 58px;
  padding: 9px 18px;
  background: #f8fafc;
  border-top: 1px solid var(--novo1-line);
}

@media (max-width: 700px) {
  html.library-novo1 body.library-workspace-open .settings-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  html.library-novo1 body.library-workspace-open .settings-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 9px;
    border-right: 0;
    border-bottom: 1px solid var(--novo1-line);
  }

  html.library-novo1 body.library-workspace-open .settings-nav p {
    display: none;
  }

  html.library-novo1 body.library-workspace-open .settings-pane {
    padding: 20px 16px !important;
  }

  html.library-novo1 body.library-workspace-open .account-summary {
    grid-template-columns: 1fr;
  }

  html.library-novo1 body.library-workspace-open .account-avatar {
    width: 58px;
    height: 58px;
  }

  html.library-novo1 body.library-workspace-open .account-setting-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  html.library-novo1 body.library-workspace-open .account-setting-row > button {
    grid-column: 2;
    justify-self: start;
  }

  html.library-novo1 body.library-workspace-open .account-dialog-fields {
    grid-template-columns: 1fr;
  }
}

/* Paint containment prevents native Windows scrollbar controls from escaping
   the rounded dropdown surface while preserving scrolling for long lists. */
html.library-novo1 .novo1-select-menu {
  contain: paint;
  border-radius: 10px;
}

/* Paperpile-informed selection organizer: folders and labels share the same
   searchable assignment model; Trash remains an immediate, recoverable action. */
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster {
  --organize-picker-width: 44px;
  --organize-trash-width: var(--novo1-control-height);
  position: relative;
  width: calc(var(--organize-picker-width) * 2 + var(--organize-trash-width));
  min-width: calc(var(--organize-picker-width) * 2 + var(--organize-trash-width));
  height: var(--novo1-control-height);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, var(--organize-picker-width)) minmax(0, 1fr);
  align-items: stretch;
  flex: 0 0 auto;
  overflow: visible;
  color: #31516b;
  background: #fff;
  border: var(--novo1-control-border-width) solid var(--novo1-line-strong);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(20, 48, 72, .04);
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster > .bulk-taxonomy-control {
  position: relative;
  width: var(--organize-picker-width) !important;
  min-width: var(--organize-picker-width) !important;
  height: calc(var(--novo1-control-height) - 3px) !important;
  min-height: calc(var(--novo1-control-height) - 3px) !important;
  display: block;
  flex: none !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .folder-picker-button,
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .label-picker-button,
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .selection-trash-button {
  width: 100% !important;
  min-width: 0 !important;
  height: calc(var(--novo1-control-height) - 3px) !important;
  min-height: calc(var(--novo1-control-height) - 3px) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .folder-picker-button::after {
  content: none !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .folder-picker-button {
  box-sizing: border-box;
  border-radius: 7px 0 0 7px !important;
  clip-path: inset(0 round 7px 0 0 7px);
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .selection-trash-button {
  box-sizing: border-box;
  border-radius: 0 7px 7px 0 !important;
  clip-path: inset(0 round 0 7px 7px 0);
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .folder-picker-button:hover:not(:disabled),
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .folder-picker-button:focus-visible,
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .folder-picker-button.active,
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .label-picker-button:hover:not(:disabled),
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .label-picker-button:focus-visible,
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .label-picker-button.active {
  color: #0d63d5 !important;
  background: #eef6ff !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .selection-trash-button:hover:not(:disabled),
html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster .selection-trash-button:focus-visible {
  color: #c62e43 !important;
  background: #fff1f3 !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #2d7ede !important;
  outline-offset: -2px;
}

html.library-novo1 body.library-workspace-open #app .toolbar .selection-organize-cluster button:disabled {
  color: #a4b2bd !important;
  background: transparent !important;
  opacity: 1;
  cursor: default;
}

/* Paperpile-style primary actions share one quiet, connected control. */
html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-cluster {
  height: var(--novo1-control-height);
  min-width: max-content;
  box-sizing: border-box;
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  overflow: hidden;
  color: #31516b;
  background: #fff;
  border: var(--novo1-control-border-width) solid var(--novo1-line-strong);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(20, 48, 72, .04);
}

html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-cluster > .primary-action-button {
  width: auto !important;
  min-width: 0 !important;
  height: calc(var(--novo1-control-height) - 3px) !important;
  min-height: calc(var(--novo1-control-height) - 3px) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 9px !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid #e1e8ee !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: inherit;
  font-size: var(--novo1-control-font-size);
  font-weight: 700;
  line-height: 1;
}

html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-cluster > .primary-action-button:first-child {
  border-radius: 7px 0 0 7px !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-cluster > .primary-action-button:last-child {
  border-right: 0 !important;
  border-radius: 0 7px 7px 0 !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-cluster > .primary-action-button:hover:not(:disabled),
html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-cluster > .primary-action-button:focus-visible {
  color: #0d63d5 !important;
  background: #eef6ff !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-cluster > .primary-action-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #2d7ede !important;
  outline-offset: -2px;
}

html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-cluster > .primary-action-button:disabled {
  color: #a4b2bd !important;
  background: transparent !important;
  opacity: 1;
  cursor: default;
}

html.library-novo1 body.library-workspace-open #app .toolbar .primary-action-icon {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Keep Sync readable as the final toolbar action; the flexible search yields
   the small amount of horizontal space this wider control needs. */
html.library-novo1 body.library-workspace-open #app .toolbar > .ref-capture-sync-control {
  width: 72px !important;
  min-width: 72px !important;
  flex: 0 0 72px !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar > .ref-capture-sync-control > .ref-capture-sync-button {
  width: 100% !important;
  min-width: 72px !important;
  padding: 0 9px !important;
  gap: 5px;
}

html.library-novo1 body.library-workspace-open #app .toolbar > .ref-capture-sync-control [data-ref-capture-sync-label] {
  width: auto !important;
  height: auto !important;
  display: inline !important;
  font-size: var(--novo1-control-font-size) !important;
  font-weight: 700;
  line-height: 1;
}

html.library-novo1 .toolbar-folder-icon,
html.library-novo1 .toolbar-label-icon,
html.library-novo1 .toolbar-trash-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 18px;
  color: currentColor;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

html.library-novo1 .toolbar-folder-icon,
html.library-novo1 .folder-icon::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

html.library-novo1 .toolbar-label-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11.2V5a2 2 0 0 1 2-2h6.2a2 2 0 0 1 1.4.6l7.8 7.8a2 2 0 0 1 0 2.8l-6.2 6.2a2 2 0 0 1-2.8 0l-7.8-7.8A2 2 0 0 1 3 11.2Z'/%3E%3Ccircle cx='7.4' cy='7.4' r='1.15' fill='black' stroke='none'/%3E%3Cpath d='m14.8 5.6 5.6 5.6a2.8 2.8 0 0 1 0 4l-4.7 4.7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11.2V5a2 2 0 0 1 2-2h6.2a2 2 0 0 1 1.4.6l7.8 7.8a2 2 0 0 1 0 2.8l-6.2 6.2a2 2 0 0 1-2.8 0l-7.8-7.8A2 2 0 0 1 3 11.2Z'/%3E%3Ccircle cx='7.4' cy='7.4' r='1.15' fill='black' stroke='none'/%3E%3Cpath d='m14.8 5.6 5.6 5.6a2.8 2.8 0 0 1 0 4l-4.7 4.7'/%3E%3C/svg%3E");
}

html.library-novo1 .toolbar-trash-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='m19 6-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='m19 6-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E");
}

html.library-novo1 .taxonomy-picker-chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin: -3px 1px 0 -1px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 140ms ease, margin 140ms ease;
}

html.library-novo1 .folder-picker-button.active .taxonomy-picker-chevron,
html.library-novo1 .label-picker-button.active .taxonomy-picker-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-taxonomy-menu {
  top: calc(100% + 8px) !important;
  width: min(236px, calc(100vw - 20px)) !important;
  padding: 7px !important;
  background: #fff !important;
  border: 1px solid #bdccd9 !important;
  border-radius: 9px !important;
  box-shadow: 0 16px 38px rgba(16, 45, 70, .18), 0 2px 7px rgba(16, 45, 70, .08) !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-folder-control .bulk-taxonomy-menu {
  right: auto !important;
  left: 0 !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-label-control .bulk-taxonomy-menu {
  right: auto !important;
  left: calc(-1 * var(--organize-picker-width)) !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-taxonomy-search {
  height: 37px;
  margin: 0 0 6px;
  padding: 0 9px;
  background: #fff;
  border: 1px solid #c4d2de;
  border-radius: 7px;
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-taxonomy-search:focus-within {
  border-color: #2d7ede;
  box-shadow: 0 0 0 2px rgba(31, 115, 214, .12);
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-taxonomy-list {
  max-height: 244px;
  padding: 0;
  scrollbar-gutter: auto;
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-taxonomy-row {
  grid-template-columns: 17px 18px minmax(0, 1fr);
  min-height: 35px !important;
  gap: 8px;
  padding-block: 4px !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-taxonomy-row.checked {
  color: #0b5ecb !important;
  background: #f4f8ff !important;
}

html.library-novo1 body.library-workspace-open #app .toolbar .bulk-taxonomy-create {
  margin-bottom: 3px;
}

html.library-novo1 body.library-workspace-open .unlabeled-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11.2V5a2 2 0 0 1 2-2h6.2a2 2 0 0 1 1.4.6l7.8 7.8a2 2 0 0 1 0 2.8l-6.2 6.2a2 2 0 0 1-2.8 0l-7.8-7.8A2 2 0 0 1 3 11.2Z'/%3E%3Ccircle cx='7.4' cy='7.4' r='1.15' fill='black' stroke='none'/%3E%3Cpath d='m14.8 5.6 5.6 5.6a2.8 2.8 0 0 1 0 4l-4.7 4.7M3 3l18 18'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11.2V5a2 2 0 0 1 2-2h6.2a2 2 0 0 1 1.4.6l7.8 7.8a2 2 0 0 1 0 2.8l-6.2 6.2a2 2 0 0 1-2.8 0l-7.8-7.8A2 2 0 0 1 3 11.2Z'/%3E%3Ccircle cx='7.4' cy='7.4' r='1.15' fill='black' stroke='none'/%3E%3Cpath d='m14.8 5.6 5.6 5.6a2.8 2.8 0 0 1 0 4l-4.7 4.7M3 3l18 18'/%3E%3C/svg%3E") !important;
}

html.library-novo1 .flag-icon::before,
html.library-novo1 .pill-row .reference-chip-label[class*="label-color-"]::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11.2V5a2 2 0 0 1 2-2h6.2a2 2 0 0 1 1.4.6l7.8 7.8a2 2 0 0 1 0 2.8l-6.2 6.2a2 2 0 0 1-2.8 0l-7.8-7.8A2 2 0 0 1 3 11.2Z'/%3E%3Ccircle cx='7.4' cy='7.4' r='1.15' fill='black' stroke='none'/%3E%3Cpath d='m14.8 5.6 5.6 5.6a2.8 2.8 0 0 1 0 4l-4.7 4.7'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11.2V5a2 2 0 0 1 2-2h6.2a2 2 0 0 1 1.4.6l7.8 7.8a2 2 0 0 1 0 2.8l-6.2 6.2a2 2 0 0 1-2.8 0l-7.8-7.8A2 2 0 0 1 3 11.2Z'/%3E%3Ccircle cx='7.4' cy='7.4' r='1.15' fill='black' stroke='none'/%3E%3Cpath d='m14.8 5.6 5.6 5.6a2.8 2.8 0 0 1 0 4l-4.7 4.7'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

html.library-novo1 .toast {
  max-width: min(430px, calc(100vw - 24px));
  padding: 9px 10px 9px 13px;
}

@media (prefers-reduced-motion: reduce) {
  html.library-novo1 .taxonomy-picker-chevron {
    transition: none;
  }
}

/* A single tooltip surface replaces browser-native title boxes throughout
   Novo One, including controls rendered after the initial page load. */
html.library-novo1 .novo1-tooltip,
html.library-novo1 .novo1-tooltip[popover] {
  position: fixed;
  inset: auto;
  z-index: 5000;
  box-sizing: border-box;
  width: max-content;
  max-width: min(300px, calc(100vw - 16px));
  margin: 0;
  padding: 7px 10px 8px;
  color: #fff;
  background: #20384b;
  border: 1px solid #29495f;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(8, 27, 43, .18);
  font: 600 11.5px/1.35 Inter, Arial, sans-serif;
  letter-spacing: .005em;
  text-align: center;
  white-space: normal;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-2px) scale(.985);
  transform-origin: center bottom;
  transition: opacity 110ms ease, transform 110ms ease;
}

html.library-novo1 .novo1-tooltip[hidden] {
  display: none !important;
}

html.library-novo1 .novo1-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

html.library-novo1 .novo1-tooltip::before {
  content: "";
  position: absolute;
  left: var(--novo1-tooltip-arrow-left, 50%);
  width: 8px;
  height: 8px;
  background: #20384b;
  transform: translateX(-50%) rotate(45deg);
}

html.library-novo1 .novo1-tooltip[data-placement="bottom"]::before {
  top: -5px;
  border-block-start: 1px solid #29495f;
  border-inline-start: 1px solid #29495f;
}

html.library-novo1 .novo1-tooltip[data-placement="top"] {
  transform-origin: center top;
}

html.library-novo1 .novo1-tooltip[data-placement="top"]::before {
  bottom: -5px;
  border-right: 1px solid #29495f;
  border-bottom: 1px solid #29495f;
}

@media (prefers-reduced-motion: reduce) {
  html.library-novo1 .novo1-tooltip,
  html.library-novo1 .novo1-tooltip[popover] {
    transition: none;
  }
}

/* Add-workflow dialogs use one rounded surface. The browser dialog itself must
   stay transparent or it creates a second square shadow behind the card. */
html.library-novo1 body.library-workspace-open dialog[data-dialog="online"],
html.library-novo1 body.library-workspace-open dialog[data-dialog="online"][open],
html.library-novo1 body.library-workspace-open dialog[data-dialog="import"],
html.library-novo1 body.library-workspace-open dialog[data-dialog="import"][open] {
  margin: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="import"] > .modal-card,
html.library-novo1 body.library-workspace-open dialog[data-dialog="online"] > .modal-card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #bdccd9 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="online"],
html.library-novo1 body.library-workspace-open dialog[data-dialog="online"][open] {
  width: min(640px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
}

html.library-novo1 body.library-workspace-open dialog[data-dialog="online"] > .online-modal-card {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, auto) auto !important;
  gap: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card > header {
  min-height: 58px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--novo1-line) !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card h2 {
  gap: 0 !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card h2::before {
  content: none !important;
  display: none !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card > label {
  margin: 0 !important;
  padding: 16px 18px !important;
  background: #fff !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card input[name="query"] {
  min-height: 42px !important;
  border: 1px solid #b9cbd9 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card input[name="query"]:focus {
  border-color: #4389dc !important;
  box-shadow: 0 0 0 3px rgba(20, 104, 232, .11) !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card > .online-results:not(:empty) {
  margin: 0 !important;
  padding: 0 18px 16px !important;
  background: #fff !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card > footer {
  min-height: 58px !important;
  margin: 0 !important;
  padding: 9px 16px !important;
  background: #f7f9fc !important;
  border-top: 1px solid var(--novo1-line) !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card .online-actions {
  display: grid !important;
  grid-template-columns: repeat(4, max-content);
  justify-content: end !important;
  gap: 7px !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card .online-actions > button {
  min-height: 38px !important;
  padding: 8px 11px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html.library-novo1 body.library-workspace-open .online-modal-card .online-actions [data-online-search]::before {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
}

@media (max-width: 700px) {
  html.library-novo1 body.library-workspace-open .online-modal-card .online-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100% !important;
  }

  html.library-novo1 body.library-workspace-open .online-modal-card .online-actions > button {
    width: 100% !important;
  }
}
