:root {
    --primary-color: #f5f5f5;
    --grey-color: #8d8d92;
    --bg-color: #050505;
    --container-color: rgba(17,17,18,.96);
    --container2-color: #0d0d0e;
    --container-selected-color: rgba(255,35,35,.08);
    --container-hover-color: rgba(255,255,255,.055);
    --red: rgba(242,32,38,.13);
    --red-full: #f22026;
    --green: rgba(50,190,115,.13);
    --green-full: #48ce86;
    --blue: rgba(69,150,255,.13);
    --blue-full: #68a9ff;
    --gold: rgba(244,177,52,.13);
    --gold-full: #f4b134;
    --orange: rgba(244,143,52,.13);
    --orange-full: #f49a43;
    --line: rgba(255,255,255,.09);
    --line-strong: rgba(255,255,255,.15);
    --sidebar-width: 252px;
}

.verification-download { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--container-color); }
.verification-download h2 { margin: 0 0 7px; font-size: 1.1rem; }
.verification-download p { margin: 0; max-width: 620px; color: var(--grey-color); font-size: .85rem; line-height: 1.6; }
.verification-download .verification-download-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; min-height: 44px; padding: 12px 18px; border: 1px solid rgba(242,32,38,.35); border-radius: 10px; background: rgba(242,32,38,.1); color: #fff; font-size: .85rem; font-weight: 650; text-decoration: none; }
.verification-download .verification-download-button:hover { background: rgba(242,32,38,.2); }
@media (max-width: 900px) {
    .verification-download { align-items: stretch; flex-direction: column; gap: 16px; padding: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body.admin-shell,
body.admin-login-page,
body.admin-shell button,
body.admin-shell input,
body.admin-shell select,
body.admin-shell textarea,
body.admin-login-page button,
body.admin-login-page input {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body.admin-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 33% 0, rgba(112,0,4,.17), transparent 27rem),
        radial-gradient(circle at 100% 100%, rgba(73,0,2,.10), transparent 30rem),
        #050505;
    color: #f4f4f4;
}

/* Navigation */
.admin-shell .menu {
    width: var(--sidebar-width);
    padding: 20px 14px 26px;
    border-right: 1px solid var(--line);
    background: rgba(8,8,9,.96);
    box-shadow: 22px 0 70px rgba(0,0,0,.22);
    scrollbar-width: thin;
    scrollbar-color: #292929 transparent;
}
.admin-shell .menu .logo {
    position: relative;
    width: 100%;
    min-height: 62px;
    padding: 8px 10px 21px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}
.admin-shell .menu .logo img { width: 144px; margin: 0; padding: 0; }
.admin-shell .menu .logo > span {
    margin: 0 0 0 9px;
    padding: 4px 6px;
    border: 1px solid rgba(242,32,38,.35);
    border-radius: 5px;
    background: rgba(242,32,38,.1);
    color: #ff6266;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}
.admin-shell .menu-inner { padding: 10px 0 0; }
.admin-shell .menu-item { margin: 3px 0; padding: 0; border-radius: 11px; }
.admin-shell .menu-item a {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: inherit;
    color: #9b9b9f;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .01em;
}
.admin-shell .menu-item i { width: 21px; margin: 0 10px 0 0; color: #737378; text-align: center; }
.admin-shell .menu-item:hover { border-radius: 11px; background: rgba(255,255,255,.035); }
.admin-shell .menu-item:hover a, .admin-shell .menu-item:hover i { color: #fff; }
.admin-shell .menu-item.active { border-radius: 11px; background: linear-gradient(95deg, rgba(242,32,38,.2), rgba(242,32,38,.07)) !important; box-shadow: inset 0 0 0 1px rgba(242,32,38,.24); }
.admin-shell .menu-item.active a, .admin-shell .menu-item.active i { color: #fff; }
.admin-shell .menu-item.active i { color: #ff343a; }
.admin-shell .menu-item.active::after { display: none; }
.admin-shell .menu-header { margin: 15px 0 5px; padding: 0 10px; }
.admin-shell .menu-header::before { display: none; }
.admin-shell .menu-header-text { margin: 0; color: #55555a; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.admin-shell .menu-item i.notification { color: #ff343a; animation: notificationPulse 2s ease-in-out infinite; }
.menu-count {
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    padding: 0 6px;
    border-radius: 999px;
    background: #e8191f;
    color: #fff;
    font-size: 9px;
}
@keyframes notificationPulse { 50% { opacity: .55; } }
.menu-close { display: none; }
.menu-backdrop { display: none; }

/* Main structure */
.admin-shell .main_window {
    width: auto;
    min-width: 0;
    float: none;
    margin: 0 0 0 var(--sidebar-width);
    padding: 0 clamp(20px,3vw,48px) 54px;
}
.panel-topbar {
    min-height: 105px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}
.panel-heading-copy { min-width: 0; }
.panel-heading-copy > span { display: block; margin-bottom: 3px; color: #f22026; font-size: 9px; font-weight: 800; letter-spacing: .22em; }
.panel-heading-copy h1 { margin: 0; font-family: inherit; font-size: clamp(30px,3vw,40px); font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.admin-account { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.admin-avatar { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(242,32,38,.55); border-radius: 50%; background: rgba(242,32,38,.1); color: #fff; font-size: 13px; font-weight: 800; }
.admin-account > div { display: grid; gap: 1px; }
.admin-account small { color: #66666b; font-size: 9px; }
.admin-account strong { max-width: 150px; overflow: hidden; color: #d7d7d9; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
#logout-icon {
    position: static;
    width: auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 10px;
    padding: 0 13px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    color: #aaa;
    font-size: 11px;
}
#logout-icon:hover { border-color: rgba(242,32,38,.55); background: rgba(242,32,38,.1); color: #fff; }
.menu-open { display: none; }
.panel-content { min-width: 0; }
.panel-content > .clear { height: 22px; }

/* Cards, headings and dashboard */
.admin-shell .table-wrapper,
.admin-shell .user-list-table-shell,
.admin-shell div.dataTables_wrapper {
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(19,19,20,.96), rgba(10,10,11,.96));
    box-shadow: 0 20px 45px rgba(0,0,0,.14);
    color: #929297;
}
.admin-shell .table-wrapper + .table-wrapper { margin-top: 18px; }
.admin-shell .container { padding: 4px; }
.admin-shell .table-wrapper .container h2,
.admin-shell .section-title {
    margin: 0;
    padding: 0 0 16px;
    color: #fff;
    font-family: inherit;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -.025em;
    text-align: left;
}
.admin-shell .table-wrapper .container p { color: #848489; font-size: 12px; line-height: 1.6; }
.admin-shell .pie-row { align-items: stretch; gap: 16px; margin-top: 18px; padding: 18px; }
.admin-shell .pie-wrapper { min-width: 220px; max-width: none; }
.admin-shell .pie { height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); box-shadow: none; }
.admin-shell .pie-wrapper h3 { color: #ddd; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .pie strong { color: #fff; font-family: inherit; font-weight: 750; }

/* Tables */
.admin-shell .user-list-table-shell { padding: 5px 14px 14px; overflow-x: auto; }
.admin-shell table.display,
.admin-shell .admin-table { width: 100%; border-collapse: separate; border-spacing: 0; color: #ddd; font-size: 12px; }
.admin-shell table.display {
    width: 100% !important;
    table-layout: fixed;
}
.admin-shell .pie-row > .admin-table { flex: 1 1 280px; width: auto !important; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.012); }
.admin-shell table.dataTable.no-footer { border-bottom: 0; }
.admin-shell table.display thead th,
.admin-shell #data-table th,
.admin-shell #data-table2 th,
.admin-shell #buy-table th,
.admin-shell #rent-table th,
.admin-shell #other-table th,
.admin-shell #review-table th {
    height: 52px;
    padding: 0 12px;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    background: transparent;
    color: #a8a8ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}
.admin-shell table.display tbody tr,
.admin-shell table.dataTable.display tbody tr.odd,
.admin-shell table.dataTable.display tbody tr.even { background: transparent; color: #d8d8da; }
.admin-shell table.display tbody tr:hover,
.admin-shell table.dataTable.display tbody tr:hover { background: rgba(255,255,255,.025) !important; }
.admin-shell table.display tbody td,
.admin-shell #data-table td,
.admin-shell #data-table2 td,
.admin-shell #buy-table td,
.admin-shell #rent-table td,
.admin-shell #other-table td,
.admin-shell #review-table td {
    padding: 14px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.055);
    background: transparent !important;
    color: #d1d1d4;
    vertical-align: middle;
}
.admin-shell table.display tbody tr:last-child td { border-bottom: 0; }
.admin-shell table.display .is-id-column,
.admin-shell table.display .is-actions-column { text-align: center !important; }
.admin-shell table.display .btn i,
.admin-shell .table-wrapper a.btn i { width: auto; margin: 0 !important; line-height: 1; }
.admin-shell table.dataTable thead th.sorting,
.admin-shell table.dataTable thead th.sorting_asc,
.admin-shell table.dataTable thead th.sorting_desc,
.admin-shell table.dataTable thead td.sorting,
.admin-shell table.dataTable thead td.sorting_asc,
.admin-shell table.dataTable thead td.sorting_desc {
    position: relative;
    padding-right: 34px !important;
    background-image: none !important;
    cursor: pointer;
}
.admin-shell table.dataTable thead > tr > th.sorting::before,
.admin-shell table.dataTable thead > tr > th.sorting_asc::before,
.admin-shell table.dataTable thead > tr > th.sorting_desc::before { display: none !important; content: none !important; }
.admin-shell table.dataTable thead > tr > th.sorting::after,
.admin-shell table.dataTable thead > tr > th.sorting_asc::after,
.admin-shell table.dataTable thead > tr > th.sorting_desc::after {
    position: absolute;
    top: 50%;
    right: 12px;
    display: block !important;
    width: 14px;
    margin: 0;
    color: #66666c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    opacity: 1;
    transform: translateY(-50%);
}
.admin-shell table.dataTable thead > tr > th.sorting::after { content: "↕" !important; }
.admin-shell table.dataTable thead > tr > th.sorting_asc::after { content: "↑" !important; color: #f22026; }
.admin-shell table.dataTable thead > tr > th.sorting_desc::after { content: "↓" !important; color: #f22026; }
.admin-shell table.dataTable thead > tr > th.sorting_disabled { cursor: default; }
.admin-shell table.dataTable thead > tr > th.sorting_disabled::before,
.admin-shell table.dataTable thead > tr > th.sorting_disabled::after { display: none !important; content: none !important; }
.admin-shell table.display .is-id-column { width: 76px; }
.admin-shell table.display .is-actions-column { width: 82px; }
.admin-shell table.display tbody td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-shell table.display img { border-radius: 10px; object-fit: cover; }
.admin-shell .admin-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.admin-shell .admin-table tr:last-child td { border-bottom: 0; }
.admin-shell .admin-table td:first-child { background: transparent; color: #77777d; font-size: 11px; font-weight: 600 !important; }
.admin-shell .admin-table tr:first-child td[colspan] { color: #fff; font-size: 13px; font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; }
.admin-shell .admin-row { gap: 16px; margin: 0; }
.admin-shell .admin-row > .admin-table { flex: 1; min-width: 0; }
.admin-shell .small-tag { display: inline-flex; align-items: center; min-height: 26px; max-width: 100%; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .04em; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; box-sizing: border-box; }
.admin-shell .processing-tag { background: rgba(83,183,227,.12); color: #8bd8f4; text-transform: uppercase; }
.admin-shell .processing-tag[data-processing-state="ready"] { background: var(--green); color: var(--green-full); }
.admin-shell .processing-tag[data-processing-state="failed"] { background: var(--red); color: var(--red-full); }
.admin-shell .processing-tag[data-processing-state="unknown"],
.admin-shell .processing-tag[data-processing-state="missing"] { background: rgba(255,255,255,.08); color: #aaa; }
.admin-shell .video-mode-tag { margin-top: 5px; text-transform: uppercase; }
.admin-shell .video-mode-tag[data-background-removal="yes"] { background: rgba(139,101,223,.2); color: #d9c8ff; }
.admin-shell .video-mode-tag[data-background-removal="no"] { background: rgba(255,255,255,.09); color: #c8c8ce; }
.admin-shell .video-processing-note { padding: 20px; color: #a8a8ad; line-height: 1.5; }
.admin-shell .video-detail-section + .video-detail-section { margin-top: 18px; }
.admin-shell .video-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,280px); gap: 28px; align-items: start; }
.admin-shell .video-detail-grid > *, .admin-shell .video-review-grid > * { min-width: 0; }
.admin-shell .video-detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; margin: 0; }
.admin-shell .video-detail-facts > div { min-width: 0; display: grid; grid-template-columns: minmax(90px,36%) minmax(0,1fr); align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.admin-shell .video-detail-facts > .video-detail-facts-wide { grid-column: 1 / -1; }
.admin-shell .video-detail-facts dt { color: #85858b; font-size: 11px; font-weight: 700; }
.admin-shell .video-detail-facts dd { min-width: 0; margin: 0; color: #e3e3e5; line-height: 1.45; overflow-wrap: anywhere; }
.admin-shell .video-detail-facts .small-tag { margin-top: 0; }
.admin-shell .video-detail-profile { max-width: 80px; max-height: 80px; border-radius: 9px; object-fit: cover; }
.admin-shell .video-detail-cover { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); text-align: center; }
.admin-shell .video-detail-cover .section-title { text-align: left; }
.admin-shell .video-detail-cover img { display: block; max-width: 100%; max-height: 320px; margin: 0 auto; border-radius: 9px; object-fit: contain; }
.admin-shell .video-detail-cover p { color: #85858b; }
.admin-shell .video-review-status { background: var(--orange); color: var(--orange-full); text-transform: uppercase; }
.admin-shell .video-review-status[data-video-review-status="published"],
.admin-shell .video-review-status[data-video-review-status="verified"] { background: var(--green); color: var(--green-full); }
.admin-shell .video-review-status[data-video-review-status="rejected"],
.admin-shell .video-review-status[data-video-review-status="deleted"] { background: var(--red); color: var(--red-full); }
.admin-shell .video-review-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap: 24px; align-items: start; }
.admin-shell .video-detail-facts-single { grid-template-columns: 1fr; }
.admin-shell .video-detail-preview { min-height: 190px; display: grid; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #080809; }
.admin-shell .video-detail-preview video { display: block; width: 100%; max-height: 500px; object-fit: contain; }
.admin-shell .video-detail-preview .video-processing-note { margin: 0; padding: 12px; text-align: center; }
.admin-shell .video-review-panel { padding: 0 4px; }
.admin-shell .video-review-form { display: grid; gap: 9px; }
.admin-shell .video-review-form label { margin: 0; }
.admin-shell .video-review-form textarea { width: 100%; min-height: 120px; box-sizing: border-box; }
.admin-shell .video-review-actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 10px; }
.admin-shell .video-review-actions .approve-btn,
.admin-shell .video-review-actions .reject-btn { min-width: 0; margin-top: 0; }
.admin-shell .video-review-hint { color: #96969c; line-height: 1.5; }
.admin-shell .table-wrapper a { border: 0; border-radius: 0; color: #ff5559; padding: 0; }
.admin-shell .table-wrapper a:hover { color: #fff; }
.admin-shell table.display .btn,
.admin-shell .table-wrapper a.btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--line-strong) !important; border-radius: 9px; background: rgba(255,255,255,.025); color: #fff; }
.admin-shell table.display td.is-actions-column .btn { margin-right: auto; margin-left: auto; vertical-align: middle; }
.admin-shell .action-icon-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}
.admin-shell .action-icon-button svg {
    width: 19px;
    height: 19px;
    display: block;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.admin-shell table.display .btn:hover { border-color: rgba(242,32,38,.55) !important; background: rgba(242,32,38,.12); }

/* DataTables and server-rendered controls */
.admin-shell .dataTables_wrapper { overflow-x: auto; }
.admin-shell .video-list-wrapper { overflow: hidden; container-type: inline-size; }
.admin-shell .video-list-wrapper div.dataTables_wrapper { max-width: 100%; overflow-x: hidden !important; }
.admin-shell table.display.video-list-table { min-width: 0 !important; width: 100% !important; table-layout: fixed; }
.admin-shell .video-list-table col.video-col-id { width: 52px; }
.admin-shell .video-list-table col.video-col-thumbnail { width: 78px; }
.admin-shell .video-list-table col.video-col-owner { width: 72px; }
.admin-shell .video-list-table col.video-col-status { width: 142px; }
.admin-shell .video-list-table col.video-col-processing { width: 160px; }
.admin-shell .video-list-table col.video-col-title { width: auto; }
.admin-shell .video-list-table col.video-col-price { width: 68px; }
.admin-shell .video-list-table col.video-col-category { width: 112px; }
.admin-shell .video-list-table col.video-col-views { width: 62px; }
.admin-shell .video-list-table col.video-col-date { width: 132px; }
.admin-shell .video-list-table col.video-col-actions { width: 64px; }
.admin-shell table.display.video-list-table .is-id-column { width: 52px; }
.admin-shell table.display.video-list-table .is-actions-column { width: 64px; }
.admin-shell .video-list-table th,
.admin-shell .video-list-table td { padding-right: 8px !important; padding-left: 8px !important; }
.admin-shell .video-list-table thead th { white-space: normal; overflow-wrap: anywhere; }
.admin-shell table.dataTable.video-list-table thead th.sorting,
.admin-shell table.dataTable.video-list-table thead th.sorting_asc,
.admin-shell table.dataTable.video-list-table thead th.sorting_desc { padding-right: 20px !important; }
.admin-shell table.dataTable.video-list-table thead th.sorting_disabled { padding-right: 8px !important; }
.admin-shell .video-list-table thead th.sorting::after,
.admin-shell .video-list-table thead th.sorting_asc::after,
.admin-shell .video-list-table thead th.sorting_desc::after { right: 4px; }
.admin-shell .video-list-table td.video-list-status,
.admin-shell .video-list-table td.video-list-processing { overflow: visible; white-space: normal; text-overflow: clip; text-align: center; }
.admin-shell .video-list-table td.video-list-title {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}
.admin-shell .video-list-table td.video-list-price {
    color: #fff;
    font-weight: 700;
    text-align: center;
}
.admin-shell .video-list-table .video-list-thumbnail {
    width: 58px;
    height: 58px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}
.admin-shell .video-review-mobile { display: none; margin-top: 5px; background: var(--orange); color: var(--orange-full); text-transform: uppercase; }
@container (max-width: 1100px) {
    .admin-shell .video-list-table col:nth-child(9),
    .admin-shell .video-list-table col:nth-child(10),
    .admin-shell .video-list-table tr > :nth-child(9),
    .admin-shell .video-list-table tr > :nth-child(10) { display: none; }
}
@container (max-width: 900px) {
    .admin-shell .video-list-table col:nth-child(7),
    .admin-shell .video-list-table col:nth-child(8),
    .admin-shell .video-list-table tr > :nth-child(7),
    .admin-shell .video-list-table tr > :nth-child(8) { display: none; }
}
@container (max-width: 720px) {
    .admin-shell .video-list-table col:nth-child(2),
    .admin-shell .video-list-table tr > :nth-child(2) { display: none; }
}
@container (max-width: 560px) {
    .admin-shell .video-list-table col:nth-child(3),
    .admin-shell .video-list-table tr > :nth-child(3) { display: none; }
    .admin-shell .video-list-table col.video-col-status { width: 110px; }
    .admin-shell .video-list-table col.video-col-processing { width: 125px; }
}
@container (max-width: 420px) {
    .admin-shell .video-list-table col:nth-child(1),
    .admin-shell .video-list-table col:nth-child(4),
    .admin-shell .video-list-table tr > :nth-child(1),
    .admin-shell .video-list-table tr > :nth-child(4) { display: none; }
    .admin-shell .video-list-table col.video-col-processing { width: 112px; }
    .admin-shell .video-review-mobile { display: inline-flex; }
}
.admin-shell .dataTables_wrapper .dataTables_length,
.admin-shell .dataTables_wrapper .dataTables_filter,
.admin-shell .dataTables_wrapper .dataTables_info,
.admin-shell .dataTables_wrapper .dataTables_paginate { color: #77777d; font-size: 10px; }
.admin-shell .dataTables_wrapper .dataTables_filter input,
.admin-shell .dataTables_wrapper .dataTables_length select { min-height: 38px; margin: 0 0 14px 8px; padding: 0 11px; border: 1px solid var(--line) !important; border-radius: 9px; background: #0a0a0b !important; color: #fff; }
.admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button { border: 1px solid transparent !important; border-radius: 8px; color: #888 !important; }
.admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current { border-color: rgba(242,32,38,.4) !important; background: rgba(242,32,38,.12) !important; color: #fff !important; }
.admin-shell .user-list-toolbar,
.admin-shell .transaction-toolbar { margin-bottom: 18px; padding: 16px; }
.admin-shell .user-list-search input { min-width: 280px; height: 44px; padding: 0 14px; border: 1px solid var(--line) !important; border-radius: 11px; background: #09090a !important; color: #fff; }
.admin-shell .user-list-search input:focus { border-color: rgba(242,32,38,.55) !important; box-shadow: 0 0 0 3px rgba(242,32,38,.08); }
.admin-shell button,
.admin-shell .btn { min-height: 42px; margin: 0; padding: 0 17px; border-radius: 10px; background: linear-gradient(110deg,#d9141a,#f5262c); color: #fff; font-size: 11px; font-weight: 800; }
.admin-shell button:hover,
.admin-shell .btn:hover { background: linear-gradient(110deg,#ee1b21,#ff343a); }
.admin-shell .btn-secondary { border: 1px solid var(--line-strong); background: transparent; color: #aaa; }
.admin-shell .transaction-tabs { gap: 7px; }
.admin-shell .transaction-tabs a { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; color: #818186; font-size: 10px; font-weight: 700; }
.admin-shell .transaction-tabs a:hover,
.admin-shell .transaction-tabs a.is-active { border-color: rgba(242,32,38,.42); background: rgba(242,32,38,.1); color: #fff; }
.admin-shell .transaction-table .transaction-col-id { width: 98px; }
.admin-shell .transaction-table .transaction-col-amount { width: 94px; text-align: right; }
.admin-shell .transaction-table .transaction-col-provider { width: 112px; }
.admin-shell .transaction-table .transaction-col-date { width: 176px; }
.admin-shell .transaction-table .transaction-col-type { width: 150px; }
.admin-shell .transaction-table .transaction-col-name { width: 180px; }
.admin-shell .transaction-table .transaction-col-info { width: 240px; }
.admin-shell .transaction-table .transaction-col-payment { width: 340px; }
.admin-shell .transaction-table tbody td.transaction-col-payment {
    overflow: visible;
    color: #ececef;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
}
.admin-shell #data-table thead .user-list-sort { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #a8a8ad; font-size: 10px; letter-spacing: .08em; }
.admin-shell #data-table thead .user-list-sort span { width: 14px; flex: 0 0 14px; color: #66666c; font-size: 13px; line-height: 1; text-align: center; }
.admin-shell #data-table thead .user-list-sort.is-active,
.admin-shell #data-table thead .user-list-sort:hover { color: #ff4a4f; }
.admin-shell #data-table thead .user-list-sort.is-active span { color: #f22026; }
.admin-shell .user-list-pagination { margin: 20px 0 0; }
.admin-shell .user-list-pagination a,
.admin-shell .user-list-pagination span { min-width: 84px; min-height: 39px; border: 1px solid var(--line); border-radius: 9px; background: #101011; color: #aaa; font-size: 10px; }
.admin-shell .user-list-pagination a { border-color: rgba(242,32,38,.45); background: rgba(242,32,38,.12); color: #fff; }

/* Forms and reviews */
.admin-shell input[type="text"], .admin-shell input[type="search"], .admin-shell input[type="email"],
.admin-shell input[type="number"], .admin-shell input[type="file"], .admin-shell select, .admin-shell textarea {
    min-height: 43px;
    padding: 10px 13px;
    border: 1px solid var(--line) !important;
    border-radius: 10px;
    background: #09090a !important;
    color: #e8e8e8;
    font-size: 12px;
}
.admin-shell textarea { min-height: 130px; resize: vertical; }
.admin-shell input:focus, .admin-shell select:focus, .admin-shell textarea:focus { border-color: rgba(242,32,38,.55) !important; box-shadow: 0 0 0 3px rgba(242,32,38,.08); }
.admin-shell label { display: inline-block; margin: 12px 0 7px; color: #aaa; font-size: 11px; font-weight: 650; }
.admin-shell .approve-btn, .admin-shell .reject-btn { width: 100%; margin-top: 10px; }
.admin-shell .approve-btn { background: linear-gradient(110deg,#168451,#22a86a); }
.admin-shell .approve-btn:hover { background: linear-gradient(110deg,#1c9b61,#29bc79); }
.admin-shell .reject-btn { background: linear-gradient(110deg,#bd1117,#ec2026); }
.admin-shell .delete-btn { min-height: 34px; margin: 0; padding: 7px; border: 1px solid rgba(242,32,38,.25); background: rgba(242,32,38,.07); }
.admin-shell .editable-commission-input { width: 100px; }
.admin-shell .lightbox-modal { backdrop-filter: blur(8px); }
.admin-shell .lightbox-modal img { border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 30px 90px #000; }

/* Login */
body.admin-login-page {
    min-height: 100svh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 28px;
    overflow: auto;
    background:
        radial-gradient(circle at 20% 25%, rgba(135,0,5,.2), transparent 30rem),
        radial-gradient(circle at 80% 100%, rgba(80,0,3,.15), transparent 34rem),
        #040404;
    color: #fff;
}
.admin-login-shell { width: min(100%,980px); display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); align-items: center; gap: clamp(50px,8vw,110px); }
.admin-login-intro img { width: min(230px,65%); margin-bottom: clamp(55px,9vh,90px); }
.admin-login-eyebrow { margin-bottom: 11px; color: #f3292f; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.admin-login-intro h1 { margin: 0 0 20px; font-family: inherit; font-size: clamp(60px,8vw,96px); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.admin-login-intro h1 span { font-family: inherit; }
.admin-login-intro h1 span { color: #f22026; }
.admin-login-intro p { max-width: 480px; margin: 0; color: #99999e; font-size: 14px; line-height: 1.65; }
.admin-login-page .card {
    position: static;
    width: 100%;
    margin: 0;
    padding: clamp(28px,4vw,42px);
    transform: none;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg,rgba(22,22,23,.97),rgba(10,10,11,.97));
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
}
.admin-login-page .card-header { margin: 0 0 30px; text-align: left; }
.admin-login-page .card-header > span { color: #f3292f; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.admin-login-page .card-header h2 { margin: 7px 0 7px; font-family: inherit; font-size: 36px; font-weight: 750; line-height: 1; }
.admin-login-page .card-header p { color: #85858a; font-size: 12px; line-height: 1.5; }
.admin-login-page .card-body { text-align: left; }
.admin-login-page .card-body label { display: block; margin: 17px 0 7px; color: #b4b4b7; font-size: 11px; font-weight: 700; }
.login-input { position: relative; }
.login-input > i { position: absolute; top: 50%; left: 14px; z-index: 1; color: #626267; font-size: 13px; transform: translateY(-50%); }
.admin-login-page .card-body .login-input input { width: 100%; height: 50px; margin: 0; padding: 0 14px 0 42px; border: 1px solid var(--line) !important; border-radius: 12px; background: #09090a !important; color: #fff; }
.admin-login-page .card-body .login-input input:focus { border-color: rgba(242,32,38,.6) !important; box-shadow: 0 0 0 3px rgba(242,32,38,.08); }
.admin-login-page .card-body button { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 25px; border-radius: 12px; background: linear-gradient(110deg,#d9141a,#ff292f); font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.login-alert { margin-bottom: 15px; padding: 12px 14px; border: 1px solid rgba(242,32,38,.3); border-radius: 10px; background: rgba(242,32,38,.08); color: #ff8b8f; font-size: 11px; line-height: 1.5; }

/* Minimal admin sign-in */
body.admin-login-page { background: #050505; }
.admin-login-page .admin-login-shell { width: min(100%,400px); display: block; }
.admin-login-page .admin-login-card { padding: 34px; border-radius: 18px; box-shadow: 0 22px 60px rgba(0,0,0,.3); }
.admin-login-page .card-header { margin-bottom: 25px; }
.admin-login-page .card-header img { width: 170px; height: auto; display: block; margin: 0 0 36px; }
.admin-login-page .card-header h1 { margin: 0 0 7px; color: #fff; font-family: inherit; font-size: 23px; font-weight: 750; letter-spacing: -.025em; }
.admin-login-page .card-header p { margin: 0; }
.admin-login-page .card-body button { margin-top: 24px; }

/* Product analytics */
.analytics-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.analytics-toolbar h2,
.analytics-section-heading h2 { margin: 0; color: #f4f4f5; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.analytics-toolbar p,
.analytics-section-heading p { margin: 6px 0 0; color: #85858a; font-size: 12px; line-height: 1.5; }
.analytics-date-form { display: flex; align-items: flex-end; gap: 10px; }
.admin-shell .analytics-date-form label { margin: 0; color: #929297; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.admin-shell .analytics-date-form input[type="date"] {
    width: 168px;
    height: 44px;
    min-height: 44px;
    display: block;
    margin-top: 7px;
    padding: 0 12px;
    border: 1px solid var(--line-strong) !important;
    border-radius: 11px;
    outline: 0;
    background: linear-gradient(145deg,#121213,#09090a) !important;
    color: #f1f1f2;
    color-scheme: dark;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .01em;
    line-height: 44px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.admin-shell .analytics-date-form input[type="date"]::-webkit-date-and-time-value {
    min-height: 42px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    text-align: left;
}
.admin-shell .analytics-date-form input[type="date"]::-webkit-datetime-edit {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0;
}
.admin-shell .analytics-date-form input[type="date"]::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.admin-shell .analytics-date-form input[type="date"]:hover { border-color: rgba(255,255,255,.25) !important; }
.admin-shell .analytics-date-form input[type="date"]:focus {
    border-color: rgba(242,32,38,.72) !important;
    box-shadow: 0 0 0 3px rgba(242,32,38,.1);
}
.admin-shell .analytics-date-form input[type="date"]::-webkit-calendar-picker-indicator {
    width: 17px;
    height: 17px;
    align-self: center;
    margin-left: 8px;
    padding: 3px;
    border-radius: 5px;
    background-color: rgba(242,32,38,.13);
    cursor: pointer;
    filter: invert(25%) sepia(98%) saturate(4924%) hue-rotate(349deg) brightness(102%) contrast(90%);
    opacity: .95;
}
.admin-shell .analytics-date-form button { min-height: 44px; padding: 0 19px; }
.analytics-period-note { margin: 0 2px 16px; color: #d7d7d9; font-size: 12px; font-weight: 700; }
.analytics-period-note span { margin-left: 8px; color: #747479; font-weight: 500; }
.analytics-kpi-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.analytics-kpi { min-height: 128px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg,rgba(20,20,21,.98),rgba(11,11,12,.98)); }
.analytics-kpi > span { display: block; color: #8d8d92; font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.analytics-kpi > strong { display: block; margin: 11px 0 9px; color: #fff; font-size: 26px; font-weight: 780; letter-spacing: -.035em; }
.analytics-kpi small { color: #737378; font-size: 9px; font-weight: 650; }
.analytics-kpi small.is-up { color: #42bd78; }
.analytics-kpi small.is-down { color: #f45a5f; }
.analytics-kpi small em { margin-left: 4px; color: #6f6f74; font-style: normal; font-weight: 500; }
.analytics-chart-card { margin-bottom: 18px; }
.analytics-chart-wrap { position: relative; height: 300px; margin-top: 20px; }
.analytics-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analytics-funnel-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.analytics-funnel { margin: 0; }
.funnel-step { margin-top: 18px; }
.funnel-step > div:first-child,
.breakdown-row > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #aaaab0; font-size: 11px; }
.funnel-step strong,
.breakdown-row strong { color: #fff; font-size: 12px; }
.funnel-track { height: 5px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.055); }
.funnel-track i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#b90f15,#fa272d); }
.funnel-step small { display: block; margin-top: 6px; color: #69696e; font-size: 9px; }
.analytics-ranking-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.analytics-ranking { margin: 0; }
.analytics-ranking ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: analytics-rank; }
.analytics-ranking li { min-height: 39px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.05); color: #b9b9bd; font-size: 11px; counter-increment: analytics-rank; }
.analytics-ranking li::before { content: counter(analytics-rank); color: #58585d; font-size: 9px; font-weight: 800; }
.analytics-ranking li:last-child { border-bottom: 0; }
.analytics-ranking li strong { color: #fff; font-size: 11px; }
.analytics-ranking li.is-empty { display: block; padding: 14px 0; color: #6f6f74; }
.analytics-ranking li.is-empty::before { display: none; }
.analytics-breakdown-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.analytics-breakdown { margin: 0; }
.breakdown-row { margin-top: 17px; }
.analytics-disclaimer { margin: 16px 2px 0; color: #626267; font-size: 9px; line-height: 1.6; }
.analytics-empty { text-align: center; }
.analytics-empty strong { display: block; margin-bottom: 7px; color: #fff; }
.analytics-empty p { margin: 0; color: #77777d; }

@media (max-width: 980px) {
    .admin-shell .menu { transform: translateX(-105%); transition: transform .25s ease; }
    .admin-shell .menu.is-open { transform: translateX(0); }
    .admin-shell .main_window { margin-left: 0; }
    .menu-open, .menu-close { width: 40px; height: 40px; display: inline-grid; place-items: center; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); color: #fff; }
    .menu-close { position: absolute; right: 7px; top: 8px; }
    .menu-backdrop { position: fixed; inset: 0; z-index: 900; display: block; background: rgba(0,0,0,.68); opacity: 0; pointer-events: none; backdrop-filter: blur(4px); transition: opacity .2s ease; }
    .menu-backdrop.is-visible { opacity: 1; pointer-events: auto; }
    body.menu-opened { overflow: hidden; }
    .admin-shell .admin-row { flex-wrap: wrap; }
    .admin-shell .admin-row > .admin-table { flex: 1 1 360px; }
    .analytics-kpi-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .analytics-ranking-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .analytics-funnel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .admin-shell .video-detail-grid,
    .admin-shell .video-review-grid { grid-template-columns: 1fr; }
    .admin-shell .video-detail-cover { max-width: 320px; }
}

@media (max-width: 620px) {
    .admin-shell .video-detail-facts { grid-template-columns: 1fr; }
    .admin-shell .video-detail-facts > .video-detail-facts-wide { grid-column: auto; }
}

@media (max-width: 700px) {
    .admin-shell .main_window { padding: 0 13px 35px; }
    .panel-topbar { min-height: 82px; margin-bottom: 18px; }
    .panel-heading-copy > span { display: none; }
    .panel-heading-copy h1 { font-size: 32px; }
    .admin-account > div, #logout-icon span { display: none; }
    .admin-avatar { display: none; }
    #logout-icon { width: 40px; height: 40px; justify-content: center; margin-left: 0; padding: 0; }
    .admin-shell .table-wrapper, .admin-shell .user-list-table-shell, .admin-shell div.dataTables_wrapper { padding: 14px; border-radius: 14px; }
    .admin-shell .pie-row { padding: 13px; }
    .admin-shell .pie-wrapper { flex-basis: 100%; }
    .admin-shell .user-list-search, .admin-shell .user-list-search input { width: 100%; min-width: 0; }
    .admin-shell .transaction-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
    .admin-shell .transaction-tabs a { flex: 0 0 auto; }
    .admin-shell table.display, .admin-shell .admin-table { font-size: 11px; }
    .analytics-toolbar { align-items: stretch; flex-direction: column; }
    .analytics-date-form { align-items: stretch; flex-wrap: wrap; }
    .analytics-date-form label { flex: 1 1 120px; }
    .analytics-date-form input { width: 100%; }
    .analytics-kpi-grid, .analytics-ranking-grid, .analytics-breakdown-grid { grid-template-columns: 1fr; }
    .analytics-kpi { min-height: 112px; }
    .analytics-chart-wrap { height: 250px; }
    .admin-login-page { padding: 18px; }
    .admin-login-shell { grid-template-columns: 1fr; gap: 28px; }
    .admin-login-intro img { width: 170px; margin-bottom: 35px; }
    .admin-login-intro h1 { font-size: 56px; }
    .admin-login-intro p { display: none; }
}

@media (max-width: 460px) {
    .admin-login-intro { display: none; }
    .admin-login-page .card { padding: 27px 22px; }
    .admin-shell .user-list-pagination { gap: 5px; }
    .admin-shell .user-list-pagination a, .admin-shell .user-list-pagination span { min-width: 70px; }
}


/* Mailing exports and campaign results */
.admin-shell .mailing-card { margin-bottom: 24px; }
.admin-shell .table-wrapper + .mailing-card { margin-top: 0; }
.admin-shell .mailing-card h2 {
    margin: 0 0 10px;
    color: #f4f4f5;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.02em;
}
.admin-shell .mailing-card > p {
    max-width: 960px;
    margin: 0 0 12px;
    color: #929297;
    font-size: 12px;
    line-height: 1.65;
}
.admin-shell .mailing-card > p[role] {
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    color: #e3e3e5;
}
.admin-shell .mailing-card > p[role="alert"] { border-color: rgba(242,32,38,.4); color: #ff8589; }
.admin-shell .mailing-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin: 20px 0 0;
}
.admin-shell .mailing-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
    color: #b5b5bb;
    font-size: 11px;
    font-weight: 700;
}
.admin-shell .mailing-form label:first-of-type { flex: 1 1 240px; max-width: 360px; }
.admin-shell .mailing-form select,
.admin-shell .mailing-form input[type="number"] {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--line-strong) !important;
    border-radius: 10px;
    background: #09090a !important;
    color: #f1f1f2;
    color-scheme: dark;
    font: inherit;
    font-size: 12px;
}
.admin-shell .mailing-form input[type="number"] { width: 140px; }
.admin-shell .mailing-form select:focus-visible,
.admin-shell .mailing-form input:focus-visible,
.admin-shell .mailing-form button:focus-visible,
.admin-shell .mailing-table-scroll:focus-visible {
    outline: 2px solid #f5262c;
    outline-offset: 3px;
}
.admin-shell .mailing-form button {
    box-sizing: border-box;
    width: auto;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 12px 18px;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
}
.admin-shell .mailing-form-revoke { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.admin-shell .mailing-form-revoke button { border: 1px solid var(--line-strong); background: transparent; color: #b5b5bb; }
.admin-shell .mailing-form-revoke button:hover { border-color: rgba(242,32,38,.5); background: rgba(242,32,38,.08); color: #fff; }
.admin-shell .mailing-table-scroll { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; }
.admin-shell .mailing-table { width: 100%; min-width: 650px; margin: 0; border-collapse: collapse; font-size: 12px; }
.admin-shell .mailing-table th,
.admin-shell .mailing-table td { padding: 15px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.admin-shell .mailing-table th { background: rgba(255,255,255,.035); color: #929297; font-size: 10px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.admin-shell .mailing-table td { color: #e3e3e5; font-variant-numeric: tabular-nums; }
.admin-shell .mailing-table th:first-child,
.admin-shell .mailing-table td:first-child { text-align: left; }
.admin-shell .mailing-table td:first-child { font-weight: 650; white-space: normal; min-width: 180px; }
.admin-shell .mailing-table tr:last-child td { border-bottom: 0; }
.admin-shell .mailing-table tbody tr:hover { background: rgba(255,255,255,.025); }
@media (max-width: 640px) {
    .admin-shell .mailing-form { flex-direction: column; align-items: stretch; }
    .admin-shell .mailing-form label:first-of-type { flex: none; max-width: none; }
    .admin-shell .mailing-form input[type="number"],
    .admin-shell .mailing-form button { width: 100%; }
}


/* Moderator inbox and conversation workspace */
.admin-shell .moderation-page-intro { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; color: #a4a8b2; font-size: 12px; }
.admin-shell .moderation-page-intro p { margin: 0; }
.admin-shell .moderation-page-intro a { color: #d9dde5; text-decoration: none; }
.admin-shell .moderation-workspace { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 20px; margin-bottom: 28px; }
.admin-shell .moderation-inbox,
.admin-shell .moderation-conversation,
.admin-shell .moderation-empty-conversation { min-width: 0; border: 1px solid #2a2d34; border-radius: 16px; background: #101215; overflow: hidden; }
.admin-shell .moderation-inbox { position: sticky; top: 20px; }
.admin-shell .moderation-inbox-heading { display: flex; justify-content: space-between; align-items: center; padding: 20px 18px 16px; }
.admin-shell .moderation-inbox-heading h2 { margin: 0; color: #f4f5f7; font-size: 16px; font-weight: 750; }
.admin-shell .moderation-inbox-heading > span { padding: 4px 8px; border: 1px solid #353943; border-radius: 7px; color: #bcc1cd; font-size: 11px; font-variant-numeric: tabular-nums; }
.admin-shell .moderation-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 0 14px 16px; }
.admin-shell .moderation-search > div { display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 40px; border: 1px solid #343843; border-radius: 9px; background: #090b0e; }
.admin-shell .moderation-search svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: #9ea5b3; stroke-width: 1.6; }
.admin-shell .moderation-search input { width: 100%; min-width: 0; height: 38px; margin: 0; padding: 0; border: 0 !important; background: transparent !important; color: #f1f3f7; font-size: 12px; }
.admin-shell .moderation-search input::placeholder { color: #8d95a5; opacity: 1; }
.admin-shell .moderation-search button { width: auto; min-height: 40px; height: 40px; margin: 0; padding: 0 11px; border: 1px solid #424752; border-radius: 9px; background: #22262e; color: #f3f4f6; font-size: 11px; font-weight: 650; }
.admin-shell .moderation-search button:hover { background: #303642; }
.admin-shell .moderation-search-summary { display: flex; justify-content: space-between; gap: 12px; padding: 0 16px 14px; color: #aab2c1; font-size: 11px; overflow-wrap: anywhere; }
.admin-shell .moderation-search-summary a { color: #ff9397; }
.admin-shell .moderation-inbox-list { max-height: 70vh; overflow-y: auto; border-top: 1px solid #2a2d34; scrollbar-width: thin; scrollbar-color: #444b58 #101215; }
.admin-shell .moderation-inbox-row { display: block; position: relative; padding: 18px 16px; border: 0; border-bottom: 1px solid #282c34; border-left: 3px solid transparent; color: #e9ecf2; text-decoration: none; }
.admin-shell .moderation-inbox-row:last-child { border-bottom: 0; }
.admin-shell .moderation-inbox-row:hover { background: #191d24; }
.admin-shell .moderation-inbox-row.is-selected { border-left-color: #fa484f; background: #291b21; }
.admin-shell .moderation-inbox-row-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: #a4acbc; font-size: 10px; font-variant-numeric: tabular-nums; }
.admin-shell .moderation-inbox-people { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.admin-shell .moderation-inbox-people > span { color: #888e9c; }
.admin-shell .moderation-inbox-preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #b7bdc9; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; font-weight: 400; }
.admin-shell .moderation-inbox-preview b { font-weight: 650; color: #dce0e9; }
.admin-shell .moderation-inbox-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 12px; color: #9aa3b4; font-size: 10px; }
.admin-shell .moderation-inbox-pagination { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 15px; border-top: 1px solid #2a2d34; color: #aeb6c5; font-size: 11px; }
.admin-shell .moderation-inbox-pagination a { color: #f1f3f7; text-decoration: none; }
.admin-shell .moderation-empty-inbox { padding: 30px 18px; font-size: 13px; line-height: 1.6; color: #d5dbe5; }
.admin-shell .moderation-empty-inbox p { color: #a3adbd; font-size: 12px; }
.admin-shell .moderation-empty-conversation { display: flex; min-height: 530px; align-items: center; justify-content: center; flex-direction: column; padding: 40px; text-align: center; }
.admin-shell .moderation-empty-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; border: 1px solid #3b414c; border-radius: 22px; background: #1d222b; color: #b8c2d4; }
.admin-shell .moderation-empty-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.admin-shell .moderation-empty-conversation h2 { margin: 0 0 12px; font-size: 22px; color: #f1f4fa; }
.admin-shell .moderation-empty-conversation p { max-width: 340px; margin: 0 0 25px; color: #adb6c5; font-size: 13px; line-height: 1.8; }
.admin-shell .moderation-thread-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; border-bottom: 1px solid #2a2d34; background: #15181d; }
.admin-shell .moderation-eyebrow { display: block; margin-bottom: 9px; color: #adb6c5; font-size: 10px; letter-spacing: .09em; font-weight: 650; }
.admin-shell .moderation-thread-heading h2 { margin: 0; color: #f5f6f9; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
.admin-shell .moderation-thread-heading h2 > span { padding: 0 5px; color: #7e8899; font-weight: 400; }
.admin-shell .moderation-thread-heading p { margin: 9px 0 0; color: #a9b2c1; font-size: 11px; line-height: 1.5; }
.admin-shell .moderation-refresh { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 38px; padding: 0 11px; border: 1px solid #3b4250; border-radius: 8px; color: #e0e5ee; font-size: 11px; text-decoration: none; }
.admin-shell .moderation-refresh:hover { background: #252b35; }
.admin-shell .moderation-refresh svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.admin-shell .moderation-participants { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid #2a2d34; background: #111419; }
.admin-shell .moderation-participant { display: flex; align-items: center; min-width: 0; flex-wrap: wrap; gap: 9px; padding: 16px 18px; }
.admin-shell .moderation-participant + .moderation-participant { border-left: 1px solid #2a2d34; }
.admin-shell .moderation-person-avatar { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border: 1px solid #46556d; border-radius: 9px; background: #222e40; color: #bcd5ff; font-size: 12px; font-weight: 750; }
.admin-shell .moderation-person-avatar.is-creator { border-color: #655078; background: #36273f; color: #e4c2ff; }
.admin-shell .moderation-participant > div { flex: 1; min-width: 75px; }
.admin-shell .moderation-participant strong { display: block; margin-bottom: 4px; color: #e9edf5; font-size: 12px; }
.admin-shell .moderation-participant small { display: block; color: #a2acbe; font-size: 10px; overflow-wrap: anywhere; }
.admin-shell .moderation-role { display: inline-flex; align-items: center; width: fit-content; padding: 4px 7px; border: 1px solid; border-radius: 6px; font-size: 10px; line-height: 1.2; font-weight: 650; white-space: nowrap; }
.admin-shell .role-user { border-color: #3e526d; background: #1e2b3d; color: #c0d8fc; }
.admin-shell .role-creator { border-color: #61496e; background: #32233b; color: #e7c6fa; }
.admin-shell .role-moderator { border-color: #6d592f; background: #302719; color: #f5d594; }
.admin-shell .moderation-history-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; padding: 14px 20px; border-bottom: 1px solid #2a2d34; color: #aeb8c9; font-size: 11px; }
.admin-shell .moderation-history-pagination a { color: #eef2f9; }
.admin-shell .moderation-thread { display: flex; flex-direction: column; gap: 20px; max-height: 580px; min-height: 260px; overflow-y: auto; padding: 24px; background: #0c0e12; scrollbar-width: thin; scrollbar-color: #444c59 #0c0e12; }
.admin-shell .moderation-day-divider { display: flex; align-items: center; gap: 12px; margin: 2px 0 4px; color: #a9b3c4; text-align: center; font-size: 10px; font-weight: 650; }
.admin-shell .moderation-day-divider::before,
.admin-shell .moderation-day-divider::after { content: ''; flex: 1; height: 1px; background: #2b313d; }
.admin-shell .moderation-message { align-self: flex-start; width: fit-content; max-width: 88%; min-width: min(230px,100%); padding: 16px 18px; border: 1px solid #344258; border-radius: 14px 14px 14px 4px; background: #1a2433; color: #f0f3f9; }
.admin-shell .moderation-message.from-right { align-self: flex-end; border-color: #54405f; border-radius: 14px 14px 4px 14px; background: #2b1f33; }
.admin-shell .moderation-message.from-moderator { align-self: center; max-width: 94%; border-color: #66552e; border-radius: 14px; background: #292319; }
.admin-shell .moderation-message > header { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 9px; margin-bottom: 12px; }
.admin-shell .moderation-message > header strong { color: #f3f6fc; font-size: 13px; line-height: 1.4; font-weight: 750; }
.admin-shell .moderation-message.from-moderator > header strong { color: #f8dfa8; }
.admin-shell .moderation-message time { margin-left: auto; color: #b1bbcb; font-size: 11px; font-variant-numeric: tabular-nums; }
.admin-shell .moderation-message-body { margin: 0; color: #f0f3f9; font-size: 14px; font-weight: 400; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-shell .moderation-message footer { margin-top: 13px; padding-top: 10px; border-top: 1px solid rgba(200,215,240,.14); color: #aebbd0; font-size: 10px; }
.admin-shell .moderation-message footer span { color: #d7e2f5; }
.admin-shell .moderation-video-context { display: grid; gap: 5px; margin-bottom: 12px; padding: 10px 12px; border-left: 2px solid #899ebd; border-radius: 0 6px 6px 0; background: rgba(0,0,0,.2); }
.admin-shell .moderation-video-context span { color: #b6c1d2; font-size: 10px; }
.admin-shell .moderation-video-context strong { color: #e0e7f3; font-size: 12px; line-height: 1.5; }
.admin-shell .moderation-composer { display: grid; gap: 12px; padding: 20px 24px; border-top: 1px solid #34303a; background: #15181d; }
.admin-shell .moderation-composer-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.admin-shell .moderation-composer label { margin: 0; color: #f1f4fa; font-size: 13px; font-weight: 750; }
.admin-shell .moderation-composer textarea { box-sizing: border-box; display: block; width: 100%; min-height: 100px; margin: 0; padding: 13px 15px; border: 1px solid #495261; border-radius: 10px; background: #090c11; color: #f1f5fc; font: inherit; font-size: 14px; line-height: 1.7; resize: vertical; }
.admin-shell .moderation-composer textarea::placeholder { color: #9ea9bb; opacity: 1; }
.admin-shell .moderation-composer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.admin-shell .moderation-composer-actions p { margin: 0; color: #b0bacb; font-size: 11px; line-height: 1.5; }
.admin-shell .moderation-composer button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: auto; min-height: 42px; margin: 0; padding: 0 17px; border-radius: 9px; font-size: 11px; font-weight: 750; }
.admin-shell .moderation-notice { margin: 16px 20px 0; padding: 12px 14px; border: 1px solid #3e6554; border-radius: 9px; background: #172d23; color: #c4f1d5; font-size: 12px; }
.admin-shell .moderation-notice.is-error { border-color: #87474e; background: #321a1f; color: #ffd0d4; }
.admin-shell .moderation-workspace a:focus-visible,
.admin-shell .moderation-workspace button:focus-visible,
.admin-shell .moderation-workspace textarea:focus-visible,
.admin-shell .moderation-search > div:focus-within,
.admin-shell .moderation-thread:focus-visible { outline: 2px solid #e5b9ff; outline-offset: 3px; }
.moderation-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1600px) {
    .admin-shell .moderation-workspace { grid-template-columns: 330px minmax(0,1fr); }
    .admin-shell .moderation-message-body { font-size: 15px; }
}
@media (max-width: 1150px) {
    .admin-shell .moderation-workspace { grid-template-columns: 250px minmax(0,1fr); gap: 14px; }
    .admin-shell .moderation-participants { grid-template-columns: 1fr; }
    .admin-shell .moderation-participant + .moderation-participant { border-left: 0; border-top: 1px solid #2a2d34; }
    .admin-shell .moderation-thread-heading, .admin-shell .moderation-composer, .admin-shell .moderation-thread { padding: 18px; }
}
@media (max-width: 960px) {
    .admin-shell .moderation-workspace { grid-template-columns: 1fr; }
    .admin-shell .moderation-inbox { position: static; }
    .admin-shell .has-conversation .moderation-inbox { display: none; }
    .admin-shell .moderation-empty-conversation { display: none; }
    .admin-shell .moderation-inbox-list { max-height: none; }
    .admin-shell .moderation-participants { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-shell .moderation-participant + .moderation-participant { border-top: 0; border-left: 1px solid #2a2d34; }
}
@media (max-width: 560px) {
    .admin-shell .moderation-thread-heading { align-items: flex-start; }
    .admin-shell .moderation-thread-heading h2 { font-size: 17px; }
    .admin-shell .moderation-refresh { width: 36px; min-height: 36px; padding: 0; justify-content: center; }
    .admin-shell .moderation-refresh > span { display: none; }
    .admin-shell .moderation-participants { grid-template-columns: 1fr; }
    .admin-shell .moderation-participant + .moderation-participant { border-top: 1px solid #2a2d34; border-left: 0; }
    .admin-shell .moderation-message { max-width: 96%; min-width: 0; padding: 14px; }
    .admin-shell .moderation-message-body { font-size: 14px; }
    .admin-shell .moderation-thread { padding: 16px 12px; }
    .admin-shell .moderation-composer { padding: 18px 14px; }
    .admin-shell .moderation-composer button { width: 100%; }
}

/* Verification review and explicit document removal */
.verification-documents { clear: both; margin: 0 0 28px; }
.verification-photos-title { margin: 0 0 16px; font-size: 1.1rem; }
.verification-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.verification-photo { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #111; }
.verification-photo a { display: block; }
.verification-photo img, .verification-photo-missing { display: block; width: 100%; height: 180px; padding: 10px; object-fit: contain; background: #080808; }
.verification-photo-missing { display: grid; place-items: center; color: var(--grey-color); font-size: .8rem; }
.verification-photo figcaption { padding: 12px 14px; font-size: .8rem; font-weight: 650; }
.verification-download .verification-agreement-status { margin-top: 7px; color: #c0c0c4; }
.verification-download .verification-missing-list { margin-top: 7px; color: #e6b384; }
.verification-notice, .verification-success { margin: 0 0 18px; padding: 16px 18px; border: 1px solid rgba(244,143,52,.35); border-radius: 12px; color: #edc398; background: rgba(244,143,52,.07); font-size: .85rem; line-height: 1.6; }
.verification-notice p { margin: 0; }
.verification-success { color: #9cddb8; border-color: rgba(50,190,115,.3); background: rgba(50,190,115,.07); }
.verification-removal { margin-bottom: 24px; border: 1px solid rgba(242,32,38,.23); border-radius: 14px; background: rgba(242,32,38,.025); }
.verification-removal > summary { padding: 18px 20px; color: #f5a2a4; font-size: .85rem; font-weight: 650; cursor: pointer; }
.verification-remove-form { display: grid; gap: 16px; padding: 4px 20px 22px; }
.verification-remove-form h3 { margin: 0; font-size: 1rem; line-height: 1.5; }
.verification-remove-form h3 span { color: var(--grey-color); font-weight: 400; }
.verification-remove-form > p { margin: 0 0 4px; color: #b3b3b8; font-size: .85rem; line-height: 1.6; }
.admin-shell .verification-confirm { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: #d5d5d9; font-size: 14px; font-weight: 400; line-height: 1.6; cursor: pointer; }
.verification-confirm input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: #ef3439; }
.admin-shell .verification-delete-word { display: block; margin: 0; color: #d5d5d9; font-size: 14px; font-weight: 400; line-height: 1.6; }
.admin-shell .verification-delete-word input[type="text"] { display: block; width: min(100%, 320px); min-height: 44px; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: #080808; color: #fff; font-size: 16px; }
.admin-shell .verification-delete-button { display: inline-flex; align-items: center; justify-content: center; width: auto; margin: 0; justify-self: start; min-height: 44px; padding: 12px 20px; border: 1px solid #d32a31; border-radius: 9px; background: #a71c23; color: #fff; font-size: 14px; font-weight: 650; cursor: pointer; }
.admin-shell .verification-delete-button:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 700px) { .verification-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .verification-photo img, .verification-photo-missing { height: 150px; } .admin-shell .verification-delete-button { width: 100%; } }

.admin-shell .verification-delete-button:hover:not(:disabled) { background: #c5252d; }

/* Explicit guest access to selected free AR demos. */
.admin-shell .guest-demo-settings { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin: 16px 0 24px; padding: 14px 18px; border: 1px solid var(--border-color, #303030); border-radius: 12px; background: rgba(255,255,255,.02); }
.guest-demo-control { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.guest-demo-control > p { margin: 0; color: var(--grey-color); font-size: 12px; line-height: 1.5; }
.admin-shell .guest-demo-checkbox { display: flex; align-items: center; gap: 9px; margin: 0; color: #ddd; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.admin-shell .guest-demo-checkbox input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: #ef3439; }
.admin-shell .guest-demo-settings button { width: auto; min-height: 34px; margin: 0; padding: 6px 16px; font-size: 12px; }
.admin-shell .guest-demo-checkbox:has(input:disabled) { color: var(--grey-color); cursor: not-allowed; }
.admin-shell .guest-demo-settings button:disabled { opacity: .45; cursor: not-allowed; }
.guest-demo-admin-notice { margin-bottom: 20px; padding: 16px 20px; border: 1px solid rgba(50,190,115,.3); border-radius: 12px; background: rgba(50,190,115,.07); color: #9cddb8; }
.guest-demo-admin-notice.is-error { border-color: rgba(242,32,38,.3); color: #f3b2b4; background: rgba(242,32,38,.07); }
.guest-demo-list-badge { margin-left: 6px; color: #9cddb8 !important; background: rgba(50,190,115,.1); }
