/* Final targeted fixes for login and copy tool */

/* Login */
.auth-clean-topbar {
    justify-content: flex-start !important;
}

.auth-clean-access,
.auth-clean-security {
    display: none !important;
}

.auth-clean-links {
    width: 100% !important;
    margin-top: 18px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.auth-clean-links .auth-clean-link-button {
    min-height: 42px !important;
    padding: 0 16px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    color: #123b63 !important;
    background: #ffffff !important;
    border: 1px solid #cfd8e1 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.auth-clean-links .auth-clean-link-button:hover {
    color: #0b2947 !important;
    background: #edf3f8 !important;
    border-color: #aebfce !important;
    box-shadow: none !important;
}

.auth-clean-secure-note {
    width: 100% !important;
    margin-top: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    text-align: center !important;
    color: #79b122 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.auth-clean-secure-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

/* Copy tabs */
body.page-copy .bc-library-tabs {
    padding: 8px !important;
    border: 1px solid #d7e0e8 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

body.page-copy .bc-library-tab,
body.page-copy .bc-library-tabs button {
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 14px !important;
    color: #123b63 !important;
    background: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    font-weight: 750 !important;
}

body.page-copy .bc-library-tab:hover,
body.page-copy .bc-library-tabs button:hover {
    color: #123b63 !important;
    background: #edf3f8 !important;
    border-color: #d7e0e8 !important;
}

body.page-copy .bc-library-tab.is-active,
body.page-copy .bc-library-tabs button.is-active,
body.page-copy .bc-library-tabs button.active {
    color: #ffffff !important;
    background: #123b63 !important;
    border-color: #123b63 !important;
    box-shadow: none !important;
}

/* New group button */
body.page-copy #addGroupHeroBtn.bc-new-group-button {
    min-height: 46px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    border: 1px solid #123b63 !important;
    background: #123b63 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 750 !important;
    gap: 10px !important;
}

body.page-copy #addGroupHeroBtn.bc-new-group-button::before {
    content: "+" !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #123b63 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

body.page-copy #addGroupHeroBtn.bc-new-group-button:hover {
    background: #0b2947 !important;
    border-color: #0b2947 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
}

body.page-copy #addGroupHeroBtn.bc-new-group-button:hover::before {
    background: #ffffff !important;
    color: #0b2947 !important;
}

body.page-copy #addGroupHeroBtn.bc-new-group-button:active {
    transform: none !important;
}


/* Additional auth page cleanup */
.auth-clean-links a {
    min-height: 42px !important;
    padding: 0 16px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    color: #123b63 !important;
    background: #ffffff !important;
    border: 1px solid #cfd8e1 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.auth-clean-links a:hover {
    color: #0b2947 !important;
    background: #edf3f8 !important;
    border-color: #aebfce !important;
    box-shadow: none !important;
}

/* Old copy tool row cleanup */
body.page-copy .item-row,
body.page-copy .variant-card,
body.page-copy .group-card,
body.page-copy .item-list,
body.page-copy .variant-body,
body.page-copy .group-body {
    border-color: #d7e0e8 !important;
}

body.page-copy .item-row {
    background: #ffffff !important;
    box-shadow: none !important;
}

body.page-copy .article-input,
body.page-copy .qty-input,
body.page-copy .group-title-input,
body.page-copy .variant-title-input {
    background: #ffffff !important;
    color: #172033 !important;
    border: 1px solid #cfd8e1 !important;
    box-shadow: none !important;
}

body.page-copy .article-input:focus,
body.page-copy .qty-input:focus,
body.page-copy .group-title-input:focus,
body.page-copy .variant-title-input:focus {
    border-color: #557594 !important;
    box-shadow: 0 0 0 3px rgba(18, 59, 99, .08) !important;
    outline: none !important;
}

body.page-copy .round-button,
body.page-copy .item-row .round-button,
body.page-copy .group-actions .line-button,
body.page-copy .group-edit-actions .line-button,
body.page-copy .variant-head .line-button,
body.page-copy .variant-body .line-button {
    color: #123b63 !important;
    background: #ffffff !important;
    border: 1px solid #cfd8e1 !important;
    box-shadow: none !important;
}

