/* What's New release cards: admin Popup Notification tab and the after-login popup.
   Colours follow the Feature Management page (navy #004d9a, text #617183, lines #dce5eb). */

/* ── Admin page tabs (Global Visibility Options / Popup Notification) ──
   Folder tabs above the card, matching the dashboard tabs (ul#myTab in version-1-6.css and
   active-states.css): 60px rounded-top tabs, grey when inactive, white with a navy label when active. */
.wn-page-tabs {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    /* #main_cont is a Bootstrap .row, which pads its children; without this the tabs start
       inside the card's left edge and the card corner shows as a step. */
    padding-left: 0;
    padding-right: 0;
}
.wn-page-tabs #fm-navigate-btn {
    margin-bottom: 12px;
}
.wn-admin-tabs {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    z-index: 1;
    margin: 0 0 -1px;   /* overlap the card's top border so the active tab joins the card */
    padding: 0;
    list-style: none;
}
.wn-admin-tab-item {
    margin: 0;
}
.wn-admin-tab {
    min-width: 220px;
    height: 60px;
    padding: 0 32px;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: #eef1f5;
    color: #4a5568;
    font-family: 'Roboto', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .05rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.wn-admin-tab:hover:not(.active) {
    background: #e2e7ee;
    color: #004d9a;
}
/* This page sits on a white background (the dashboards sit on grey), so the active tab and the card
   get a thin outline; the tab's white bottom covers the card's top line so the two read as one. */
.wn-admin-tab.active {
    background: #fff;
    color: #004d9a;
    cursor: default;
    box-shadow: inset 1px 0 0 #dce5eb, inset -1px 0 0 #dce5eb, inset 0 1px 0 #dce5eb;
}
/* Users without access see the tab but can't open it; the tooltip says why. */
.wn-admin-tab.wn-admin-tab-disabled,
.wn-admin-tab.wn-admin-tab-disabled:hover {
    background: #eef1f5;
    color: #a3adb8;
    cursor: not-allowed;
}
.wn-no-access-tip {
    display: block;
    white-space: nowrap;
    color: #344054;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;    /* as in the grid tooltips (kendo-grid.css) */
}
/* The page header is white too, so give this tooltip a light edge and a soft lift. The pointer is
   drawn here (Kendo's own callout is turned off) and fills the gap Kendo leaves above the tab. */
.k-tooltip.k-popup:has(.wn-no-access-tip) {
    position: relative;
    overflow: visible;
    border: 1px solid #e1e6ec;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, .08);
}
.k-tooltip.k-popup:has(.wn-no-access-tip)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    background: #fff;
    border-right: 1px solid #e1e6ec;
    border-bottom: 1px solid #e1e6ec;
    transform: rotate(45deg);
}
.wn-admin-tab:focus-visible {
    outline: 2px solid #004d9a;
    outline-offset: -3px;
}
/* The active tab joins the card below it, as on the dashboards. */
.wn-tabbed-card {
    border: 1px solid #dce5eb;
    border-top-left-radius: 0;
}
.wn-tabbed-card > .card-header:has(> .row > #alert-msg:empty:only-child) {
    display: none;
}

