.wup-report-export-modal {
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #f8faff;
    box-shadow: 0 32px 90px rgba(20, 28, 55, 0.28);
}

.wup-report-export-modal .modal-header {
    padding: 0;
    border: 0;
}

.wu-export-modal-header {
    display: flex;
    width: 100%;
    min-height: 126px;
    align-items: center;
    justify-content: space-between;
    padding: 26px 30px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.18), transparent 26%),
        linear-gradient(128deg, #5b4ef6 0%, #3988ed 64%, #23b5ae 100%);
}

.wu-export-modal-header > img {
    width: 154px;
    max-height: 54px;
    object-fit: contain;
    padding: 9px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 28px rgba(20, 28, 70, .18);
}

.wu-export-modal-heading {
    display: flex;
    gap: 15px;
    align-items: center;
}

.wu-export-modal-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 16px;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(12px);
}

.wu-export-modal-eyebrow {
    display: block;
    margin-bottom: 3px;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
    opacity: .82;
}

.wu-export-modal-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -.035em;
}

.wup-report-export-modal .modal-body {
    padding: 28px 30px 24px;
}

.wup-registry-export-state {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    color: #59657c;
}

.wup-registry-export-state .spinner-border {
    width: 2.35rem;
    height: 2.35rem;
    color: #5b4ef6 !important;
}

.wu-export-ready {
    display: grid;
    gap: 18px;
}

.wu-export-ready-hero {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 18px 20px;
    border: 1px solid rgba(35, 181, 174, .24);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(35,181,174,.11), rgba(53,132,235,.08));
}

.wu-export-ready-hero > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #23b5ae, #3584eb);
    box-shadow: 0 9px 20px rgba(35, 181, 174, .22);
}

.wu-export-ready-hero h3 {
    margin: 1px 0 5px;
    color: #171d35;
    font-size: 1.08rem;
    font-weight: 850;
}

.wu-export-ready-hero p {
    margin: 0;
    color: #647089;
    font-size: .78rem;
    line-height: 1.5;
}

.wu-export-summary {
    display: grid;
    grid-template-columns: .72fr 1.25fr 1fr;
    gap: 10px;
}

.wu-export-summary > div {
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid #e0e5f2;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(30, 43, 80, .05);
}

.wu-export-summary span {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 8px;
    color: #7a859b;
    font-size: .63rem;
    font-weight: 800;
}