body.page-copy .round-button:hover,
body.page-copy .item-row .round-button:hover,
body.page-copy .group-actions .line-button:hover,
body.page-copy .group-edit-actions .line-button:hover,
body.page-copy .variant-head .line-button:hover,
body.page-copy .variant-body .line-button:hover {
    color: #0b2947 !important;
    background: #edf3f8 !important;
    border-color: #aebfce !important;
    box-shadow: none !important;
}

body.page-copy .group-actions .line-button.primary-soft,
body.page-copy .variant-head .line-button.primary-soft,
body.page-copy .solid-action,
body.page-copy .group-actions .solid-action {
    color: #ffffff !important;
    background: #123b63 !important;
    border-color: #123b63 !important;
    box-shadow: none !important;
}

body.page-copy .group-actions .line-button.primary-soft:hover,
body.page-copy .variant-head .line-button.primary-soft:hover,
body.page-copy .solid-action:hover,
body.page-copy .group-actions .solid-action:hover {
    color: #ffffff !important;
    background: #0b2947 !important;
    border-color: #0b2947 !important;
}


/* Absolute beige bronze removal for copy area */
body.jn-app-page,
body.page-copy {
    background: #eef2f6 !important;
    background-image: none !important;
}

body.page-copy .jn-main,
body.page-copy .copy-main,
body.page-copy .bc-copy-shell,
body.page-copy .bc-copy-workspace,
body.page-copy .bc-copy-content,
body.page-copy .bc-library-content,
body.page-copy .copy-tool-shell,
body.page-copy .hero,
body.page-copy .copy-toolbar,
body.page-copy .copy-panel,
body.page-copy .bc-search-panel,
body.page-copy .bc-search-wrap,
body.page-copy .bc-library-toolbar,
body.page-copy .bc-library-head,
body.page-copy .bc-table-wrap,
body.page-copy .bc-group-card,
body.page-copy .bc-variant-card,
body.page-copy .bc-library-card,
body.page-copy .bc-recent-card,
body.page-copy .bc-empty,
body.page-copy .bc-empty-state {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #d7e0e8 !important;
    box-shadow: none !important;
}

body.page-copy .hero,
body.page-copy .copy-toolbar,
body.page-copy .bc-group-head,
body.page-copy .bc-variant-head,
body.page-copy .bc-table-head,
body.page-copy .copy-section-head {
    background: #f7f9fc !important;
    background-image: none !important;
    border-color: #d7e0e8 !important;
}

body.page-copy .bc-title-input,
body.page-copy .bc-variant-title-input,
body.page-copy .bc-tag-input,
body.page-copy .bc-search-box input,
body.page-copy .bc-item-row input[type="text"],
body.page-copy .bc-item-row input[type="number"],
body.page-copy .bc-item-row select,
body.page-copy input[data-jninput="number"],
body.page-copy input[data-jninput="text"],
body.page-copy .bc-qty-input,
body.page-copy .bc-copy-multiplier,
body.page-copy input.bc-copy-multiplier-input,
body.page-copy .bc-sort-select,
body.page-copy input,
body.page-copy select,
body.page-copy textarea {
    background: #ffffff !important;
    background-image: none !important;
    color: #172033 !important;
    border-color: #cfd8e1 !important;
    box-shadow: none !important;
}

body.page-copy .bc-tag-chip,
body.page-copy .bc-filter-btn,
body.page-copy .bc-meta-pill,
body.page-copy .bc-search-count,
body.page-copy .bc-recent-chip,
body.page-copy .bc-icon-toggle,
body.page-copy .bc-drag-handle,
body.page-copy .bc-qty-btn,
body.page-copy .bc-small-action,
body.page-copy .line-button,
body.page-copy .soft-action,
body.page-copy .danger-line,
body.page-copy .round-button {
    background: #ffffff !important;
    background-image: none !important;
    color: #123b63 !important;
    border: 1px solid #cfd8e1 !important;
    box-shadow: none !important;
}