/* ── Popup Notification panel ── */
#popup-notification-panel {
    font-family: 'Roboto', sans-serif;
    color: #1a2232;
}
.wn-panel {
    padding: 22px 24px 26px;
}
.wn-panel:not(.d-none) + .wn-panel {
    border-top: 1px solid #dce5eb;
}
.wn-panel h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 500;
    color: #1a2232;
}
.wn-panel .wn-sub {
    margin: 0 0 18px;
    font-size: 13px;
    color: #617183;
}
/* Form heading with the saved card's status beside it */
.wn-form-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 14px;
    margin-bottom: 4px;
}
.wn-form-head h4 {
    margin: 0;
}
/* Status at the right end of the heading row: a larger pill, then the dates */
.wn-status-now {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 13px;
    color: #617183;
}
.wn-status-now .wn-pill {
    padding: 5px 16px;
    border-radius: 14px;
    font-size: 14px;
}
.wn-status-now.d-none {
    display: none;
}
.wn-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
}
.wn-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.wn-field {
    margin-bottom: 16px;
}
.wn-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #1a2232;
}
.wn-field .wn-req {
    color: #c62828;
}
.wn-field .wn-opt {
    color: #617183;
    font-weight: 400;
}
.wn-field input[type="text"],
.wn-field input[type="url"],
.wn-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced6de;
    border-radius: 5px;
    background: #fff;
    color: #1a2232;
    font-family: inherit;
    font-size: 14px;
}
.wn-field textarea {
    height: 112px;
    resize: vertical;
    line-height: 1.5;
}
.wn-field input:focus,
.wn-field textarea:focus {
    outline: none;
    border-color: #004d9a;
    box-shadow: 0 0 0 3px rgba(0, 77, 154, .12);
}
/* Switched-off field (the FAQ link for now): label and box both muted, like the page's disabled buttons */
.wn-field input:disabled {
    border-color: #dce1e7;
    background: #eef1f4;
    color: #8a96a3;
    cursor: not-allowed;
}
.wn-field.wn-field-off label,
.wn-field.wn-field-off label .wn-opt {
    color: #a3adb8;
    cursor: not-allowed;
}
.wn-field.wn-invalid input,
.wn-field.wn-invalid textarea,
.wn-field.wn-invalid .wn-drop {
    border-color: #c62828;
}
.wn-hint {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
    font-size: 12px;
    color: #617183;
}
.wn-error {
    margin-top: 5px;
    font-size: 12px;
    color: #c62828;
}
.wn-error:empty {
    display: none;
}

/* Image dropzone */
.wn-drop {
    padding: 12px;
    border: 1.5px dashed #9fb3c8;
    border-radius: 6px;
    background: #f8fafc;
}
.wn-drop.wn-dragover {
    border-color: #004d9a;
    background: #edf6fd;
}
.wn-drop-empty {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #617183;
    font-size: 13px;
    text-align: center;
}
/* 16:9 and contain, like the popup's image area, so the thumbnail shows what users will see */
.wn-drop-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: #eef1f4;
}
/* contain: the whole image, never cropped; any spare space shows the grey background */
.wn-drop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Below the thumbnail: file name, then size and type */
.wn-drop-meta {
    margin-top: 10px;
    min-width: 0;
}
#wn-image-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #1a2232;
}
#wn-image-meta {
    margin-top: 2px;
    font-size: 12px;
    color: #617183;
}
/* Then a row of actions: Preview, Adjust (both optional), Replace, and Remove as an icon at the end */
.wn-image-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e4e7ec;
}
.wn-image-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid #b8cce2;
    border-radius: 5px;
    background: #fff;
    color: #004d9a;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.wn-image-btn .fa {
    font-size: 13px;
}
.wn-image-btn:focus {
    outline: none;
}
.wn-image-btn:hover:not(:disabled),
.wn-image-btn:focus-visible:not(:disabled) {
    border-color: #004d9a;
    background: #004d9a;
    color: #fff;
}
.wn-image-btn.wn-image-remove {
    margin-left: auto;
    width: 30px;
    padding: 0;
    justify-content: center;
    border-color: transparent;
    background: transparent;
    color: #c62828;
}
.wn-image-btn.wn-image-remove .fa {
    font-size: 16px;
}
/* Icons follow the button: app blue, white on hover / focus, grey when disabled. Set on the icon too,
   since other app stylesheets colour .fa icons directly. */