.wu-export-summary span i { color: #5b4ef6; }
.wu-export-summary strong { display: block; overflow: hidden; color: #202842; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }

.wu-export-audit-card {
    overflow: hidden;
    border: 1px solid #dfe5f3;
    border-radius: 16px;
    background: #fff;
}

.wu-export-audit-card > div {
    display: grid;
    grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr);
    gap: 18px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #edf0f7;
}

.wu-export-audit-card > div:last-child { border-bottom: 0; }
.wu-export-audit-card span { color: #7a859b; font-size: .69rem; font-weight: 750; }
.wu-export-audit-card strong { overflow-wrap: anywhere; color: #27304b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; text-align: right; }

.wu-export-security-note {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid rgba(91,78,246,.15);
    border-radius: 14px;
    color: #5c6680;
    background: #f1f1ff;
}

.wu-export-security-note > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 10px;
    color: #5b4ef6;
    background: #fff;
}

.wu-export-security-note p { margin: 0; font-size: .71rem; font-weight: 700; line-height: 1.45; }

.wup-report-export-modal .modal-footer {
    padding: 18px 30px 22px;
    border-color: #e6eaf4;
    background: #fff;
}

.wu-export-modal-actions {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.wu-export-cancel,
.wu-export-download {
    display: inline-flex;
    min-height: 46px;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border-radius: 13px;
    font-size: .8rem;
    font-weight: 850;
}

.wu-export-cancel { border: 1px solid #d9deea; color: #667086; background: #fff; }
.wu-export-download { min-width: 180px; border: 0; color: #fff; background: linear-gradient(135deg, #5b4ef6, #3584eb 68%, #23b5ae); box-shadow: 0 12px 25px rgba(70, 91, 220, .24); }
.wu-export-download:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 15px 30px rgba(70, 91, 220, .3); }
.wu-export-download:disabled { cursor: wait; opacity: .72; }

@media (max-width: 720px) {
    .wu-export-modal-header { min-height: 110px; padding: 22px; }
    .wu-export-modal-header > img { width: 116px; }
    .wu-export-modal-heading h2 { font-size: 1.25rem; }
    .wup-report-export-modal .modal-body { padding: 22px; }
    .wu-export-summary { grid-template-columns: 1fr; }
    .wu-export-audit-card > div { grid-template-columns: 1fr; gap: 5px; }
    .wu-export-audit-card strong { text-align: left; }
    .wup-report-export-modal .modal-footer { padding: 16px 22px 20px; }
}

.wup-report-child-modal {
    display: flex;
    max-height: 92vh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    color: #25304a;
    background: #f7f9fd;
    box-shadow: 0 30px 86px rgba(20, 28, 55, .3);
}

.wup-report-child-modal .modal-header {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
}

.wu-report-child-modal-header {
    display: flex;
    width: 100%;
    min-height: 104px;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 18%, rgba(255,255,255,.18), transparent 27%),
        linear-gradient(128deg, #5548ee 0%, #3987ec 65%, #23b5ae 100%);
}

.wu-report-child-modal-header > img {
    width: 138px;
    max-height: 48px;
    object-fit: contain;
    padding: 8px 11px;
    border-radius: 13px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 9px 24px rgba(20, 28, 70, .18);
}

.wu-report-child-modal-heading {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: center;
}

.wu-report-child-modal-icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 16px;
    color: #fff;
    font-size: 1.18rem;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
}

.wu-report-child-modal-icon.is-amber { color: #fff4d8; }
.wu-report-child-modal-icon.is-teal { color: #e5fffc; }
.wu-report-child-modal-icon.is-blue { color: #eef7ff; }
.wu-report-child-modal-icon.is-violet { color: #f3f0ff; }

.wu-report-child-modal-eyebrow {
    display: block;
    margin-bottom: 3px;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .82;
}

.wu-report-child-modal-heading h2 {
    overflow: hidden;
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: 1.42rem;
    font-weight: 880;
    letter-spacing: -.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wup-report-child-modal .modal-body {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
    padding: 0;
    background:
        radial-gradient(circle at 100% 0, rgba(91,78,246,.055), transparent 34%),
        #f7f9fd;
}

.wu-report-child-modal-body {
    display: grid;
    min-height: 0;
    gap: 17px;
    padding: 21px 23px 23px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.wu-report-child-modal-error {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 18px 23px 0;
    padding: 13px 15px;
    border: 1px solid #f3b9bf;
    border-radius: 13px;
    color: #a42e3d;
    font-size: .77rem;
    font-weight: 700;
    line-height: 1.45;
    background: #fff1f3;
}

.wu-report-child-modal-error i { margin-top: 2px; }

.wu-report-child-modal-note,
.wu-report-upload-guidance {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid rgba(53,132,235,.18);
    border-radius: 15px;
    color: #536079;
    background: linear-gradient(125deg, rgba(234,244,255,.96), rgba(243,242,255,.9));
}

.wu-report-child-modal-note.is-amber {
    border-color: rgba(194,124,19,.2);
    background: linear-gradient(125deg, #fff7e8, #f8f7ff);
}

.wu-report-child-modal-note.is-teal,
.wu-report-upload-guidance {
    border-color: rgba(35,181,174,.22);
    background: linear-gradient(125deg, #ebfaf8, #f2f5ff);
}

.wu-report-child-modal-note > span,
.wu-report-upload-guidance > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #5b4ef6, #3584eb);
    box-shadow: 0 7px 16px rgba(70,91,220,.18);
}

.wu-report-child-modal-note.is-amber > span { background: linear-gradient(135deg, #d18a22, #f0b94e); }
.wu-report-child-modal-note.is-teal > span,
.wu-report-upload-guidance > span { background: linear-gradient(135deg, #21aaa4, #3584eb); }
.wu-report-child-modal-note p,
.wu-report-upload-guidance p { margin: 0; font-size: .76rem; line-height: 1.55; }
.wu-report-child-modal-note strong { display: block; margin: 0 0 4px; color: #27314b; font-size: .74rem; font-weight: 850; }

.wu-report-child-editor-shell {
    height: clamp(360px, 53vh, 590px);
    min-height: 0;
    overflow: hidden;
    border: 1px solid #dce3f2;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(35,47,85,.07);
}

.wu-report-child-editor-shell > *,
.wu-report-child-editor-shell .b12-richedit {
    height: 100% !important;
    min-height: 0 !important;
}

.wu-report-child-field { display: grid; min-width: 0; gap: 8px; }
.wu-report-child-field > label { color: #28324c; font-size: .76rem; font-weight: 850; }

.wu-report-solution-overview {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
    gap: 15px;
    align-items: stretch;
}

.wu-report-solution-overview > .wu-report-child-field {
    align-content: start;
    padding: 15px;
    border: 1px solid #e0e5f1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(35,47,85,.045);
}

.wu-report-solution-editor { gap: 10px; }

.wu-report-access-body { max-height: 67vh; }

.wu-report-access-account {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(91,78,246,.18);
    border-radius: 16px;
    background: linear-gradient(120deg, #f3f1ff, #eef8ff);
}

.wu-report-access-account > span,
.wu-report-permission-heading > span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #5b4ef6, #3584eb);
}

.wu-report-permission-heading {
    display: flex;
    gap: 11px;
    align-items: center;
    color: #202942;
    font-size: .86rem;
}

.wu-report-permission-heading > span { width: 32px; height: 32px; border-radius: 10px; font-size: .76rem; }

.wu-report-permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wu-report-permission-option {
    display: grid;
    min-height: 74px;
    grid-template-columns: 20px 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #dfe5f1;
    border-radius: 14px;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 6px 17px rgba(35,47,85,.035);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.wu-report-permission-option:hover {
    border-color: rgba(91,78,246,.32);
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(44,58,105,.08);
}

.wu-report-permission-option:has(input:checked) {
    border-color: rgba(35,181,174,.42);
    background: linear-gradient(120deg, rgba(236,250,249,.98), rgba(247,249,255,.98));
}

.wu-report-permission-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #5548ee;
}

.wu-report-permission-option > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #5548ee;
    background: #efedff;
}

.wu-report-permission-option input:checked ~ span { color: #fff; background: linear-gradient(135deg, #20aaa4, #3584eb); }
.wu-report-permission-option strong { color: #414c66; font-size: .69rem; font-weight: 720; line-height: 1.4; }

.wu-report-access-empty {
    display: flex;
    max-width: 760px;
    gap: 14px;
    align-items: flex-start;
    margin: auto;
    padding: 19px;
    border: 1px solid #e0e5f0;
    border-radius: 16px;
    color: #68738a;
    background: #fff;
}

.wu-report-access-empty > span { color: #6877a0; font-size: 1.25rem; }
.wu-report-access-empty p { margin: 0; font-size: .77rem; line-height: 1.55; }

.wu-report-upload-guidance { align-items: center; }

.wu-report-upload-zone {
    display: grid;
    min-height: 170px;
    gap: 10px;
    place-items: center;
    padding: 22px;
    border: 2px dashed rgba(91,78,246,.34);
    border-radius: 17px;
    color: #2d3854;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(243,241,255,.85), rgba(235,249,248,.85));
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.wu-report-upload-zone:hover {
    border-color: rgba(35,181,174,.58);
    transform: translateY(-1px);
    box-shadow: 0 11px 26px rgba(48,67,120,.08);
}

.wu-report-upload-zone > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #fff;
    font-size: 1.12rem;
    background: linear-gradient(135deg, #5b4ef6, #3584eb 65%, #23b5ae);
    box-shadow: 0 10px 22px rgba(70,91,220,.2);
}

.wu-report-upload-zone strong { font-size: .9rem; font-weight: 850; }
.wu-report-upload-zone input[type=file] { max-width: 100%; color: #6c778e; font-size: .72rem; }
.wu-report-upload-zone input[type=file]::file-selector-button {
    margin-right: 9px;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-weight: 750;
    background: #5b4ef6;
}

.wup-report-preview-modal .modal-body { background: #e9edf7; }

.wu-report-preview-stage {
    display: grid;
    height: 100%;
    min-height: 0;
    gap: 18px;
    justify-items: center;
    padding: 24px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.wu-report-preview-page {
    width: min(100%, 850px);
    padding: 13px;
    border: 1px solid #d8deeb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(31,42,78,.14);
}

.wu-report-preview-page img { display: block; width: 100%; height: auto; object-fit: contain; }
.wu-report-preview-page.is-image img { max-height: 68vh; }

.wu-report-preview-stage.is-secure-document {
    display: block;
    padding: 18px;
    overflow: auto;
    user-select: none;
    -webkit-user-select: none;
}

.wu-secure-document-pages {
    display: flex;
    width: 100%;
    min-height: 68vh;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.wu-secure-document-page {
    display: flex;
    max-width: 100%;
    padding: 12px;
    border: 1px solid #d8deeb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(31,42,78,.14);
    pointer-events: none;
}

.wu-secure-document-canvas {
    display: block;
    max-width: 100%;
    height: auto !important;
}

/* Secondary admin surfaces */
.wu-admin-page {
    min-height: 100%;
    padding: 22px;
    color: #17213d;
    background:
        radial-gradient(circle at 94% 8%, rgba(99, 91, 255, .12), transparent 25%),
        radial-gradient(circle at 7% 92%, rgba(29, 194, 184, .10), transparent 25%),
        #f7f9fe;
    overflow: auto;
}

.wu-admin-page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 28px;
    margin-bottom: 18px;
    border: 1px solid #e2e7f4;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 16px 42px rgba(39, 53, 103, .08);
}

.wu-admin-page-hero-copy { display: flex; align-items: center; gap: 18px; min-width: 0; }
.wu-admin-page-icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    color: #fff;
    font-size: 25px;
    background: linear-gradient(145deg, #6252ff, #2f8ff0 63%, #20bcb5);
    box-shadow: 0 12px 25px rgba(75, 87, 229, .24);
}
.wu-admin-page-hero.is-companies .wu-admin-page-icon { background: linear-gradient(145deg, #7157eb, #2b9dc9 70%, #20b9ad); }
.wu-admin-page-hero.is-billing .wu-admin-page-icon { background: linear-gradient(145deg, #405bd7, #2f95e8 60%, #20b99f); }
.wu-admin-page-hero.is-security .wu-admin-page-icon { background: linear-gradient(145deg, #5444cf, #7c62e9 55%, #249fb7); }
.wu-admin-page-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #6457d9;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.wu-admin-page-hero h1, .wu-admin-signout-card h1 { margin: 0; color: #121a35; font-size: clamp(27px, 2.3vw, 39px); font-weight: 850; letter-spacing: -.045em; }
.wu-admin-page-hero p { margin: 5px 0 0; color: #68738d; font-size: 15px; }
.wu-admin-page-metrics { display: flex; gap: 10px; }
.wu-admin-page-metrics > div {
    min-width: 125px;
    padding: 14px 16px;
    border: 1px solid #e2e6f1;
    border-radius: 16px;
    background: #f9faff;
}
.wu-admin-page-metrics strong { display: block; font-size: 25px; line-height: 1; color: #303b62; }
.wu-admin-page-metrics span { display: block; margin-top: 7px; color: #778199; font-size: 11px; font-weight: 700; }
.wu-admin-page-metrics .is-positive strong { color: #14998e; }

.wu-admin-directory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px 12px 18px;
    margin-bottom: 14px;
    border: 1px solid #dfe5f2;
    border-radius: 18px;
    background: rgba(255,255,255,.9);
}
.wu-admin-directory-toolbar > div { display: flex; align-items: center; gap: 9px; color: #65718d; font-size: 13px; }
.wu-admin-directory-toolbar > div i { color: #1eb2aa; }
.wu-admin-primary-action, .wu-admin-secondary-action, .wu-admin-signout-action {
    border: 0;
    border-radius: 13px;
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 800;
    cursor: pointer;
}
.wu-admin-primary-action { color: #fff; background: linear-gradient(120deg, #6452ff, #347eeb 58%, #23b8b2); box-shadow: 0 10px 24px rgba(72, 83, 219, .2); }
.wu-admin-primary-action:hover { transform: translateY(-1px); filter: saturate(1.08); }
.wu-admin-primary-action.is-wide { width: 100%; margin-top: 8px; }
.wu-admin-secondary-action { color: #4e5a78; border: 1px solid #d5dbea; background: #fff; }

.wu-admin-card-grid { display: grid; grid-template-columns: 1fr; gap: 10px; padding-bottom: 22px; }
.wu-admin-directory-card {
    width: 100%;
    min-width: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 52px minmax(260px,1fr) minmax(90px,auto) 30px;
    align-items: center;
    gap: 13px;
    text-align: left;
    border: 1px solid #e0e5f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(43, 55, 105, .055);
    cursor: pointer;
}
.wu-admin-directory-card:hover { border-color: #bfc9f7; transform: translateY(-1px); box-shadow: 0 13px 30px rgba(43, 55, 105, .1); }
.wu-admin-directory-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #5067e9; background: #eef0ff; font-size: 18px; }
.wu-admin-directory-avatar.is-company { color: #119e94; background: #e8faf7; }
.wu-admin-directory-main { min-width: 0; }
.wu-admin-directory-main strong, .wu-admin-directory-main small { display: block; overflow-wrap: anywhere; }
.wu-admin-directory-main strong { color: #1d2947; font-size: 15px; }
.wu-admin-directory-main small { margin-top: 5px; color: #7a849c; font-size: 12px; }
.wu-admin-directory-main small i { margin-right: 6px; color: #929bb0; }
.wu-admin-status { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 850; white-space: nowrap; }
.wu-admin-status > i { font-size: 6px; }
.wu-admin-status.is-active { color: #087c72; background: #ddf7f1; }
.wu-admin-status.is-warning { color: #945d00; background: #fff0c7; }
.wu-admin-status.is-inactive { color: #8b5360; background: #fbe8ec; }
.wu-admin-directory-arrow { color: #6878e9; justify-self: end; }

.wu-admin-empty, .wu-admin-loading { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 12px; border: 1px dashed #cdd5e8; border-radius: 20px; color: #7a849c; background: rgba(255,255,255,.75); text-align: center; }
.wu-admin-empty i, .wu-admin-loading i { font-size: 25px; color: #6c62dc; }
.wu-admin-empty p { margin: 0; }

.wu-admin-security-layout { display: block; width: min(680px, 100%); margin: 0 auto; }
.wu-admin-security-note, .wu-admin-form-card, .wu-admin-billing-summary { border: 1px solid #e0e5f2; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(43,55,105,.06); }
.wu-admin-security-note { padding: 24px; display: flex; gap: 15px; color: #64708b; line-height: 1.55; }
.wu-admin-security-note > span { flex: 0 0 45px; height: 45px; display: grid; place-items: center; color: #159e94; border-radius: 14px; background: #e6f9f5; }
.wu-admin-security-note p { margin: 0; }
.wu-admin-form-card { padding: 23px; display: grid; gap: 9px; }
.wu-admin-form-card label { margin-top: 6px; color: #2e3958; font-size: 13px; font-weight: 800; }
.wu-admin-form-card .wu-admin-input { min-height: 48px; font-size: 16px; }
.wu-admin-feedback { padding: 13px 15px; display: flex; align-items: flex-start; gap: 10px; border-radius: 14px; font-size: 13px; }
.wu-admin-feedback.is-error { color: #a22e3e; border: 1px solid #ffc8ce; background: #fff0f2; }
.wu-admin-feedback.is-success { color: #087c72; border: 1px solid #bce9e2; background: #eafaf7; }
.wu-admin-feedback.is-info { color: #385f9e; border: 1px solid #cdddf6; background: #eff6ff; }
.wu-admin-feedback.is-warning { margin-top: 12px; color: #85520b; border: 1px solid #f2d18f; background: #fff8e8; }

.wu-admin-billing-summary { padding: 18px; }
.wu-admin-plan-card { padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 15px; color: #fff; border-radius: 17px; background: linear-gradient(115deg, #5048d7, #367fe7 58%, #21b9b2); }
.wu-admin-plan-card > span { grid-column: 1; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.wu-admin-plan-card > strong { grid-column: 1; font-size: 25px; }
.wu-admin-plan-card > small { grid-column: 2; grid-row: 1 / span 2; color: #fff; background: rgba(255,255,255,.18); }
.wu-admin-billing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.wu-admin-billing-grid > div { min-height: 105px; padding: 15px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #e4e8f2; border-radius: 15px; background: #fafbff; }
.wu-admin-billing-grid span { color: #747f98; font-size: 11px; font-weight: 750; }
.wu-admin-billing-grid span i { margin-right: 7px; color: #5d69df; }
.wu-admin-billing-grid strong { color: #25304f; font-size: 17px; }
.wu-admin-billing-grid small { color: #8a93a8; }
.wu-admin-billing-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 15px; }
.wu-admin-billing-overview { display: grid; grid-template-columns: minmax(210px,.65fr) minmax(280px,1.35fr); gap: 12px; margin-top: 12px; }
.wu-admin-billing-price, .wu-admin-billing-description { padding: 18px; border: 1px solid #e2e7f1; border-radius: 16px; background: #fafbff; }
.wu-admin-billing-price { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.wu-admin-billing-price strong { color: #283453; font-size: 28px; }
.wu-admin-billing-price span { margin-top: 4px; color: #7a849b; }
.wu-admin-billing-description p { margin: 0 0 8px; color: #53607b; line-height: 1.5; }
.wu-admin-billing-description p:last-child { margin-bottom: 0; }
.wu-admin-billing-timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }
.wu-admin-billing-timeline > div { padding: 15px; border: 1px solid #e2e7f1; border-radius: 15px; background: #fff; }
.wu-admin-billing-timeline span, .wu-admin-billing-timeline strong { display: block; }
.wu-admin-billing-timeline span { min-height: 17px; color: #7a849b; font-size: 11px; font-weight: 750; }
.wu-admin-billing-timeline span i { margin-right: 7px; color: #5d69df; }
.wu-admin-billing-timeline strong { margin-top: 9px; color: #283453; font-size: 16px; }
.wu-admin-billing-usage { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 12px; }
.wu-admin-billing-usage > div { padding: 16px; border: 1px solid #dfe6f2; border-radius: 15px; background: linear-gradient(145deg,#fbfcff,#f4f8ff); }
.wu-admin-billing-usage span, .wu-admin-billing-usage strong { display: block; }
.wu-admin-billing-usage span { color: #69758f; font-size: 12px; font-weight: 800; }
.wu-admin-billing-usage span i { margin-right: 7px; color: #555fe4; }
.wu-admin-billing-usage strong { margin: 8px 0; color: #263250; font-size: 22px; }
.wu-admin-billing-usage strong small { color: #8a94a9; font-size: 13px; }
.wu-admin-billing-usage progress { width: 100%; height: 7px; overflow: hidden; border: 0; border-radius: 999px; background: #e7ebf4; }
.wu-admin-billing-usage progress::-webkit-progress-bar { background: #e7ebf4; }
.wu-admin-billing-usage progress::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg,#5c51ed,#23b8b2); }
.wu-admin-primary-action:disabled { cursor: not-allowed; filter: grayscale(.35); opacity: .5; box-shadow: none; }

.wu-admin-signout-card { max-width: 620px; margin: 8vh auto 0; padding: 42px; text-align: center; border: 1px solid #e1e6f2; border-radius: 26px; background: #fff; box-shadow: 0 18px 48px rgba(43,55,105,.1); }
.wu-admin-signout-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 22px; color: #c33f52; background: #ffedf0; font-size: 25px; }
.wu-admin-signout-card p { color: #69748d; font-size: 15px; line-height: 1.6; }
.wu-admin-signout-action { margin-top: 10px; color: #fff; background: linear-gradient(120deg,#cf4c61,#e5665b); box-shadow: 0 10px 24px rgba(202,70,87,.2); }

@media (max-width: 850px) {
    .wu-admin-page { padding: 13px; }
    .wu-admin-page-hero { align-items: flex-start; padding: 20px; flex-direction: column; }
    .wu-admin-page-metrics { width: 100%; }
    .wu-admin-page-metrics > div { flex: 1; min-width: 0; }
    .wu-admin-directory-toolbar { align-items: stretch; flex-direction: column; }
    .wu-admin-primary-action { width: 100%; }
    .wu-admin-card-grid { grid-template-columns: 1fr; }
    .wu-admin-billing-grid { grid-template-columns: 1fr 1fr; }
    .wu-admin-billing-overview { grid-template-columns: 1fr; }
    .wu-admin-billing-timeline { grid-template-columns: 1fr; }
    .wu-admin-billing-usage { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .wu-admin-page-hero-copy { align-items: flex-start; }
    .wu-admin-page-icon { flex-basis: 50px; width: 50px; height: 50px; border-radius: 15px; }
    .wu-admin-directory-card { grid-template-columns: 45px minmax(0,1fr) 24px; }
    .wu-admin-directory-card .wu-admin-status { grid-column: 2; }
    .wu-admin-directory-arrow { grid-column: 3; grid-row: 1 / span 2; }
    .wu-admin-billing-grid { grid-template-columns: 1fr; }
    .wu-admin-billing-actions { flex-direction: column; }
    .wu-admin-signout-card { padding: 30px 20px; }
}

.wu-admin-editor-modal .wu-admin-editor-body {
    min-height: 100%;
    padding: 20px 24px 28px;
    overflow: visible;
    color: #26314f;
    background:
        radial-gradient(circle at 96% 2%, rgba(94,86,240,.09), transparent 25%),
        #f8faff;
}
.wu-admin-editor-modal .modal-body { overflow-y: auto !important; overscroll-behavior: contain; scrollbar-gutter: stable; }
.wu-admin-editor-modal .wu-admin-editor-body > h4 { margin: 0 0 14px; color: #1c2643; font-size: 23px; font-weight: 820; }
.wu-admin-editor-modal .wu-admin-editor-body label { color: #303a58; font-size: 13px; font-weight: 780 !important; }
.wu-admin-editor-modal .wu-admin-editor-body .form-check {
    padding-top: 11px;
    padding-bottom: 11px;
}
.wu-admin-editor-modal .wu-admin-editor-body .dxbl-accordion,
.wu-admin-editor-modal .wu-admin-editor-body > .mt-1,
.wu-admin-editor-modal .wu-admin-permissions-card {
    border: 1px solid #e0e5f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(43,55,105,.05);
}
.wu-admin-editor-modal .wu-admin-editor-body > .mt-1 { padding: 16px; margin-bottom: 12px; }
.wu-admin-editor-modal .wu-admin-editor-body .dxbl-accordion { overflow: hidden; }
.wu-admin-editor-modal .wu-admin-editor-body .dxbl-accordion-item { border-bottom: 1px solid #e5e9f3; }
.wu-admin-editor-modal .wu-admin-editor-body .dxbl-accordion-item:last-child { border-bottom: 0; }
.wu-admin-editor-modal .wu-admin-editor-body .dxbl-accordion-item-header { min-height: 58px; padding: 0 17px; color: #25304e; background: linear-gradient(90deg,#f6f5ff,#f2fbfc); }
.wu-admin-editor-modal .wu-admin-editor-body .dxbl-text-edit,
.wu-admin-editor-modal .wu-admin-editor-body .dxbl-memo-edit,
.wu-admin-editor-modal .wu-admin-editor-body input:not([type="checkbox"]) {
    min-height: 46px;
    border-color: #d7deed;
    border-radius: 12px;
    background: #fbfcff;
}
.wu-admin-editor-modal .wu-admin-editor-body input:focus,
.wu-admin-editor-modal .wu-admin-editor-body textarea:focus { border-color: #6a62f1; box-shadow: 0 0 0 3px rgba(106,98,241,.13); }
.wu-admin-editor-modal .wu-admin-permissions-card { padding: 18px; }
.wu-admin-editor-modal .wu-admin-permissions-card > label { display: block; margin-bottom: 10px; color: #5c52d7; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.wu-admin-editor-modal .wu-admin-permissions-card .form-check { margin: 7px 0; padding: 12px 14px 12px 42px; border: 1px solid #e1e6f1; border-radius: 13px; background: #fafbff; }
.wu-admin-editor-modal .wu-admin-permissions-card .form-check-input { margin-left: -27px; }
.wu-admin-inline-action { margin: 10px 0 2px; }
.wu-admin-reset-confirmation { margin: 10px 0 4px; padding: 14px; display: grid; gap: 10px; border: 1px solid #f1ccd3; border-radius: 15px; background: #fff9fa; }
.wu-admin-reset-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wu-admin-editor-section { margin-bottom: 14px; padding: 18px; border: 1px solid #e0e5f1; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(43,55,105,.05); }
.wu-admin-editor-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.wu-admin-editor-section-heading > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 13px; color: #5268e7; background: #eef1ff; }
.wu-admin-editor-section-heading > div { min-width: 0; flex: 1; }
.wu-admin-editor-section-heading strong, .wu-admin-editor-section-heading small { display: block; overflow-wrap: anywhere; }
.wu-admin-editor-section-heading strong { color: #26314e; font-size: 15px; }
.wu-admin-editor-section-heading small { margin-top: 3px; color: #7a849b; }
.wu-admin-active-toggle { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.wu-admin-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wu-admin-field-grid > div { width: auto !important; min-width: 0; }
.wu-admin-field-grid > div .row { margin: 0; }
.wu-admin-field-grid > div .row > * { padding: 0; }
.wu-admin-field-grid > .wu-company-identity { grid-column: 1 / -1; }
.wu-admin-field { min-width: 0; }
.wu-admin-field.is-wide { grid-column: 1 / -1; }
.wu-admin-field > label { display: block; margin-bottom: 6px; }
.wu-admin-input { width: 100%; min-height: 46px; font-size: 16px; }
.wu-admin-reset-trigger { margin-top: 14px; }
.wu-admin-permissions-card { padding: 18px !important; }
.wu-admin-permission-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.wu-admin-permission-option { min-height: 58px; display: flex; align-items: flex-start; gap: 11px; padding: 12px 13px; border: 1px solid #e1e6f1; border-radius: 13px; background: #fafbff; line-height: 1.4; cursor: pointer; }
.wu-admin-permission-option input { margin-top: 3px; flex: 0 0 auto; }
.wu-admin-permission-option.is-locked { color: #7c869c; background: #f2f4f8; cursor: default; }
.wu-admin-company-selector { grid-column: 1 / -1; padding: 10px; border: 1px dashed #cfd7ea; border-radius: 12px; }
.wu-company-access-panel { padding: 18px; }
.wu-company-access-copy { color: #5d6981; line-height: 1.55; }
.wu-company-access-copy p { margin-bottom: 8px; }
.wu-company-code { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 14px 0; padding: 13px 15px; border-radius: 14px; color: #fff; background: linear-gradient(120deg,#564ce2,#3987e8 65%,#24b4ae); }
.wu-company-code span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.wu-company-code strong { max-width: 70%; overflow-wrap: anywhere; text-align: right; font-size: 18px; }
.wu-company-sharing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 12px; }
.wu-company-sharing-card { min-width: 0; padding: 13px; border: 1px solid #e1e6f0; border-radius: 15px; background: #fafbff; }
.wu-company-sharing-card .wu-sharing-qr-image { width: 150px; height: 150px; }
.wu-company-sharing-card .wu-sharing-url { max-width: 100%; color: #596680; font-size: 12px; overflow-wrap: anywhere; }
.wu-company-copy-editor, .wu-company-copy-preview { min-width: 0; }
.wu-company-copy-preview { max-height: 300px; overflow: auto; }
.wu-company-account-form { display: grid; gap: 14px; }
.wu-company-account-form .wu-admin-editor-section { margin: 0; }
.wu-company-active-card {
    padding: 14px 16px;
    border: 1px solid #dfe5f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(43,55,105,.05);
}
.wu-company-active-card label { display: flex; align-items: center; gap: 11px; margin: 0; cursor: pointer; }
.wu-company-active-card input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #5b58ee; }
.wu-company-active-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 11px; color: #13a99c; background: #eaf9f6; }
.wu-company-section .wu-admin-editor-section-heading { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #edf0f6; }
.wu-company-section .wu-company-access-panel,
.wu-company-section .wu-company-details-grid { padding: 0; }
.wu-company-identity {
    padding: 16px;
    border: 1px solid #dfe4f3;
    border-left: 4px solid #6258f2;
    border-radius: 15px;
    background: linear-gradient(115deg,rgba(98,88,242,.055),rgba(31,184,174,.04));
}
.wu-company-identity label,
.wu-company-identity-grid label { display: block; margin-bottom: 6px; }
.wu-company-identity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }

@media (max-width: 600px) {
    .wu-admin-editor-modal .wu-admin-editor-body { padding: 14px; }
    .wu-admin-editor-modal .wu-report-child-modal-heading h2 { font-size: 19px; }
    .wu-admin-field-grid, .wu-admin-permission-list { grid-template-columns: 1fr; }
    .wu-admin-company-selector { grid-column: 1; }
    .wu-company-identity-grid { grid-template-columns: 1fr; }
}

.wu-report-preview-loading,
.wu-report-preview-error {
    display: flex;
    min-height: 68vh;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d8deeb;
    border-radius: 14px;
    background: #fff;
    color: #63708a;
    font-size: 1rem;
}

.wu-report-preview-loading i { color: #5b4ef6; font-size: 1.6rem; }
.wu-report-preview-error { color: #a83745; }

.wu-report-section-actions {
    display: flex;
    padding-top: 4px;
}

.wu-report-section-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 6px 9px 6px 7px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #26324d;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.15;
    background: #f4f6fb;
    box-shadow: 0 7px 18px rgba(44,57,97,.08);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.wu-report-section-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(44,57,97,.14);
}

.wu-report-section-action-icon {
    display: inline-grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border-radius: 9px;
    color: #fff;
}

.wu-report-section-action-arrow { margin-left: 4px; opacity: .6; }
.wu-report-section-action.is-amber { border-color: #f3ddb0; background: #fffaf0; }
.wu-report-section-action.is-amber .wu-report-section-action-icon { background: linear-gradient(135deg,#efaa2f,#f2c45a); }
.wu-report-section-action.is-blue { border-color: #cfe2ff; background: #f3f8ff; }
.wu-report-section-action.is-blue .wu-report-section-action-icon { background: linear-gradient(135deg,#4f6df5,#36aeea); }
.wu-report-section-action.is-teal { border-color: #bfe8df; background: #f0fbf8; }
.wu-report-section-action.is-teal .wu-report-section-action-icon { background: linear-gradient(135deg,#18a58e,#2ac1ba); }
.wu-report-section-action.is-violet { border-color: #dcd3ff; background: #f7f4ff; }
.wu-report-section-action.is-violet .wu-report-section-action-icon { background: linear-gradient(135deg,#6552ef,#9a65ed); }

.wup-report-child-modal .modal-footer {
    flex: 0 0 auto;
    padding: 15px 22px 18px;
    border-color: #e3e7f1;
    background: #fff;
    box-shadow: 0 -9px 25px rgba(32,43,76,.055);
}

.wu-report-child-modal-actions {
    display: flex;
    width: 100%;
    gap: 11px;
    align-items: center;
    justify-content: space-between;
}

.wu-report-child-modal-actions > div { display: flex; gap: 9px; align-items: center; }

.wu-report-child-cancel,
.wu-report-child-secondary,
.wu-report-child-primary {
    display: inline-flex;
    min-height: 44px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 12px;
    font-size: .76rem;
    font-weight: 850;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.wu-report-child-cancel { border: 1px solid #d7deea; color: #68738a; background: #fff; }
.wu-report-child-secondary { border: 1px solid #cfd8ea; color: #3e4a65; background: #f6f8fc; }
.wu-report-child-primary { min-width: 125px; border: 0; color: #fff; background: linear-gradient(135deg, #5b4ef6, #3584eb 68%, #23b5ae); box-shadow: 0 10px 22px rgba(70,91,220,.22); }
.wu-report-child-primary.is-final { background: linear-gradient(135deg, #c87818, #e9a72f 56%, #d88225); box-shadow: 0 10px 22px rgba(202,126,24,.22); }
.wu-report-child-cancel:hover,
.wu-report-child-secondary:hover { border-color: #b8c3d7; transform: translateY(-1px); }
.wu-report-child-primary:hover { transform: translateY(-1px); box-shadow: 0 13px 27px rgba(70,91,220,.28); }

.wup-report-confirm-modal { max-width: min(560px, 92vw); }
.wup-report-confirm-modal .modal-header { background: linear-gradient(125deg, #fff6e4, #f3f1ff); }
.wu-report-confirm-header { display: flex; width: 100%; gap: 12px; align-items: center; padding: 19px 21px; }
.wu-report-confirm-header > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #c87818, #e9a72f); }
.wu-report-confirm-header h2 { margin: 0; color: #27314b; font-size: 1rem; font-weight: 850; }
.wu-report-confirm-body { padding: 20px 22px; color: #525e76; font-size: .78rem; line-height: 1.6; background: #fff; }

@media (max-width: 760px) {
    .wu-report-child-modal-header { min-height: 86px; padding: 17px; }
    .wu-report-child-modal-header > img { display: none; }
    .wu-report-child-modal-heading h2 { font-size: 1.18rem; white-space: normal; }
    .wu-report-child-modal-body { padding: 17px; }
    .wu-report-solution-overview,
    .wu-report-permission-grid { grid-template-columns: 1fr; }
    .wu-report-child-editor-shell { height: 50vh; min-height: 330px; }
    .wu-report-child-modal-actions { align-items: stretch; flex-direction: column-reverse; }
    .wu-report-child-modal-actions > div { width: 100%; flex-direction: column; }
    .wu-report-child-modal-actions button { width: 100%; }
}

.wup-report-admin-modal {
    display: flex;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #f7f9fd;
    box-shadow: 0 32px 90px rgba(20, 28, 55, .3);
}

.wup-report-admin-modal .modal-header {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
}

.wu-report-modal-topbar {
    display: flex;
    width: 100%;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(91, 78, 246, .12);
    background: linear-gradient(100deg, rgba(91,78,246,.07), rgba(53,132,235,.05) 62%, rgba(35,181,174,.08));
}

.wu-report-modal-topbar > img {
    width: 138px;
    max-height: 46px;
    object-fit: contain;
}

.wu-report-modal-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #303a56;
    font-size: .8rem;
}

.wu-report-modal-brand > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #5b4ef6, #3584eb 65%, #23b5ae);
    box-shadow: 0 8px 18px rgba(74, 91, 220, .2);
}

.wup-report-admin-modal .modal-body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.wu-report-viewer {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
}

.wu-report-viewer-hero {
    display: flex;
    flex: 0 0 auto;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 16%, rgba(255,255,255,.16), transparent 26%),
        linear-gradient(130deg, #5548ee 0%, #3987ec 65%, #23b5ae 100%);
}

.wu-report-viewer-title {
    display: flex;
    min-width: 0;
    gap: 15px;
    align-items: center;
}

.wu-report-viewer-title-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 17px;
    font-size: 1.3rem;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
}

.wu-report-viewer-eyebrow {
    display: block;
    margin-bottom: 2px;
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
    opacity: .8;
}

.wu-report-viewer-title h1 {
    margin: 0;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -.035em;
}

.wu-report-viewer-title p {
    overflow: hidden;
    max-width: 560px;
    margin: 2px 0 0;
    font-size: .72rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: .82;
}

.wu-report-viewer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.wu-report-viewer-meta > div {
    display: inline-flex;
    min-height: 34px;
    gap: 7px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 11px;
    font-size: .65rem;
    font-weight: 750;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(9px);
}

.wu-report-viewer-meta strong {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #5145e5;
    background: #fff;
}

.wu-report-viewer-workspace {
    display: grid;
    min-height: 0;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 460px);
    gap: 14px;
    overflow: hidden;
    padding: 14px;
    background:
        radial-gradient(circle at 100% 0, rgba(91,78,246,.06), transparent 30%),
        #f6f8fd;
}

.wu-report-viewer-main {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(70, 82, 135, .12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(35, 47, 85, .07);
}

.wu-report-viewer-workspace.without-agent {
    grid-template-columns: minmax(0, 1fr);
}

.wu-report-viewer-scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 4px 7px 12px 4px;
}

.wu-report-legal-agent {
    align-self: stretch;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(36, 48, 91, .12);
}

.wu-report-legal-agent .wu-legal-agent-header {
    min-height: 76px;
}

.wu-report-legal-agent-scope {
    align-content: flex-start;
}

.wu-report-legal-agent-scope span {
    max-width: 100%;
    white-space: normal;
}

.wu-report-legal-agent-guidance {
    display: grid;
    gap: 9px;
    margin-top: 11px;
    padding: 12px;
    border: 1px solid rgba(43, 174, 169, .2);
    border-radius: 13px;
    color: #455069;
    background: linear-gradient(135deg, rgba(236,250,249,.96), rgba(243,242,255,.96));
}

.wu-report-legal-agent-guidance > strong {
    color: #27314c;
    font-size: .78rem;
}

.wu-report-legal-agent-prompts {
    display: grid;
    gap: 7px;
}

.wu-report-legal-agent-prompts button {
    display: grid;
    width: 100%;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 8px 9px;
    border: 1px solid rgba(91,78,246,.16);
    border-radius: 10px;
    color: #3d4863;
    font-size: .73rem;
    font-weight: 720;
    line-height: 1.35;
    text-align: left;
    background: rgba(255,255,255,.86);
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.wu-report-legal-agent-prompts button i {
    display: inline-flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #5548e8;
    background: #eeecff;
}

.wu-report-legal-agent-prompts button:hover {
    border-color: rgba(91,78,246,.35);
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(55,68,120,.08);
}

.wu-report-legal-agent-guidance > small {
    color: #6e7890;
    font-size: .67rem;
    line-height: 1.45;
}

.wu-report-legal-agent-guidance > small i {
    margin-right: 4px;
    color: #1da7a0;
}

.wu-report-viewer-accordion,
.wu-report-sections {
    min-height: 0;
}

.wu-report-sections {
    display: grid;
    gap: 10px;
    border: 0;
    background: transparent;
}

.wu-report-sections > .accordion-item {
    overflow: hidden;
    border: 1px solid #dfe4f1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(35, 47, 85, .045);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.wu-report-sections > .accordion-item[open] {
    border-color: rgba(91,78,246,.3);
    box-shadow: 0 12px 30px rgba(50, 63, 120, .1);
}

.wu-report-sections .accordion-button {
    min-height: 62px;
    gap: 14px;
    padding: 10px 17px;
    color: #202841;
    font-size: .86rem;
    font-weight: 830;
    list-style: none;
    cursor: pointer;
    background: linear-gradient(100deg, #fff, #fbfcff);
    box-shadow: none;
}

.wu-report-sections .accordion-button::-webkit-details-marker { display: none; }
.wu-report-sections .accordion-item[open] > .accordion-button { color: #5145e5; background: linear-gradient(100deg, #f6f5ff, #f3f8ff); }
.wu-report-sections .accordion-button::after { width: .9rem; height: .9rem; margin-left: auto; background-size: .9rem; transition: transform .18s ease; }
.wu-report-sections .accordion-item[open] > .accordion-button::after { transform: rotate(-180deg); }

.wu-report-section-heading {
    display: flex;
    min-width: 0;
    gap: 13px;
    align-items: center;
}

.wu-report-section-heading > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wu-report-section-heading-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    font-size: .9rem;
}

.wu-report-section-heading-icon.is-violet { color: #5b4ef6; background: #eeecff; }
.wu-report-section-heading-icon.is-blue { color: #337fdc; background: #eaf4ff; }
.wu-report-section-heading-icon.is-teal { color: #149b95; background: #e8f8f6; }
.wu-report-section-heading-icon.is-amber { color: #c27c13; background: #fff4df; }

.wu-report-sections .accordion-item > :not(summary) {
    border-top: 1px solid #e7eaf3;
    color: #3e485f;
    background: #fff;
}

.wu-report-sections .accordion-item > div {
    padding: 18px 20px !important;
}

.wu-report-sections p { line-height: 1.55; }
.wu-report-sections .bg-light { padding: 9px 11px !important; border-radius: 9px; color: #414c67 !important; background: #f2f5fb !important; }
.wu-report-sections .border-secondary {
    border-color: #dfe5f1 !important;
    border-radius: 13px !important;
    background: linear-gradient(110deg, #fff, #fafcff);
    box-shadow: 0 5px 16px rgba(35, 47, 85, .045);
}

.wu-report-sections .border-secondary > .fs-6:first-child,
.wu-report-sections .border-secondary > .fs-5:first-child {
    color: #29334f !important;
    font-weight: 820;
}

.wu-report-sections .btn-link {
    color: #4f52e9;
    font-weight: 760;
    text-decoration: none;
}

.wu-report-sections .btn-link:hover { color: #337fdc; text-decoration: none; }
.wu-report-access-log { min-height: 0; }
.wu-report-sections .wu-grid { overflow: hidden; border: 1px solid #dfe4ef; border-radius: 12px; }
.wu-report-sections .wu-grid-table thead th { position: sticky; top: 0; z-index: 1; padding: 11px 13px; color: #59647d; font-size: .68rem; background: #eef2fa; }
.wu-report-sections .wu-grid-table td { padding: 10px 13px; border-color: #e7ebf3; font-size: .75rem; }
.wu-report-sections .wu-grid-table tbody tr:nth-child(even) { background: #fafbfe; }

.wup-report-admin-modal .modal-footer {
    flex: 0 0 auto;
    padding: 14px 22px 17px;
    border-color: #e3e7f1;
    background: #fff;
    box-shadow: 0 -10px 28px rgba(32, 43, 76, .06);
}

.wu-report-viewer-actions {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.wu-report-viewer-actions > div { display: flex; gap: 10px; align-items: center; }
.wu-report-viewer-close,
.wu-report-viewer-export {
    display: inline-flex;
    min-height: 43px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 850;
}

.wu-report-viewer-close { border: 1px solid #d8deea; color: #667187; background: #fff; }
.wu-report-viewer-export { min-width: 112px; border: 0; color: #fff; background: linear-gradient(135deg, #5b4ef6, #3584eb 68%, #23b5ae); box-shadow: 0 10px 22px rgba(70, 91, 220, .22); }

.wu-report-viewer-close:hover { color: #29334f; border-color: #bbc4d6; background: #f8f9fc; }
.wu-report-viewer-export:hover { filter: saturate(1.08) brightness(.98); transform: translateY(-1px); }
.wu-report-viewer-actions button:focus-visible,
.wu-report-sections summary:focus-visible { outline: 3px solid rgba(53,132,235,.3); outline-offset: 2px; }

@media (max-width: 820px) {
    .wu-report-modal-brand { display: none; }
    .wu-report-modal-topbar { min-height: 58px; justify-content: flex-end; padding: 8px 17px; }
    .wu-report-viewer-hero { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px; }
    .wu-report-viewer-meta { justify-content: flex-start; }
    .wu-report-viewer-workspace { display: block; overflow-y: auto; padding: 10px; }
    .wu-report-viewer-main { min-height: 55vh; }
    .wu-report-viewer-scroll { min-height: 55vh; padding: 4px 4px 12px; overflow-y: visible; }
    .wu-report-legal-agent { min-height: 600px; }
    .wu-report-viewer-actions { align-items: stretch; flex-direction: column-reverse; }
    .wu-report-viewer-actions > div { width: 100%; }
    .wu-report-viewer-actions button { flex: 1 1 auto; }
}

.wup-report-print-frame {
    padding: 1.5rem !important;
    background: #eef2ff !important;
}

.wup-report-document,
.wup-registry-document {
    position: relative;
    margin: 0 auto;
    max-width: 650px;
    color: #2f3640;
    font-family: Arial, Helvetica, sans-serif;
}

.wup-report-page,
.wup-registry-entry {
    background: #fff;
}

.wup-report-page--cover {
    min-height: 930px;
    display: flex;
    flex-direction: column;
    padding: 0 0 2rem;
}

.wup-registry-cover {
    position: relative;
    break-after: page;
    page-break-after: always;
    overflow: hidden;
}

.wup-registry-cover::before {
    position: absolute;
    inset: 0;
    border: 1px solid #d8deeb;
    content: "";
    pointer-events: none;
}

.wup-registry-cover-classification {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border: 1px solid #d7c8f5;
    border-radius: 999px;
    color: #6546b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #f4efff;
}

.wup-registry-cover-seal {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0 1.2rem;
    border-radius: 1.25rem;
    color: #fff;
    font-size: 1.55rem;
    background: linear-gradient(135deg, #6254ef, #26b5b0);
    box-shadow: 0 14px 30px rgba(79, 76, 184, 0.18);
}

.wup-registry-cover-audit {
    display: grid;
    width: min(100%, 520px);
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 3.25rem;
    padding: 1rem;
    border: 1px solid #dfe4ee;
    border-radius: 0.8rem;
    text-align: left;
    background: #f7f9fc;
}

.wup-registry-cover-audit > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.18rem;
}

.wup-registry-cover-audit > div.is-wide {
    grid-column: 1 / -1;
}

.wup-registry-cover-audit span {
    color: #717b8e;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.wup-registry-cover-audit strong {
    overflow: hidden;
    color: #30394c;
    font-size: 0.83rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wup-registry-cover-qr {
    width: 112px;
    height: 112px;
    margin-top: 1.25rem;
    object-fit: contain;
}

.wup-registry-cover-verification {
    max-width: 430px;
    margin: 0.55rem 0 0;
    color: #657085;
    font-size: 0.72rem;
    line-height: 1.35;
}

.wup-registry-cover-log-reference {
    margin: 0.28rem 0 0;
    color: #4d5a72;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.wup-registry-watermark-visible {
    position: absolute;
    z-index: 20;
    top: 430px;
    left: 50%;
    width: 610px;
    color: rgba(76, 68, 180, 0.1);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-align: center;
    transform: translateX(-50%) rotate(-28deg);
    transform-origin: center;
    pointer-events: none;
    white-space: nowrap;
}

.wup-registry-watermark-hidden {
    position: absolute;
    z-index: 21;
    right: 2px;
    bottom: 2px;
    overflow: hidden;
    width: 1px;
    height: 1px;
    color: #fff;
    font-size: 1px;
    line-height: 1;
    opacity: 0.01;
    pointer-events: none;
    white-space: nowrap;
}

.wup-registry-export-state {
    display: flex;
    min-height: 16rem;
    align-items: center;
    justify-content: center;
}

.wup-report-cover-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 100px;
    margin-bottom: 2.75rem;
}

.wup-report-cover-topline__spacer {
    flex: 1;
}

.wup-report-logo {
    width: 198px;
    max-width: 100%;
    object-fit: contain;
}

.wup-report-cover-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.wup-report-cover-title {
    margin: 0;
    color: #4b5563;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.wup-report-cover-subtitle {
    margin: 0.45rem 0 0;
    color: #4b5563;
    font-size: 0.94rem;
}

.wup-report-access-title {
    margin: 2.5rem 0 0;
    color: #4b5563;
    font-size: 1.2rem;
}

.wup-report-access-code {
    margin: 0.35rem 0 0;
    color: #4b5563;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.wup-report-access-qr {
    margin-top: 1rem;
    width: 230px;
    height: 230px;
    object-fit: contain;
}

.wup-report-access-url {
    margin-top: 1rem;
    color: #4b5563;
    font-size: 0.88rem;
    word-break: break-all;
}

.wup-report-body-page {
    page-break-before: always;
}

.wup-report-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 100px;
    margin-bottom: 0.75rem;
}

.wup-report-topline__qr {
    width: 165px;
    min-height: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.wup-report-topline__qr img {
    width: 165px;
    height: 100px;
    object-fit: contain;
}

.wup-report-topline__logo {
    width: 198px;
    display: flex;
    justify-content: flex-end;
}

.wup-report-document-title-block {
    margin: 0 0 1.5rem;
    text-align: center;
    color: #4b5563;
}

.wup-report-document-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
}

.wup-report-document-subtitle {
    margin: 0.4rem 0 0;
    font-size: 0.94rem;
}

.wup-report-section {
    margin-bottom: 1.1rem;
}

.wup-report-section-title {
    margin: 0;
    padding: 0.72rem 0.9rem;
    background: royalblue;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
}

.wup-report-warning {
    margin: 0;
    padding: 0.72rem 0.9rem;
    color: #374151;
    font-size: 0.96rem;
    text-align: justify;
}

.wup-report-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.wup-report-table td {
    padding: 0.72rem 0.9rem;
    border: 1px solid #d5d9e2;
    vertical-align: top;
    font-size: 0.96rem;
}

.wup-report-table__label-row td,
.wup-report-item__label {
    background: lightsteelblue;
    font-weight: 700;
}

.wup-report-table__value-row td {
    background: #fff;
}

.wup-report-body {
    padding: 0.8rem 0.2rem 0.2rem;
    font-size: 0.97rem;
    line-height: 1.45;
}

.wup-report-body p:last-child {
    margin-bottom: 0;
}

.wup-report-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wup-report-list li + li {
    margin-top: 0.7rem;
}

.wup-report-item {
    margin-top: 0.65rem;
}

.wup-report-item__label {
    padding: 0.72rem 0.9rem;
    font-size: 0.96rem;
}

.wup-report-item__body {
    padding: 0.72rem 0.9rem;
    border: 1px solid #d5d9e2;
    border-top: none;
    font-size: 0.96rem;
}

.wup-report-item__body p:last-child {
    margin-bottom: 0;
}

.wup-report-attachments-summary {
    padding: 0.8rem 0.2rem 0.2rem;
}

.wup-report-attachment-page {
    page-break-before: always;
    min-height: 930px;
    background: #fff;
}

.wup-report-attachment-page img {
    width: 100%;
    max-height: 770px;
    object-fit: contain;
    border: 1px solid #d5d9e2;
}

.wup-report-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    color: #4b5563;
    font-size: 0.88rem;
}

.wup-report-footer__page::after {
    content: counter(page);
}

.wup-registry-entry {
    margin-top: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #6b7280;
}

.wup-registry-entry__table {
    width: 100%;
    border-collapse: collapse;
    color: dimgray;
}

.wup-registry-entry__table td {
    padding: 0.55rem 0.7rem;
    font-size: 0.98rem;
}

.wup-registry-entry__header-row td {
    background: gainsboro;
    font-weight: 700;
}

.wup-registry-entry__meta-label {
    color: dimgray;
    font-style: italic;
    font-weight: 400;
}

.wup-registry-entry__categories {
    margin-top: 0.6rem;
    color: dimgray;
}

.wup-registry-entry__categories-label {
    margin-bottom: 0.45rem;
    font-size: 0.98rem;
    font-style: italic;
}

.wup-registry-entry__category-line {
    font-size: 0.96rem;
    line-height: 1.35;
}

@page {
    size: A4;
    margin: 16mm 14mm 14mm;
}

@media print {
    body {
        background: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body * {
        visibility: hidden !important;
    }

    .wup-report-export-modal,
    .wup-report-export-modal * {
        visibility: visible !important;
    }

    .wu-popup-backdrop {
        position: static !important;
        inset: auto !important;
        background: #fff !important;
        padding: 0 !important;
    }

    .wup-report-export-modal {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 0 !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .wup-report-toolbar,
    .wup-report-toolbar * {
        display: none !important;
    }

    .wup-report-print-frame {
        margin: 0 !important;
        border: none !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .wup-registry-document {
        max-width: none !important;
    }

    .wup-registry-watermark-visible {
        position: fixed;
        z-index: 9998;
        top: 48%;
        left: 50%;
        width: 180mm;
        color: rgba(76, 68, 180, 0.09) !important;
        transform: translate(-50%, -50%) rotate(-28deg);
    }

    .wup-registry-watermark-hidden {
        position: fixed;
        z-index: 9999;
        right: 1mm;
        bottom: 1mm;
        width: auto;
        height: auto;
        color: #fff !important;
        font-size: 1px;
        opacity: 0.01;
    }

    .wup-registry-entry {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