body.page-copy .bc-tag-chip:hover,
body.page-copy .bc-filter-btn:hover,
body.page-copy .bc-meta-pill:hover,
body.page-copy .bc-search-count:hover,
body.page-copy .bc-recent-chip:hover,
body.page-copy .bc-icon-toggle:hover,
body.page-copy .bc-drag-handle:hover,
body.page-copy .bc-qty-btn:hover,
body.page-copy .bc-small-action:hover,
body.page-copy .line-button:hover,
body.page-copy .soft-action:hover,
body.page-copy .danger-line:hover,
body.page-copy .round-button:hover {
    background: #edf3f8 !important;
    color: #0b2947 !important;
    border-color: #aebfce !important;
    box-shadow: none !important;
}

body.page-copy .bc-tag-chip.active,
body.page-copy .bc-filter-btn.active,
body.page-copy .bc-filter-btn.is-active,
body.page-copy .bc-icon-toggle.active,
body.page-copy .bc-library-tab.is-active,
body.page-copy .bc-library-tabs button.is-active,
body.page-copy .bc-library-tabs button.active {
    background: #123b63 !important;
    color: #ffffff !important;
    border-color: #123b63 !important;
    box-shadow: none !important;
}

body.page-copy .solid-action,
body.page-copy .primary-soft,
body.page-copy .bc-copy-button,
body.page-copy .bc-add-button,
body.page-copy .bc-save-button,
body.page-copy .bc-group-copy,
body.page-copy .bc-variant-copy,
body.page-copy .bc-copy-action-cluster > .solid-action,
body.page-copy .bc-copy-action-cluster > .primary-soft,
body.page-copy button[type="submit"] {
    background: #123b63 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #123b63 !important;
    box-shadow: none !important;
}

body.page-copy .solid-action:hover,
body.page-copy .primary-soft:hover,
body.page-copy .bc-copy-button:hover,
body.page-copy .bc-add-button:hover,
body.page-copy .bc-save-button:hover,
body.page-copy .bc-group-copy:hover,
body.page-copy .bc-variant-copy:hover,
body.page-copy .bc-copy-action-cluster > .solid-action:hover,
body.page-copy .bc-copy-action-cluster > .primary-soft:hover,
body.page-copy button[type="submit"]:hover {
    background: #0b2947 !important;
    color: #ffffff !important;
    border-color: #0b2947 !important;
}