#wn-drop .wn-image-btn .fa {
    color: #004d9a;
}
#wn-drop .wn-image-btn:hover:not(:disabled) .fa,
#wn-drop .wn-image-btn:focus-visible:not(:disabled) .fa {
    color: #fff;
}
#wn-drop .wn-image-btn:disabled .fa {
    color: #aebdc7;
}
/* Red by default, on the icon too, so no other stylesheet can recolour it */
#wn-drop .wn-image-btn.wn-image-remove,
#wn-drop .wn-image-btn.wn-image-remove .fa,
#wn-drop .wn-image-btn.wn-image-remove:hover:not(:disabled) .fa,
#wn-drop .wn-image-btn.wn-image-remove:focus-visible:not(:disabled) .fa {
    color: #c62828;
}
#wn-drop .wn-image-btn.wn-image-remove:disabled,
#wn-drop .wn-image-btn.wn-image-remove:disabled .fa {
    color: #e3a5a5;
}
.wn-image-btn.wn-image-remove:hover:not(:disabled),
.wn-image-btn.wn-image-remove:focus-visible:not(:disabled) {
    border-color: #f3c7c7;
    background: #fdecec;
    color: #c62828;
}
.wn-image-btn:disabled {
    border-color: #e4e7ec;
    color: #aebdc7;
    cursor: default;
}
.wn-image-btn.wn-image-remove:disabled {
    border-color: transparent;
}
.wn-link-btn {
    padding: 0;
    border: 0;
    background: none;
    color: #0a84d6;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.wn-link-btn:hover {
    text-decoration: underline;
}
.wn-link-btn:disabled {
    color: #aebdc7;
    cursor: default;
    text-decoration: none;
}
/* Release card list: row action buttons */
.wn-row-actions {
    display: flex;
    gap: 8px;
}
.wn-row-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #004d9a;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.wn-row-btn .fa {
    font-size: 12px;
}
.wn-row-btn.wn-row-edit {
    background: #fff;
    color: #004d9a;
}
.wn-row-btn.wn-row-edit:hover:not(:disabled) {
    background: #edf6fd;
}
.wn-row-btn.wn-row-publish {
    background: #004d9a;
    color: #fff;
}
.wn-row-btn.wn-row-publish:hover:not(:disabled) {
    background: #003a75;
}
.wn-row-none {
    color: #9aa5b1;
    cursor: default;
}
.wn-row-btn:disabled {
    border-color: #c9d0d9;
    background: #eef1f4;
    color: #8a96a3;
    cursor: not-allowed;
}
.wn-drop-rules {
    margin-top: 6px;
    font-size: 12px;
    color: #617183;
}

/* Form buttons */
.wn-actions-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid #dce5eb;
}
.wn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wn-btn {
    height: 38px;
    padding: 0 18px;
    border: 1px solid #004d9a;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.wn-btn.wn-primary {
    background: #004d9a;
    color: #fff;
}
.wn-btn.wn-primary:hover:not(:disabled) {
    background: #003a75;
}
.wn-btn.wn-outline {
    background: #fff;
    color: #004d9a;
}
.wn-btn.wn-outline:hover:not(:disabled) {
    background: #edf6fd;
}
.wn-btn.wn-ghost {
    border-color: transparent;
    background: transparent;
    color: #617183;
}
/* Same muted look as the page's other disabled buttons (#declaration-section .menu-btn:disabled) */
.wn-btn.wn-primary:disabled,
.wn-btn.wn-outline:disabled {
    border-color: #c9d0d9;
    background: #eef1f4;
    color: #8a96a3;
    cursor: not-allowed;
}
.wn-btn.wn-ghost:disabled {
    color: #aebdc7;
    cursor: not-allowed;
}
.wn-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.wn-pill.wn-draft {
    background: #fff1d6;
    color: #9a5b00;
}
.wn-pill.wn-published {
    background: #e3f4ea;
    color: #1f8a4c;
}

/* Release cards list */
.wn-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.wn-toolbar-right {
    display: flex;
    gap: 10px;
}
.wn-search {
    width: 260px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #b9b8b8;
    border-radius: 5px;
    color: #617183;
    font-family: inherit;
    font-size: 13px;
}
.wn-search:focus {
    outline: none;
    border-color: #004d9a;
}
.wn-table-wrap {
    overflow-x: auto;
}
table.wn-cards {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table.wn-cards th {
    padding: 12px 16px;
    border-bottom: 1px solid #f2f7fe;
    background: #fff;
    color: #5a617b;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
}
table.wn-cards td {
    padding: 12px 16px;
    border-bottom: 1px solid #f2f7fe;
    color: #617183;
    vertical-align: middle;
}
/* Actions column only as wide as its buttons; the spare width goes to the other columns */
table.wn-cards th:last-child,
table.wn-cards td:last-child {
    width: 1%;
    white-space: nowrap;
}
table.wn-cards tbody tr:nth-child(even) td {
    background: #e7eef5;
}
table.wn-cards tbody tr.wn-editing td {
    background: #e2f0fb;
}
table.wn-cards td.wn-title-cell {
    color: #1a2232;
    font-weight: 500;
}
.wn-mini {
    display: inline-block;
    width: 56px;
    height: 34px;
    margin-right: 10px;
    border-radius: 3px;
    overflow: hidden;
    vertical-align: middle;
    background: #f0f4f9;
}
.wn-mini img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
table.wn-cards .wn-link-btn + .wn-link-btn {
    margin-left: 12px;
}
.wn-empty {
    padding: 30px 0;
    text-align: center;
    color: #617183;
}

@media (max-width: 991px) {
    .wn-form-grid,
    .wn-two {
        grid-template-columns: 1fr;
    }
}

/* ── What's New popup (after login) ── */
/* No header or close button (client request): it closes on a click outside, on Escape, or once every card is marked as read.
   Radius, border, shadow and text colours follow the Reorder Columns popup (order_grid.css .reorder-columns-*). */
.wn-overlay {
    position: fixed;
    inset: 0;
    z-index: 10600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(16, 24, 40, .5);
    font-family: 'Roboto', sans-serif;
}
/* position: relative so the arrows (absolute) centre on the whole popup, not on the scrolling body */
.wn-modal {
    position: relative;
    width: 620px;
    max-width: 100%;
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .14);
    overflow: hidden;
}
.wn-modal:focus {
    outline: none;
}
.wn-modal-body {
    padding: 20px 0 16px;
    background: #f2f3f8;
    overflow-y: auto;
}
/* Side padding keeps room for the arrows: 12px edge + 36px arrow + 12px gap */
.wn-stage {
    display: flex;
    align-items: center;
    padding: 0 60px;
}
/* White circle with a blue edge and an app blue chevron, like the page numbers below. Hover / keyboard focus:
   solid app blue with a white chevron and the same soft ring as the Reorder Columns button.
   First / last card: the same white circle with a faded blue chevron. */