body.page-copy .bc-copy-multiplier-times,
body.page-copy .bc-copy-step,
body.page-copy .bc-copy-stepper,
body.page-copy .bc-copy-step:hover,
body.page-copy .bc-copy-step:active {
    color: #123b63 !important;
    border-color: #cfd8e1 !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.page-copy .bc-item-row,
body.page-copy .bc-item-row:hover,
body.page-copy .bc-table-head,
body.page-copy .bc-variant-body,
body.page-copy .bc-group-body,
body.page-copy .bc-group-footer,
body.page-copy .bc-variant-footer {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #d7e0e8 !important;
    box-shadow: none !important;
}

body.page-copy .bc-table-head {
    background: #f7f9fc !important;
}

body.page-copy .bc-meta-row,
body.page-copy .bc-filter-line,
body.page-copy .bc-filter-actions,
body.page-copy .bc-tag-chips {
    background-image: none !important;
}


/* Hard final copy tool cleanup with stronger selectors */
html body .bc-library-filterbar button,
html body .bc-library-tab,
html body .bc-filter-btn,
html body .bc-tag-chip,
html body .bc-meta-pill,
html body .bc-search-count,
html body .bc-recent-chip,
html body .bc-icon-toggle,
html body .bc-drag-handle,
html body .bc-qty-btn,
html body .bc-small-action,
html body .bc-copy-step,
html body .bc-copy-stepper,
html body .bc-group-actions .line-button,
html body .bc-variant-actions .line-button,
html body .group-actions .line-button,
html body .variant-head .line-button,
html body .group-edit-actions .line-button,
html body .line-button,
html body .soft-action,
html body .round-button,
html body .danger-line {
    background: #ffffff !important;
    background-image: none !important;
    color: #123b63 !important;
    border: 1px solid #cfd8e1 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

html body .bc-library-filterbar button.is-active,
html body .bc-library-filterbar button.active,
html body .bc-library-tab.is-active,
html body .bc-library-tab.active,
html body .bc-filter-btn.is-active,
html body .bc-filter-btn.active,
html body .bc-tag-chip.active,
html body .bc-icon-toggle.active,
html body .group-actions .line-button.primary-soft,
html body .variant-head .line-button.primary-soft,
html body .solid-action,
html body .primary-soft,
html body .bc-copy-button,
html body .bc-add-button,
html body .bc-save-button,
html body .bc-group-copy,
html body .bc-variant-copy,
html body .bc-copy-action-cluster > .solid-action,
html body .bc-copy-action-cluster > .primary-soft,
html body .auth-clean-button,
html body button[type="submit"] {
    background: #123b63 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #123b63 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

html body .bc-library-filterbar button:hover,
html body .bc-library-tab:hover,
html body .bc-filter-btn:hover,
html body .bc-tag-chip:hover,
html body .bc-meta-pill:hover,
html body .bc-search-count:hover,
html body .bc-recent-chip:hover,
html body .bc-icon-toggle:hover,
html body .bc-drag-handle:hover,
html body .bc-qty-btn:hover,
html body .bc-small-action:hover,
html body .bc-copy-step:hover,
html body .group-actions .line-button:hover,
html body .variant-head .line-button:hover,
html body .group-edit-actions .line-button:hover,
html body .line-button:hover,
html body .soft-action:hover,
html body .round-button:hover,
html body .danger-line:hover {
    background: #edf3f8 !important;
    color: #0b2947 !important;
    border-color: #aebfce !important;
    box-shadow: none !important;
}

html body .group-actions .line-button.primary-soft:hover,
html body .variant-head .line-button.primary-soft:hover,
html body .solid-action:hover,
html body .primary-soft:hover,
html body .bc-copy-button:hover,
html body .bc-add-button:hover,
html body .bc-save-button:hover,
html body .bc-group-copy:hover,
html body .bc-variant-copy:hover,
html body .bc-copy-action-cluster > .solid-action:hover,
html body .bc-copy-action-cluster > .primary-soft:hover,
html body .auth-clean-button:hover,
html body button[type="submit"]:hover {
    background: #0b2947 !important;
    color: #ffffff !important;
    border-color: #0b2947 !important;
    box-shadow: none !important;
}

html body .bc-group-card,
html body .bc-variant-card,
html body .bc-library-card,
html body .bc-recent-card,
html body .bc-empty,
html body .bc-empty-state,
html body .bc-table-wrap,
html body .bc-library-toolbar,
html body .bc-library-head,
html body .copy-toolbar,
html body .copy-panel,
html body .bc-search-panel,
html body .bc-search-wrap,
html body .hero,
html body .status-line {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #d7e0e8 !important;
    border-radius: 22px !important;
    box-shadow: none !important;
}

html body .bc-group-head,
html body .bc-variant-head,
html body .bc-table-head,
html body .copy-section-head {
    background: #f7f9fc !important;
    background-image: none !important;
    border-color: #d7e0e8 !important;
}

html body .bc-group-head {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

html body .bc-variant-head {
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
}

html body .bc-item-row,
html body .bc-item-row:hover,
html body .item-row,
html body .item-row:hover,
html body .variant-body,
html body .group-body {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #d7e0e8 !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

html body .bc-title-input,
html body .bc-variant-title-input,
html body .bc-group-title-static,
html body .bc-variant-title-static,
html body .bc-tag-input,
html body .bc-search-box input,
html body .bc-library-search input,
html body .bc-item-row input[type="text"],
html body .bc-item-row input[type="number"],
html body .bc-item-row select,
html body .bc-qty-input,
html body .bc-copy-multiplier,
html body input.bc-copy-multiplier-input,
html body .bc-sort-select,
html body .article-input,
html body .qty-input,
html body .group-title-input,
html body .variant-title-input,
html body input,
html body select,
html body textarea {
    background: #ffffff !important;
    background-image: none !important;
    color: #172033 !important;
    border: 1px solid #cfd8e1 !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

html body .bc-title-input:focus,
html body .bc-title-input:focus-visible,
html body .bc-variant-title-input:focus,
html body .bc-variant-title-input:focus-visible,
html body .bc-tag-input:focus,
html body .bc-tag-input:focus-visible,
html body .bc-search-box input:focus,
html body .bc-search-box input:focus-visible,
html body .bc-library-search input:focus,
html body .bc-library-search input:focus-visible,
html body .bc-item-row input[type="text"]:focus,
html body .bc-item-row input[type="text"]:focus-visible,
html body .bc-item-row input[type="number"]:focus,
html body .bc-item-row input[type="number"]:focus-visible,
html body .bc-item-row select:focus,
html body .bc-item-row select:focus-visible,
html body .bc-qty-input:focus,
html body .bc-qty-input:focus-visible,
html body input.bc-copy-multiplier-input:focus,
html body input.bc-copy-multiplier-input:focus-visible,
html body .article-input:focus,
html body .article-input:focus-visible,
html body .qty-input:focus,
html body .qty-input:focus-visible,
html body .group-title-input:focus,
html body .group-title-input:focus-visible,
html body .variant-title-input:focus,
html body .variant-title-input:focus-visible,
html body input:focus,
html body input:focus-visible,
html body select:focus,
html body select:focus-visible,
html body textarea:focus,
html body textarea:focus-visible,
html body button:focus,
html body button:focus-visible,
html body a:focus,
html body a:focus-visible {
    outline: none !important;
    border-color: #123b63 !important;
    box-shadow: 0 0 0 3px rgba(18,59,99,.12) !important;
}

html body .bc-copy-multiplier-times {
    color: #123b63 !important;
}

html body .bc-group-card,
html body .bc-variant-card,
html body .bc-library-card,
html body .bc-recent-card,
html body .bc-empty,
html body .bc-empty-state,
html body .copy-toolbar,
html body .copy-panel,
html body .hero,
html body .status-line,
html body .bc-title-input,
html body .bc-variant-title-input,
html body .bc-item-row,
html body .bc-item-row input,
html body .bc-item-row select {
    backdrop-filter: none !important;
}


/* Ultimate copy tool neutral cleanup */
html body.page-copy .bc-library-filterbar button[data-library-filter="team"],
html body.page-copy .bc-library-filterbar button[data-library-filter="team"].is-active,
html body.page-copy .bc-library-filterbar button[data-library-filter="team"].active {
    border-radius: 16px !important;
}

html body.page-copy .bc-library-filterbar button[data-library-filter="team"] {
    background: #ffffff !important;
    color: #123b63 !important;
    border: 1px solid #cfd8e1 !important;
    box-shadow: none !important;
}

html body.page-copy .bc-library-filterbar button[data-library-filter="team"].is-active,
html body.page-copy .bc-library-filterbar button[data-library-filter="team"].active {
    background: #123b63 !important;
    color: #ffffff !important;
    border-color: #123b63 !important;
}

html body.page-copy .bc-library-card.is-saved .bc-library-status {
    color: #1a8d5d !important;
    background: rgba(45,168,105,.10) !important;
    border: 1px solid rgba(45,168,105,.18) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

html body.page-copy .bc-library-card.is-saved .bc-library-status::before {
    content: "\2713" !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

html body.page-copy .bc-library-card.is-saved,
html body.page-copy .bc-library-card.is-just-saved {
    background: #ffffff !important;
    box-shadow: none !important;
}

html body.page-copy .bc-library-card.is-saved .bc-library-import-again {
    background: #ffffff !important;
    color: #123b63 !important;
    border: 1px solid #cfd8e1 !important;
    box-shadow: none !important;
}

html body.page-copy .bc-library-card.is-saved .bc-library-import-again:hover {
    background: #edf3f8 !important;
    color: #0b2947 !important;
    border-color: #aebfce !important;
}

html body.page-copy .bc-group-card,
html body.page-copy .bc-variant-card,
html body.page-copy .bc-library-card,
html body.page-copy .bc-table-wrap,
html body.page-copy .bc-library-toolbar,
html body.page-copy .bc-library-head,
html body.page-copy .copy-toolbar,
html body.page-copy .copy-panel,
html body.page-copy .bc-search-panel,
html body.page-copy .bc-search-wrap {
    border-radius: 24px !important;
}

html body.page-copy .bc-group-head,
html body.page-copy .bc-variant-head {
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
}

html body.page-copy .bc-title-input,
html body.page-copy .bc-group-title-static,
html body.page-copy .bc-variant-title-input,
html body.page-copy .bc-variant-title-static,
html body.page-copy .article-input,
html body.page-copy .qty-input,
html body.page-copy .bc-item-row input[type="text"],
html body.page-copy .bc-item-row input[type="number"],
html body.page-copy .bc-item-row select,
html body.page-copy .bc-qty-input,
html body.page-copy input[data-jninput="number"],
html body.page-copy input[data-jninput="text"] {
    background: #ffffff !important;
    color: #172033 !important;
    border: 1px solid #cfd8e1 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    outline: none !important;
}

html body.page-copy .bc-title-input,
html body.page-copy .bc-group-title-static {
    min-height: 48px !important;
}

html body.page-copy .bc-variant-title-input,
html body.page-copy .bc-variant-title-static {
    min-height: 40px !important;
}

html body.page-copy .bc-item-row,
html body.page-copy .item-row {
    border-radius: 20px !important;
    background: #ffffff !important;
}

html body.page-copy .bc-title-input:focus,
html body.page-copy .bc-title-input:focus-visible,
html body.page-copy .bc-variant-title-input:focus,
html body.page-copy .bc-variant-title-input:focus-visible,
html body.page-copy .article-input:focus,
html body.page-copy .article-input:focus-visible,
html body.page-copy .qty-input:focus,
html body.page-copy .qty-input:focus-visible,
html body.page-copy .bc-item-row input[type="text"]:focus,
html body.page-copy .bc-item-row input[type="text"]:focus-visible,
html body.page-copy .bc-item-row input[type="number"]:focus,
html body.page-copy .bc-item-row input[type="number"]:focus-visible,
html body.page-copy .bc-item-row select:focus,
html body.page-copy .bc-item-row select:focus-visible,
html body.page-copy .bc-qty-input:focus,
html body.page-copy .bc-qty-input:focus-visible,
html body.page-copy input[data-jninput="number"]:focus,
html body.page-copy input[data-jninput="number"]:focus-visible,
html body.page-copy input[data-jninput="text"]:focus,
html body.page-copy input[data-jninput="text"]:focus-visible {
    border-color: #123b63 !important;
    box-shadow: 0 0 0 3px rgba(18,59,99,.14) !important;
    background: #ffffff !important;
}

html body.jn-app-page,
html body.page-copy,
html body.page-copy .jn-main {
    background: #eef2f6 !important;
    background-image: none !important;
}


/* Final copy title override */
html body.page-copy .bc-copy-hero h1,
html body.page-copy .hero h1 {
    margin: 0 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: clamp(26px, 3vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.02em !important;
    font-weight: 700 !important;
    color: #162535 !important;
}

/* Copy Tool V7: clear group separation and neutral delete control */
html body.page-copy #groupsPanel {
    display: grid !important;
    gap: 28px !important;
}

html body.page-copy #groupsPanel > .bc-group-card {
    margin: 0 !important;
    overflow: hidden !important;
    background: #f4f7fa !important;
    background-image: none !important;
    border: 2px solid #c5d5e4 !important;
    border-left: 5px solid #123b63 !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(18, 59, 99, .08) !important;
}

html body.page-copy #groupsPanel > .bc-group-card > .bc-group-head {
    background: #edf3f8 !important;
    background-image: none !important;
    border-bottom: 1px solid #c5d5e4 !important;
}

html body.page-copy #groupsPanel > .bc-group-card > .bc-group-body {
    background: #f7f9fc !important;
    background-image: none !important;
}

html body.page-copy #groupsPanel .bc-variant-card {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #d2dde7 !important;
    box-shadow: 0 4px 14px rgba(18, 59, 99, .045) !important;
}

html body.page-copy button.danger-line.bc-icon-danger[data-jnaction="delete-item"] {
    background: #ffffff !important;
    background-image: none !important;
    color: #b42318 !important;
    border-color: #e7bbb5 !important;
    box-shadow: none !important;
}

html body.page-copy button.danger-line.bc-icon-danger[data-jnaction="delete-item"]:hover,
html body.page-copy button.danger-line.bc-icon-danger[data-jnaction="delete-item"]:focus-visible {
    background: #b42318 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #b42318 !important;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .12) !important;
}

html body.page-copy button.danger-line.bc-icon-danger[data-jnaction="delete-item"]:active {
    background: #8f1d14 !important;
    color: #ffffff !important;
    border-color: #8f1d14 !important;
}

body[data-theme="night"].page-copy #groupsPanel > .bc-group-card {
    background: #102338 !important;
    border-color: #2e4f6d !important;
    border-left-color: #6fa2cf !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
}

body[data-theme="night"].page-copy #groupsPanel > .bc-group-card > .bc-group-head {
    background: #142b42 !important;
    border-bottom-color: #2e4f6d !important;
}

body[data-theme="night"].page-copy #groupsPanel > .bc-group-card > .bc-group-body {
    background: #0d1e30 !important;
}

body[data-theme="night"].page-copy #groupsPanel .bc-variant-card {
    background: #13283d !important;
    border-color: #2e4f6d !important;
}

body[data-theme="night"].page-copy button.danger-line.bc-icon-danger[data-jnaction="delete-item"] {
    background: #13283d !important;
    color: #ffb4aa !important;
    border-color: #7c3b36 !important;
}

body[data-theme="night"].page-copy button.danger-line.bc-icon-danger[data-jnaction="delete-item"]:hover,
body[data-theme="night"].page-copy button.danger-line.bc-icon-danger[data-jnaction="delete-item"]:focus-visible {
    background: #b42318 !important;
    color: #ffffff !important;
    border-color: #d84a3d !important;
}

/* Copy Tool V8: consistent title spacing and compact field widths */
html body.page-copy .bc-title-input,
html body.page-copy .bc-group-title-static {
    width: min(100%, 620px) !important;
    min-width: 0 !important;
    max-width: 620px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    line-height: 1.12 !important;
}

html body.page-copy .bc-group-title-static {
    display: flex !important;
    align-items: center !important;
}

html body.page-copy .bc-variant-title-input,
html body.page-copy .bc-variant-title-static {
    width: min(100%, 620px) !important;
    min-width: 0 !important;
    max-width: 620px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    line-height: 1.15 !important;
}

html body.page-copy .bc-variant-title-static {
    display: flex !important;
    align-items: center !important;
}

html body.page-copy .bc-tag-input {
    width: min(100%, 520px) !important;
    min-width: 0 !important;
    max-width: 520px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
}

html body.page-copy .bc-title-input:focus,
html body.page-copy .bc-title-input:focus-visible,
html body.page-copy .bc-variant-title-input:focus,
html body.page-copy .bc-variant-title-input:focus-visible,
html body.page-copy .bc-tag-input:focus,
html body.page-copy .bc-tag-input:focus-visible {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

@media (max-width: 760px) {
    html body.page-copy .bc-title-input,
    html body.page-copy .bc-group-title-static,
    html body.page-copy .bc-variant-title-input,
    html body.page-copy .bc-variant-title-static,
    html body.page-copy .bc-tag-input {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* Copy Tool V9: Bibliothek trennt Team Gruppen sauber von Meine Gruppen */
html body.page-copy.copy-library-mode #groupsPanel,
html body.page-copy.copy-library-mode #copyStickySearch,
html body.page-copy.copy-library-mode #recentCopiesBox,
html body.page-copy #groupsPanel[hidden],
html body.page-copy #copyStickySearch[hidden],
html body.page-copy #recentCopiesBox[hidden] {
    display: none !important;
}

html body.page-copy .bc-library-import-again:disabled,
html body.page-copy .bc-library-import-again[aria-disabled="true"] {
    cursor: default !important;
    opacity: .72 !important;
}