/* Centred on the full popup height (card and page numbers), 12px in from each side */
.wn-arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    margin-top: -18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #b8cce2;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .12);
    color: #004d9a;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
/* Chevron colour set on the icon too, so no other stylesheet can recolour it */
#wn-popup .wn-arrow,
#wn-popup .wn-arrow i {
    color: #004d9a;
}
#wn-popup .wn-arrow:hover:not(:disabled),
#wn-popup .wn-arrow:hover:not(:disabled) i,
#wn-popup .wn-arrow:focus-visible:not(:disabled),
#wn-popup .wn-arrow:focus-visible:not(:disabled) i {
    color: #fff;
}
#wn-popup .wn-arrow:disabled,
#wn-popup .wn-arrow:disabled i {
    color: rgba(0, 77, 154, .35);
}
.wn-arrow.wn-prev {
    left: 12px;
}
.wn-arrow.wn-next {
    right: 12px;
}
.wn-arrow:focus {
    outline: none;
}
.wn-arrow:hover:not(:disabled),
.wn-arrow:focus-visible:not(:disabled) {
    border-color: #004d9a;
    background: #004d9a;
    box-shadow: 0 0 0 3px rgba(0, 77, 154, .15);
}
.wn-arrow:disabled {
    border-color: #d6e2ef;
    box-shadow: none;
    cursor: default;
}
.wn-card {
    flex: 1;
    min-width: 0;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
    overflow: hidden;
}
/* 16:9, the shape the upload hint asks for and the shape Adjust crops to: a 16:9 image shows whole */
.wn-card-img {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1f4;
}
/* The whole image as uploaded, never cropped: a non-16:9 image gets grey space around it.
   Only Adjust (an explicit admin action) crops. */
.wn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.wn-card-img.wn-no-img {
    flex-direction: column;
    gap: 8px;
    color: #a7adb5;
    font-size: 13px;
}
.wn-card-img.wn-no-img .fa {
    font-size: 34px;
}
.wn-card-text {
    padding: 16px 20px 14px;
}
.wn-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
}
.wn-card-tag {
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(0, 165, 229, .12);
    font-size: 12px;
    font-weight: 500;
    color: #004d9a;
    overflow-wrap: anywhere;
}
.wn-card-when {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #667085;
}
.wn-card-when .fa {
    font-size: 12px;
}
.wn-card-title {
    margin: 10px 0 6px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #101828;
    overflow-wrap: anywhere;
}
.wn-card-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #667085;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.wn-card-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eaecf0;
}
.wn-read {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #344054;
    cursor: pointer;
    user-select: none;
}
.wn-read input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #004d9a;
    cursor: pointer;
}
.wn-faq {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
/* App blue. :link/:visited are needed to win over the template theme's a:link, a:visited { color: #736cc7 } */
.wn-faq,
.wn-faq:link,
.wn-faq:visited {
    color: #004d9a;
}
.wn-faq i {
    font-size: 12px;
    transition: transform .2s ease;
}
/* Underline the words only, never the arrow */
.wn-faq:link:hover,
.wn-faq:visited:hover,
.wn-faq:focus {
    color: #003a75;
    text-decoration: none;
}
.wn-faq:hover .wn-faq-text {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wn-faq:hover i {
    transform: translateX(3px);
}
.wn-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 0 12px;
}
.wn-dot {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #b8cce2;
    border-radius: 50%;
    background: #fff;
    color: #004d9a;
    font-size: 13px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.wn-dot:focus {
    outline: none;
}
.wn-dot:hover,
.wn-dot:focus-visible,
.wn-dot.active {
    border-color: #004d9a;
    background: #004d9a;
    color: #fff;
}
.wn-dot:hover,
.wn-dot:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 77, 154, .15);
}

@media (max-width: 575px) {
    .wn-stage {
        padding: 0 44px;
    }
    .wn-arrow {
        width: 32px;
        height: 32px;
        margin-top: -16px;
    }
    .wn-arrow.wn-prev {
        left: 6px;
    }
    .wn-arrow.wn-next {
        right: 6px;
    }
    .wn-card-text {
        padding: 14px 16px 12px;
    }
}

/* ── Admin image Preview / Adjust dialogs (whatsNew.js openTool), styled like the Reorder Columns popup ── */
.wn-tool-overlay {
    z-index: 10650;
}
.wn-tool {
    border-radius: 10px;
}
#wn-adjust .wn-tool {
    width: 600px;
}
.wn-tool-head {
    flex: none;
    padding: 16px 16px 10px;
}
.wn-tool-head h5 {
    margin: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #101828;
}
.wn-tool-help {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #667085;
}
.wn-tool .wn-modal-body {
    flex: 1 1 auto;
    min-height: 0;
}
.wn-tool-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 2px 16px 14px;
}
.wn-tool-foot {
    flex: none;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #eaecf0;
}
.wn-preview-empty {
    color: #98a2b3;
    font-style: italic;
}
/* Crop: the image moves under a 16:9 frame; the parts outside it are faded */
.wn-crop-stage {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #1d2939;
    cursor: grab;
    touch-action: none;
    user-select: none;
}
.wn-crop-stage:focus {
    outline: none;
}
.wn-crop-stage:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 77, 154, .3);
}
.wn-crop-stage.wn-dragging {
    cursor: grabbing;
}
/* Inside the frame, under the image: the popup's grey, shown where the whole (not cropped) image leaves space */
.wn-crop-bg {
    position: absolute;
    background: #eef1f4;
    pointer-events: none;
}
.wn-crop-img {
    position: absolute;
    max-width: none;
    pointer-events: none;
}
.wn-crop-frame {
    position: absolute;
    border: 2px solid #fff;
    box-shadow: 0 0 0 9999px rgba(16, 24, 40, .55);
    pointer-events: none;
}
.wn-crop-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}
.wn-crop-zoom {
    flex: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #b8cce2;
    border-radius: 50%;
    background: #fff;
    color: #004d9a;
    font-size: 12px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.wn-crop-zoom:focus {
    outline: none;
}
.wn-crop-zoom:hover:not(:disabled),
.wn-crop-zoom:focus-visible:not(:disabled) {
    border-color: #004d9a;
    background: #004d9a;
    color: #fff;
}
.wn-crop-zoom:disabled {
    border-color: #d6e2ef;
    color: rgba(0, 77, 154, .35);
    cursor: default;
}
.wn-crop-range {
    flex: 1;
    min-width: 0;
    accent-color: #004d9a;
    cursor: pointer;
}
.wn-crop-reset {
    flex: none;
    margin-left: 6px;
}

/* Publish confirmation (SweetAlert2, styled with the app's sv-swal-* dialog classes) */
.wn-confirm-popup .swal2-icon.swal2-info {
    border-color: rgba(0, 77, 154, .25);
    background: #edf6fd;
}
.wn-confirm-popup .swal2-icon .fa {
    font-size: 30px;
    color: #004d9a;
}
.wn-confirm {
    font-family: 'Roboto', sans-serif;
}
.wn-confirm-lead {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #4a5568;
}
.wn-confirm-lead strong {
    color: #1a2232;
    font-weight: 600;
}
.wn-confirm-note {
    display: inline-block;
    margin: 0;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f4f6f9;
    font-size: 13px;
    color: #617183;
}
