
      .nav__item[data-target='youtube-section'] {
        --nav-accent: var(--accent-2);
      }
      .nav__item[data-target='status-render-section'] {
        --nav-accent: var(--accent-2);
      }
      .nav__link {
        display: grid;
        grid-template-columns: 32px 1fr;
        align-items: center;
        gap: 8px;
        padding: 10px 10px;
        border-radius: 10px;
        color: var(--muted);
        text-decoration: none;
        transition: all 0.15s ease;
      }
      .nav__link:hover {
        background: rgba(15, 77, 47, 0.12);
        color: var(--text);
      }
      .nav__item.is-active .nav__link {
        background: transparent;
        color: var(--text);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: none;
      }
      .nav__item.is-active .nav__icon {
        color: #e7ece9;
        border-color: rgba(255, 255, 255, 0.18);
      }
      .nav__item {
        opacity: 0.6;
        transition: opacity 0.15s ease;
      }
      .nav__icon {
        color: #8bc6a7;
        background: rgba(13, 19, 16, 0.6);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 6px;
        min-width: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }
      .nav__icon svg {
        width: 18px;
        height: 18px;
        display: block;
      }
      .nav__label {
        white-space: nowrap;
      }
      /* Sidebar Tooltip & Badges */
      .sidebar--collapsed .nav__item {
        position: relative;
      }
      .sidebar--collapsed .nav__item::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%) translateX(10px);
        background: #1a1a1a;
        color: #ffffff;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
        z-index: 10000;
      }
      .sidebar--collapsed .nav__item:hover::after {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(16px);
        transition-delay: 0.4s;
      }
      .nav__label {
        white-space: nowrap;
      }
      .sidebar--collapsed {
        width: 64px;
        grid-template-columns: 64px 1fr;
      }
      .sidebar--collapsed .nav__label {
        display: none;
      }
      .sidebar--collapsed .sidebar__header-title {
        display: none;
      }
      .sidebar--collapsed {
        padding: 16px 8px;
      }
      .sidebar--collapsed .nav__link {
        justify-items: center;
        padding: 10px 6px;
      }
      .sidebar--collapsed .nav__icon {
        min-width: 32px;
      }
      .main {
        background:
          radial-gradient(circle at top left, rgba(15, 77, 47, 0.18), transparent 42%),
          radial-gradient(circle at top right, rgba(31, 107, 67, 0.12), transparent 45%),
          var(--bg);
        padding: 28px 32px;
        overflow: auto;
        position: relative;
        z-index: 1;
      }
      h1 {
        margin: 0 0 20px;
        color: var(--text);
      }
      h2 {
        margin: 0;
        color: var(--text);
      }
      .section {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
        overflow: visible;
      }
      .section__header {
        margin-bottom: 12px;
        color: var(--text);
      }
      .section__header--with-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .stack {
        display: grid;
        gap: 18px;
      }
      .summary {
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 18px;
        background: var(--surface);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
        position: relative;
        overflow: hidden;
      }
      .summary--activity {
        border-left: 3px solid var(--accent-2);
      }
      .summary--system {
        border-left: 3px solid var(--accent-2);
      }
      .summary--storage {
        border-left: 3px solid var(--accent-2);
      }
      .summary__title {
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--text);
      }
      .summary__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
      }
      .edit-panel {
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
      }
      .edit-panel__left {
        display: grid;
        gap: 18px;
      }
      @media (max-width: 1100px) {
        .edit-panel {
          grid-template-columns: 1fr;
        }
      }
      .edit-block {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px;
      }
      .edit-block.is-disabled {
        opacity: 0.45;
        filter: grayscale(0.2);
      }
      /* Enhanced Render Status Processing Row */
      .status-file--processing {
        border-color: rgba(99, 102, 241, 0.4);
        background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
        box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.2);
        position: relative;
        overflow: hidden;
      }
      .status-file--processing::after {
        content: '';
        position: absolute;
        top: 0; left: 0; bottom: 0;
        width: 4px;
        background: #6366f1;
        box-shadow: 0 0 8px #6366f1;
      }
      .edit-block.is-disabled .btn,
      .edit-block.is-disabled input,
      .edit-block.is-disabled .edit-table {
        pointer-events: none;
      }
      .edit-block__title {
        font-weight: 600;
        margin-bottom: 12px;
        color: #e2e8f0;
        display: flex;
        align-items: center;
      }
      .edit-mode {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }
      @media (max-width: 1200px) {
        .edit-mode {
          grid-template-columns: 1fr;
        }
      }
      .edit-mode__item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.85);
      }
      .edit-mode__item.is-selected {
        border-color: rgba(99, 102, 241, 0.8);
        box-shadow: inset 3px 0 0 #6366f1;
      }
      .edit-mode__label {
        font-weight: 600;
      }
      .edit-mode__desc {
        font-size: 12px;
        color: #94a3b8;
      }
      .edit-list {
        display: grid;
        gap: 10px;
      }
      .edit-list__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
      }
      .edit-list__header .edit-item__meta {
        font-size: 12px;
        color: #94a3b8;
      }
      .edit-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }
      .edit-actions .btn {
        padding: 6px 10px;
        font-size: 12px;
      }
      .edit-list__items {
        display: grid;
        gap: 8px;
      }
      #edit-section .table-wrap {
        max-height: 280px;
        overflow-y: auto;
        padding-right: 6px;
        scrollbar-width: thin;
        scrollbar-color: rgba(99, 102, 241, 0.6) rgba(15, 23, 42, 0.4);
      }
      #edit-section .table-wrap::-webkit-scrollbar {
        width: 8px;
      }
      #edit-section .table-wrap::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.4);
        border-radius: 999px;
      }
      #edit-section .table-wrap::-webkit-scrollbar-thumb {
        background: linear-gradient(
          180deg,
          rgba(99, 102, 241, 0.9),
          rgba(56, 189, 248, 0.9)
        );
        border-radius: 999px;
        border: 2px solid rgba(15, 23, 42, 0.4);
      }
      #edit-section .table-wrap::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(
          180deg,
          rgba(129, 140, 248, 0.95),
          rgba(56, 189, 248, 0.95)
        );
      }
      #edit-section .table {
        display: block;
        width: 100%;
      }
      #edit-section .table thead,
      #edit-section .table tbody {
        display: block;
        width: 100%;
      }
      #edit-section .table thead tr {
        display: grid;
        grid-template-columns: 55% 22.5% 22.5%;
        gap: 8px;
        padding: 10px 12px;
      }
      #edit-section .table th,
      #edit-section .table td {
        width: auto;
      }
      #edit-section .table th:nth-child(2),
      #edit-section .table td:nth-child(2),
      #edit-section .table th:nth-child(3),
      #edit-section .table td:nth-child(3) {
        text-align: center;
      }
      .edit-table {
        display: grid;
        gap: 6px;
        max-height: 220px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 6px;
        scrollbar-width: thin;
        scrollbar-color: rgba(99, 102, 241, 0.6) rgba(15, 23, 42, 0.4);
      }
      .edit-table::-webkit-scrollbar {
        width: 8px;
      }
      .edit-table::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.4);
        border-radius: 999px;
      }
      .edit-table::-webkit-scrollbar-thumb {
        background: linear-gradient(
          180deg,
          rgba(99, 102, 241, 0.9),
          rgba(56, 189, 248, 0.9)
        );
        border-radius: 999px;
        border: 2px solid rgba(15, 23, 42, 0.4);
      }
      .edit-table::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(
          180deg,
          rgba(129, 140, 248, 0.95),
          rgba(56, 189, 248, 0.95)
        );
      }
      .edit-row {
        display: grid;
        grid-template-columns: 55% 22.5% 22.5%;
        gap: 8px;
        align-items: center;
        padding: 8px 10px;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.12);
        background: rgba(15, 23, 42, 0.7);
        font-size: 13px;
        width: 100%;
      }
      .edit-row--empty {
        opacity: 0.35;
      }
      .edit-row--empty div {
        height: 12px;
      }
      .edit-row--head {
        background: rgba(30, 41, 59, 1);
        border: 1px solid rgba(255, 255, 255, 0.08);
        text-transform: uppercase;
        letter-spacing: 0.6px;
        font-size: 11px;
        font-weight: 700;
        color: #f8fafc;
        border-radius: 10px;
      }
      .edit-row--head th {
        color: inherit;
        font-weight: inherit;
      }
      .edit-cell--muted {
        color: #94a3b8;
      }
      .edit-upload {
        border: 1px dashed rgba(148, 163, 184, 0.25);
        border-radius: 12px;
        padding: 12px 14px;
        background: rgba(12, 18, 32, 0.75);
        display: grid;
        gap: 8px;
      }
      .edit-upload__title {
        font-weight: 600;
        color: #e2e8f0;
      }
      .edit-upload__hint {
        font-size: 12px;
        color: #94a3b8;
      }
      .edit-empty {
        font-size: 12px;
        color: #94a3b8;
        padding: 6px 2px;
      }
      .edit-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.12);
        background: rgba(15, 23, 42, 0.7);
        font-size: 13px;
      }
      .edit-item__meta {
        color: #94a3b8;
        font-size: 12px;
      }
      .edit-form {
        display: grid;
        gap: 12px;
      }
      .edit-field {
        display: grid;
        gap: 6px;
        font-size: 12px;
        color: #94a3b8;
      }
      .edit-input {
        width: 100%;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.8);
        color: #e2e8f0;
        padding: 10px 12px;
        font-size: 13px;
      }
      .edit-options {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }
      .edit-status {
        display: grid;
        gap: 12px;
        font-size: 13px;
        color: #e2e8f0;
      }
      .edit-status__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.12);
        background: rgba(15, 23, 42, 0.7);
      }
      .status-columns {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
      }
      @media (max-width: 900px) {
        .status-columns {
          grid-template-columns: 1fr;
        }
      }
      .status-column {
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 12px;
        background: var(--panel);
        display: grid;
        gap: 8px;
        align-content: start;
      }
      .status-column__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
      }
      .status-column__title {
        font-weight: 600;
        font-size: 13px;
        display: flex;
        align-items: center;
      }
      .status-action {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(12, 18, 32, 0.8);
        color: #e2e8f0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      .status-action svg {
        width: 14px;
        height: 14px;
      }
      .status-column__hint {
        font-size: 11px;
        color: #94a3b8;
      }
      .status-column__list {
        display: grid;
        gap: 6px;
        max-height: 156px;
        overflow-y: auto;
        padding-right: 6px;
        scrollbar-width: thin;
        scrollbar-color: rgba(99, 102, 241, 0.6) rgba(15, 23, 42, 0.4);
      }
      .status-column__list.is-scrollable {
        overflow-y: scroll;
      }
      .status-column__list::-webkit-scrollbar {
        width: 8px;
      }
      .status-column__list::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.4);
        border-radius: 999px;
      }
      .status-column__list::-webkit-scrollbar-thumb {
        background: linear-gradient(
          180deg,
          rgba(99, 102, 241, 0.9),
          rgba(56, 189, 248, 0.9)
        );
        border-radius: 999px;
        border: 2px solid rgba(15, 23, 42, 0.4);
      }
      .status-column__list::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(
          180deg,
          rgba(129, 140, 248, 0.95),
          rgba(56, 189, 248, 0.95)
        );
      }
      .status-column__list--no-scroll {
        max-height: none;
        overflow: visible;
        padding-right: 0;
      }
      .status-file {
        padding: 6px 8px;
        border-radius: 8px;
        border: 1px solid var(--border);
        background: var(--surface);
        font-size: 12px;
        display: grid;
        gap: 6px;
      }
      .status-file--result {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
      }
      .status-file--result .badge {
        font-size: 10px;
        padding: 3px 8px;
      }
      .status-progress {
        height: 6px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.6);
        overflow: hidden;
        border: 1px solid rgba(148, 163, 184, 0.2);
      }
      .status-progress__fill {
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(
          90deg,
          rgba(59, 130, 246, 0.9),
          rgba(99, 102, 241, 0.95)
        );
      }
      .edit-queue {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }
      .edit-divider {
        height: 1px;
        background: rgba(148, 163, 184, 0.16);
        margin: 10px 0 0;
      }

      /* ============================================
         NEW EDIT SECTION STYLES - Minimalist Modern
         ============================================ */
      
      /* Section Wrapper */
      .section--edit {
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
        max-width: 1600px;
        margin: 0 auto;
      }

      /* Edit Header */
      .edit-header {
        margin-bottom: 8px;
        margin-top: 12px;
        padding-left: 20px;
        padding-bottom: 4px;
      }
      .edit-header__content {
        display: flex;
        flex-direction: column;
        gap: 0; /* No gap for tight spacing */
      }
      .edit-header__title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 22px;
        font-weight: 700;
        color: var(--text);
        margin: 0;
        line-height: 1.5;
      }
      .edit-header__subtitle {
        font-size: 13px;
        color: var(--muted);
        margin: -2px 0 0 0;
        padding-bottom: 6px;
        line-height: 1.5;
      }

      /* Edit Grid Layout */
      .edit-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 24px;
        align-items: start;
      }
      @media (max-width: 1200px) {
        .edit-grid {
          grid-template-columns: 1fr;
        }
      }

      /* Edit Columns */
      .edit-column {
        display: flex;
        flex-direction: column;
        gap: 16px;
      }
      .edit-column--sidebar .edit-card--sticky {
        position: sticky;
        top: 20px;
      }

      /* Edit Card */
      .edit-card {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .edit-card:hover {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
      }
      .edit-card__header {
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: rgba(18, 20, 24, 0.5);
      }
      .edit-card__title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
        margin: 0;
      }
      .edit-card__title i {
        width: 18px;
        height: 18px;
        color: var(--accent);
      }
      .edit-card__actions {
        display: flex;
        gap: 6px;
      }
      .edit-card__body {
        padding: 20px;
      }

      /* Mode Selector */
      .mode-selector {
        display: grid;
        gap: 12px;
      }
      .mode-option {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
      }
      .mode-option:hover {
        background: rgba(24, 28, 36, 0.9);
        border-color: rgba(0, 195, 122, 0.3);
        transform: translateX(2px);
      }
      .mode-option--active {
        background: linear-gradient(135deg, rgba(0, 195, 122, 0.12), rgba(0, 224, 146, 0.08));
        border-color: rgba(0, 195, 122, 0.5);
        box-shadow: 0 0 0 1px rgba(0, 195, 122, 0.1) inset;
      }
      .mode-option__icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 10px;
        color: var(--muted);
        flex-shrink: 0;
      }
      .mode-option--active .mode-option__icon {
        background: rgba(0, 195, 122, 0.15);
        border-color: rgba(0, 195, 122, 0.4);
        color: var(--accent-2);
      }
      .mode-option__icon i {
        width: 20px;
        height: 20px;
      }
      .mode-option__content {
        flex: 1;
      }
      .mode-option__label {
        font-weight: 600;
        font-size: 14px;
        color: var(--text);
        margin-bottom: 4px;
      }
      .mode-option__desc {
        font-size: 12px;
        color: var(--muted);
      }
      .mode-option__check {
        width: 20px;
        height: 20px;
        color: var(--muted);
        flex-shrink: 0;
      }
      .mode-option--active .mode-option__check {
        color: var(--accent);
      }
      .mode-option__check i {
        width: 20px;
        height: 20px;
      }

      /* File List */
      .file-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
      .file-list__controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 12px;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 10px;
      }
      .file-list__count {
        font-size: 12px;
        font-weight: 600;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
      .file-list__actions {
        display: flex;
        gap: 4px;
      }
      .file-list__items {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: 300px; /* Adjusted to match Output Settings card height */
        overflow-y: auto;
        padding-right: 4px;
      }
      .file-list__items::-webkit-scrollbar {
        width: 6px;
      }
      .file-list__items::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.3);
        border-radius: 10px;
      }
      .file-list__items::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(0, 195, 122, 0.6), rgba(0, 224, 146, 0.6));
        border-radius: 10px;
      }

      /* Source Tabs */
      .source-tabs {
        display: flex;
        gap: 8px;
        margin-bottom: 16px;
        padding: 4px;
        background: var(--surface-2);
        border-radius: 10px;
        border: 1px solid var(--border);
      }
      .source-tab {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 16px;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 8px;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 13px;
        font-weight: 500;
      }
      .source-tab:hover {
        background: rgba(24, 28, 36, 0.5);
        color: var(--text);
      }
      .source-tab--active {
        background: var(--panel);
        border-color: rgba(0, 195, 122, 0.3);
        color: var(--accent);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      }
      .source-tab i {
        width: 16px;
        height: 16px;
      }

      /* Source Content */
      .source-content {
        display: none;
      }
      .source-content--active {
        display: block;
      }


      /* File Item */
      .file-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 10px;
        transition: all 0.2s ease;
      }
      .file-item:hover {
        background: rgba(24, 28, 36, 0.9);
        border-color: rgba(148, 163, 184, 0.2);
        transform: translateX(2px);
      }
      .file-item__icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--accent);
        flex-shrink: 0;
      }
      .file-item__icon i {
        width: 18px;
        height: 18px;
      }
      .file-item__info {
        flex: 1;
        min-width: 0;
      }
      .file-item__name {
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .file-item__meta {
        font-size: 11px;
        color: var(--muted);
      }
      .file-item__remove {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 6px;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
      }
      .file-item__remove:hover {
        background: rgba(239, 68, 68, 0.1);
        border-color: rgba(239, 68, 68, 0.3);
        color: #ef4444;
      }
      .file-item__remove i {
        width: 16px;
        height: 16px;
      }

      /* Button Styles */
      .btn-icon {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .btn-icon:hover {
        background: rgba(0, 195, 122, 0.1);
        border-color: rgba(0, 195, 122, 0.3);
        color: var(--accent);
        transform: translateY(-1px);
      }
      .btn-icon i {
        width: 16px;
        height: 16px;
      }

      .btn-sm {
        padding: 6px 8px;
        font-size: 12px;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 6px;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }
      .btn-sm:hover {
        background: rgba(0, 195, 122, 0.08);
        border-color: rgba(0, 195, 122, 0.25);
        color: var(--accent);
      }
      .btn-sm i {
        width: 14px;
        height: 14px;
      }

      /* Settings Form */
      .settings-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }
      .form-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .form-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 600;
        color: var(--text);
      }
      .form-label i {
        width: 16px;
        height: 16px;
        color: var(--accent);
      }
      .form-input {
        width: 100%;
        padding: 12px 14px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 10px;
        color: var(--text);
        font-size: 13px;
        font-family: inherit;
        transition: all 0.2s ease;
      }
      .form-input:focus {
        outline: none;
        background: rgba(24, 28, 36, 0.9);
        border-color: rgba(0, 195, 122, 0.5);
        box-shadow: 0 0 0 3px rgba(0, 195, 122, 0.1);
      }
      .form-input::placeholder {
        color: var(--muted);
        opacity: 0.6;
      }
      .form-hint {
        font-size: 11px;
        color: var(--muted);
        margin-top: -4px;
      }

      /* Resolution Grid */
      .resolution-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
      .resolution-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 14px 12px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .resolution-btn:hover {
        background: rgba(24, 28, 36, 0.9);
        border-color: rgba(0, 195, 122, 0.3);
        transform: translateY(-2px);
      }
      .resolution-btn--active {
        background: linear-gradient(135deg, rgba(0, 195, 122, 0.12), rgba(0, 224, 146, 0.08));
        border-color: rgba(0, 195, 122, 0.5);
        box-shadow: 0 0 0 1px rgba(0, 195, 122, 0.1) inset;
      }
      .resolution-btn__label {
        font-size: 16px;
        font-weight: 700;
        color: var(--text);
      }
      .resolution-btn__desc {
        font-size: 11px;
        color: var(--muted);
      }

      /* Output Summary */
      .output-summary {
        display: grid;
        gap: 10px;
        padding: 16px;
        background: linear-gradient(135deg, rgba(0, 195, 122, 0.05), rgba(0, 224, 146, 0.03));
        border: 1px solid rgba(0, 195, 122, 0.15);
        border-radius: 12px;
      }
      .output-summary__item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
      }
      .output-summary__label {
        font-size: 12px;
        color: var(--muted);
        font-weight: 500;
      }
      .output-summary__value {
        font-size: 15px;
        font-weight: 700;
        color: var(--accent-2);
      }

      /* Primary Button */
      .btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        border: none;
        border-radius: 10px;
        color: #0b0d10;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(0, 195, 122, 0.25);
        position: relative;
        overflow: hidden;
      }
      .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 195, 122, 0.35);
      }
      .btn-primary:hover::before {
        opacity: 1;
      }
      .btn-primary:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 195, 122, 0.2);
      }
      .btn-primary i {
        width: 18px;
        height: 18px;
      }
      .btn-primary--large {
        padding: 16px 24px;
        font-size: 15px;
      }

      /* Disabled State for Music Source */
      .edit-card.is-disabled {
        opacity: 0.5;
        pointer-events: none;
        filter: grayscale(0.3);
      }

      /* ============================================
         STATUS RENDER SECTION - Modern Redesign
         ============================================ */
      
      /* Render Header */
      .render-header {
        margin-bottom: 20px;
        margin-top: 12px;
        padding-left: 20px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
      }
      .render-header__content {
        display: flex;
        flex-direction: column;
        gap: 0;
      }
      .render-header__title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 22px;
        font-weight: 700;
        color: var(--text);
        margin: 0;
        line-height: 1.5;
      }
      .render-header__subtitle {
        font-size: 13px;
        color: var(--muted);
        margin: -2px 0 0 0;
        padding-bottom: 6px;
        line-height: 1.5;
      }
      .render-header__controls {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }

      /* Render Grid - 2 Column Layout */
      .render-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 0 20px 20px;
        align-items: stretch; /* Equal height columns */
      }
      @media (max-width: 1000px) {
        .render-grid {
          grid-template-columns: 1fr;
        }
      }

      /* Render Card - Glassmorphism Style */
      .render-card {
        background: rgba(18, 20, 24, 0.7);
        backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        height: 100%; /* Full height of grid cell */
      }
      .render-card:hover {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
        border-color: rgba(148, 163, 184, 0.2);
      }
      .render-card__header {
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: rgba(18, 20, 24, 0.5);
      }
      .render-card__title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
        margin: 0;
      }
      .render-card__title i {
        width: 18px;
        height: 18px;
        color: var(--accent);
      }
      .render-card__badge {
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(0, 195, 122, 0.15), rgba(0, 224, 146, 0.1));
        color: var(--accent);
        border: 1px solid rgba(0, 195, 122, 0.3);
      }
      .render-card__actions {
        display: flex;
        gap: 6px;
      }
      .render-card__body {
        padding: 16px 20px;
        max-height: 320px;
        overflow-y: auto;
        flex: 1; /* Fill remaining space for equal heights */
      }
      .render-card__body::-webkit-scrollbar {
        width: 6px;
      }
      .render-card__body::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.3);
        border-radius: 10px;
      }
      .render-card__body::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(0, 195, 122, 0.6), rgba(0, 224, 146, 0.6));
        border-radius: 10px;
      }

      /* Render File Item */
      .render-file {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 10px;
        margin-bottom: 8px;
        transition: all 0.2s ease;
      }
      .render-file:last-child {
        margin-bottom: 0;
      }
      .render-file:hover {
        background: rgba(24, 28, 36, 0.9);
        border-color: rgba(148, 163, 184, 0.2);
        transform: translateX(2px);
      }
      .render-file__icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--accent);
        flex-shrink: 0;
      }
      .render-file__icon i {
        width: 18px;
        height: 18px;
      }
      .render-file__info {
        flex: 1;
        min-width: 0;
      }
      .render-file__name {
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .render-file__meta {
        font-size: 11px;
        color: var(--muted);
        margin-top: 2px;
      }

      /* Modern Progress Bar */
      .render-progress {
        flex: 1;
        min-width: 0;
      }
      .render-progress__bar {
        height: 8px;
        background: rgba(15, 23, 42, 0.5);
        border-radius: 999px;
        overflow: hidden;
        position: relative;
      }
      .render-progress__fill {
        height: 100%;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
        border-radius: 999px;
        transition: width 0.3s ease;
        position: relative;
      }
      .render-progress__fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
      }
      @keyframes shimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
      }
      .render-progress__text {
        font-size: 11px;
        font-weight: 600;
        color: var(--accent);
        margin-top: 6px;
        text-align: right;
      }

      /* Modern Badges */
      .render-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
        text-transform: capitalize;
        flex-shrink: 0;
      }
      .render-badge i {
        width: 12px;
        height: 12px;
      }
      .render-badge--success {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(74, 222, 128, 0.1));
        color: #4ade80;
        border: 1px solid rgba(34, 197, 94, 0.3);
      }
      .render-badge--failed {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(248, 113, 113, 0.1));
        color: #f87171;
        border: 1px solid rgba(239, 68, 68, 0.3);
      }
      .render-badge--cancelled {
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(252, 211, 77, 0.1));
        color: #fcd34d;
        border: 1px solid rgba(251, 191, 36, 0.3);
      }
      .render-badge--queue {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(129, 140, 248, 0.1));
        color: #818cf8;
        border: 1px solid rgba(99, 102, 241, 0.3);
      }

      /* Active Render Card Highlight */
      .render-card--active {
        border-color: rgba(0, 195, 122, 0.4);
        box-shadow: 0 4px 20px rgba(0, 195, 122, 0.15);
      }
      .render-card--active .render-card__header {
        background: linear-gradient(135deg, rgba(0, 195, 122, 0.08), rgba(0, 224, 146, 0.04));
      }

      /* Empty State */
      .render-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        text-align: center;
        color: var(--muted);
      }
      .render-empty__icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
        opacity: 0.5;
      }
      .render-empty__text {
        font-size: 13px;
      }

      /* Control Buttons Styling */
      .render-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 14px;
        border: 1px solid var(--border);
        background: var(--surface-2);
        border-radius: 8px;
        font-size: 12px;
        font-weight: 500;
        color: var(--text);
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .render-btn:hover {
        background: rgba(24, 28, 36, 0.9);
        border-color: rgba(148, 163, 184, 0.3);
        transform: translateY(-1px);
      }
      .render-btn i {
        width: 14px;
        height: 14px;
      }
      .render-btn--primary {
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        border-color: transparent;
        color: #0b0d10;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0, 195, 122, 0.2);
      }
      .render-btn--primary:hover {
        box-shadow: 0 4px 12px rgba(0, 195, 122, 0.3);
      }
      .render-btn--danger {
        color: #f87171;
        border-color: rgba(239, 68, 68, 0.3);
      }
      .render-btn--danger:hover {
        background: rgba(239, 68, 68, 0.1);
        border-color: rgba(239, 68, 68, 0.5);
      }
      


      .summary__item {
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 12px;
        padding: 12px 14px;
        background: rgba(16, 24, 40, 0.9);
        display: grid;
        gap: 8px;
      }
      .summary__label {
        font-size: 12px;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
      .summary__value {
        font-size: 22px;
        font-weight: 700;
        color: #f8fafc;
      }
      .summary__bar {
        height: 6px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.4);
        overflow: hidden;
      }
      .summary__bar-fill {
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
      }
      .btn {
        border: 1px solid var(--border);
        background: var(--surface-2);
        border-radius: 8px;
        padding: 6px 12px;
        font-size: 13px;
        cursor: pointer;
        color: var(--text);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
      }
      .btn::after {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        width: 100%; height: 100%;
        background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        transition: transform 0.4s, opacity 0.3s;
      }
      .btn:active::after {
        transform: translate(-50%, -50%) scale(2);
        opacity: 1;
        transition: 0s;
      }
      .btn .btn__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 6px;
        color: inherit;
      }
      .btn .btn__icon svg {
        width: 14px;
        height: 14px;
        display: block;
      }
      .title-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
        color: #94a3b8;
      }
      .title-icon svg {
        width: 14px;
        height: 14px;
        display: block;
      }
      .btn:hover {
        background: rgba(15, 77, 47, 0.18);
        border-color: rgba(15, 77, 47, 0.45);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 195, 122, 0.12);
      }
      .btn:active {
        transform: translateY(1px) scale(0.97);
        box-shadow: none;
      }
      .btn--ghost {
        background: transparent;
        border: 1px solid var(--border);
      }
      .btn--ghost.is-active {
        background: var(--accent-soft);
        border-color: rgba(15, 77, 47, 0.45);
        color: var(--text);
      }
      .asset-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 16px;
        overflow: visible;
      }
      .asset-tabs {
        display: inline-flex;
        gap: 8px;
        padding: 4px;
        border-radius: 10px;
        background: var(--surface-2);
        border: 1px solid var(--border);
      }
      .view-toggle {
        display: inline-flex;
        gap: 8px;
        padding: 4px;
        border-radius: 10px;
        background: var(--surface-2);
        border: 1px solid var(--border);
        overflow: visible;
      }
      .asset-tabs .btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 10px;
      }
      /* Default relative positioning for underline targets */
      .asset-tabs .btn,
      .gdrive-button,
      .device-button,
      .folder-button,
      .delete-all-button,
      .status-action {
        position: relative;
      }

      /* Clean up old border attempts */
      .asset-tabs .btn.is-active,
      .gdrive-button.is-active,
      .device-button.is-active,
      .folder-button.is-active,
      .delete-all-button.is-active,
      .status-action.is-active {
        background: transparent;
        border-color: transparent;
        border-bottom: none;
        box-shadow: none;
        color: inherit;
      }

      .asset-tabs .btn.is-active {
        color: var(--accent);
      }

      /* The Underline Pseudo-element (Using ::before to avoid ::after ripple conflict) */
      .asset-tabs .btn::before,
      .gdrive-button::before,
      .device-button::before,
      .folder-button::before,
      .delete-all-button::before,
      .status-action::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        transform: scaleX(0);
        transition: transform 0.2s ease;
        transform-origin: center;
        opacity: 0;
        z-index: 10;
        pointer-events: none;
      }

      /* Green Underline for Tabs */
      .asset-tabs .btn.is-active::before {
        background: var(--accent);
        transform: scaleX(1);
        opacity: 1;
      }

      /* Gray Underline for Actions */
      .gdrive-button:hover::before,
      .gdrive-button:active::before,
      .gdrive-button.is-active::before,
      .device-button:hover::before,
      .device-button:active::before,
      .device-button.is-active::before,
      .folder-button:hover::before,
      .folder-button:active::before,
      .folder-button.is-active::before,
      .delete-all-button:hover::before,
      .delete-all-button:active::before,
      .delete-all-button.is-active::before,
      .status-action:hover::before,
      .status-action:active::before,
      .status-action.is-active::before {
        background: #94a3b8;
        transform: scaleX(1);
        opacity: 1;
      }
      .asset-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .asset-panel {
        display: none;
      }
      .asset-panel.is-active {
        display: block;
      }
      .asset-view {
        width: 100%;
      }
      .asset-list {
        min-width: 0;
      }
      .table-wrap {
        border: none;
        border-radius: 16px;
        overflow: auto;
        background: transparent;
      }
      .table {
        width: 100%;
        min-width: 720px;
        border-collapse: collapse;
        font-size: 13px;
        background: transparent;
      }
      .table th,
      .table td {
        text-align: left;
        padding: 10px 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        color: #d7dee3;
      }
      .table th {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #9aa5ad;
      }
      .preview-button {
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 0.4px;
      }
      .asset-row {
        cursor: pointer;
        transition: background 0.15s ease;
        user-select: none;
      }
      .asset-row:hover {
        background: rgba(255, 255, 255, 0.03);
      }
      .asset-row.is-selected {
        background: rgba(24, 177, 99, 0.15);
      }

      .asset-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 12px;
      }
      .asset-detail {
        display: grid;
        gap: 12px;
      }
      .asset-detail-card {
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 14px;
        padding: 16px;
        background: rgba(12, 18, 32, 0.85);
        display: grid;
        grid-template-columns: 52px 1fr auto;
        gap: 14px;
        cursor: pointer;
        transition:
          border-color 0.15s ease,
          background 0.15s ease;
        user-select: none;
      }
      .asset-detail-card.is-selected {
        border-color: rgba(99, 102, 241, 0.5);
        background: rgba(14, 21, 36, 0.92);
      }
      .asset-detail-card .file-icon {
        width: 32px;
        height: 32px;
      }
      .asset-detail-actions {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        align-self: start;
      }
      .asset-detail-actions .icon-button {
        opacity: 0.55;
        border-color: rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.55);
      }
      .asset-detail-card:hover .asset-detail-actions .icon-button {
        opacity: 1;
      }
      .asset-detail-title {
        font-weight: 600;
        color: #f8fafc;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        font-size: 15px;
      }
      .asset-detail-meta {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px 16px;
        font-size: 14px;
        color: #cbd5e1;
      }
      .asset-detail-meta .meta-label {
        font-size: 11px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #94a3b8;
        margin-bottom: 3px;
      }
      .asset-detail-meta div > div:last-child {
        font-weight: 600;
        color: #f8fafc;
        font-size: 14px;
      }
      .asset-detail-card .file-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(148, 163, 184, 0.16);
        color: #cbd5e1;
      }
      .asset-card {
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 14px;
        padding: 16px;
        background: rgba(10, 16, 28, 0.86);
        display: grid;
        gap: 10px;
        cursor: pointer;
        transition:
          transform 0.15s ease,
          border-color 0.15s ease,
          box-shadow 0.15s ease;
        user-select: none;
      }
      .asset-card__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
      }
      .asset-card__header .asset-name {
        flex: 1;
        min-width: 0;
        line-height: 1.3;
        display: flex;
        align-items: center;
      }
      .asset-card__actions {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        position: relative;
        z-index: 3;
      }
      .asset-card__actions .icon-button,
      .table-actions .icon-button {
        width: 30px;
        height: 30px;
        border-radius: 9px;
      }
      .asset-card__meta {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        font-size: 12px;
        color: #cbd5e1;
      }
      .asset-card__meta-item {
        display: grid;
        gap: 2px;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.55);
        border: 1px solid rgba(148, 163, 184, 0.14);
      }
      .asset-card__meta-item > div:last-child {
        font-weight: 600;
        color: #f8fafc;
      }
      .meta-label {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: #64748b;
      }
      .asset-view[data-view='grid'] .meta-label {
        display: none;
      }
      .asset-view[data-view='grid'] .asset-card__meta-item:nth-child(3) {
        display: none;
      }
      /* Show all 2 items for folders in grid view */
      .asset-view[data-view='grid'] .asset-card[data-type="folder"] .asset-card__meta-item {
        display: flex;
      }
      .asset-view[data-view='grid'] .asset-card {
        padding: 0;
        overflow: visible;
        border-radius: 18px;
        background: rgba(12, 18, 32, 0.85);
        border-color: rgba(148, 163, 184, 0.14);
        display: flex;
        flex-direction: column;
        gap: 0;
        position: relative;
      }
      .asset-view[data-view='grid'] .asset-card__header {
        order: 2;
        padding: 12px 16px 10px;
        border-top: 1px solid rgba(148, 163, 184, 0.1);
        background: transparent;
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
      }
      .asset-view[data-view='grid'] .asset-card__badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
      }
      .asset-view[data-view='grid'] .asset-card__header .asset-name {
        font-size: 14px;
        font-weight: 600;
        color: #f8fafc;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        display: block;
        max-width: 100%;
        text-overflow: ellipsis;
      }
      
      /* Marquee animation for long filenames */
      @keyframes marquee-scroll {
        0%, 10% {
          transform: translateX(0%);
        }
        90%, 100% {
          transform: translateX(-50%);
        }
      }
      
      .asset-view[data-view='grid'] .asset-card:hover .asset-card__header .asset-name {
        text-overflow: clip;
      }
      
      /* Create scrolling effect with pseudo-element */
      .asset-view[data-view='grid'] .asset-card:hover .asset-card__header .asset-name::before {
        content: attr(data-full-text) ' • ' attr(data-full-text);
        position: absolute;
        left: 0;
        top: 0;
        white-space: nowrap;
        animation: marquee-scroll 10s linear infinite;
        animation-delay: 0.5s;
      }
      
      .asset-view[data-view='grid'] .asset-card:hover .asset-card__header .asset-name {
        color: transparent;
      }
      
      .asset-view[data-view='grid'] .asset-card:hover .asset-card__header .asset-name::before {
        color: #f8fafc;
      }
      .asset-view[data-view='grid'] .asset-thumb {
        order: 1;
        border: none;
        border-radius: 0;
        height: 110px;
        background: rgba(10, 16, 28, 0.7);
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        position: relative;
      }
      .asset-view[data-view='grid'] .asset-thumb::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(8, 12, 24, 0.4);
        opacity: 0;
        transition: opacity 0.15s ease;
        z-index: 1;
      }
      .asset-view[data-view='grid'] .asset-thumb::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(
          rgba(148, 163, 184, 0.06) 1px,
          transparent 1px
        );
        background-size: 18px 18px;
        opacity: 0.25;
        pointer-events: none;
      }
      .asset-view[data-view='grid'] .asset-card:hover .asset-thumb::before {
        opacity: 1;
      }
      .asset-view[data-view='grid'] .asset-thumb .file-icon {
        width: 48px;
        height: 48px;
        color: rgba(148, 163, 184, 0.65);
      }
      .asset-view[data-view='grid'] .asset-thumb .file-icon::before {
        width: 32px;
        height: 32px;
        filter: none;
      }
      .asset-view[data-view='grid'] .file-type {
        font-size: 11px;
        letter-spacing: 0.5px;
      }
      .asset-view[data-view='grid'] .asset-card:hover .asset-thumb .file-icon,
      .asset-view[data-view='grid'] .asset-card:hover .asset-thumb .file-type {
        opacity: 0.25;
        filter: blur(1px);
      }
      .asset-view[data-view='grid'] .asset-thumb .icon-button--preview {
        position: absolute;
        inset: 0;
        margin: auto;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        border: 1px solid rgba(148, 163, 184, 0.35);
        background: rgba(12, 18, 32, 0.85);
        color: #e2e8f0;
        opacity: 0;
        transform: scale(0.92);
        transition:
          opacity 0.15s ease,
          transform 0.15s ease;
        z-index: 2;
      }
      .asset-view[data-view='grid']
        .asset-card:hover
        .asset-thumb
        .icon-button--preview {
        opacity: 1;
        transform: scale(1);
      }
      .asset-view[data-view='grid'] .asset-thumb .icon-button--preview:hover {
        background: rgba(12, 18, 32, 1);
        border-color: var(--accent);
        color: var(--accent);
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
      }
      .asset-view[data-view='grid'] .asset-card__meta {
        order: 3;
        padding: 8px 16px 6px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .asset-view[data-view='grid'] .asset-card__meta-item {
        padding: 6px 8px;
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.35);
        border: 1px solid rgba(148, 163, 184, 0.1);
        font-weight: 600;
        color: #f8fafc;
      }
      .asset-view[data-view='grid'] .asset-card__footer {
        order: 4;
        padding: 6px 16px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .asset-view[data-view='grid'] .asset-card__footer .badge {
        display: none;
      }
      .asset-card__footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
      }
      .asset-card:hover {
        transform: translateY(-2px);
        border-color: rgba(99, 102, 241, 0.5);
        box-shadow: 0 16px 32px rgba(2, 6, 23, 0.45);
      }
      .asset-card.is-selected {
        border-color: rgba(56, 189, 248, 0.9);
      }
      .asset-thumb {
        height: 112px;
        border-radius: 12px;
        background: linear-gradient(
          180deg,
          rgba(12, 18, 32, 0.85),
          rgba(8, 12, 24, 0.9)
        );
        border: 1px solid rgba(148, 163, 184, 0.18);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 2px;
        padding: 12px;
        color: #cbd5e1;
      }
      .file-icon {
        width: 36px;
        height: 36px;
        border-radius: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #e2e8f0;
        box-shadow: none;
        position: relative;
      }
      .file-icon svg {
        width: 20px;
        height: 20px;
        display: block;
        filter: drop-shadow(0 2px 4px rgba(2, 6, 23, 0.6));
      }
      .asset-panel {
        --file-icon-mask: none;
      }
      .asset-panel[data-asset-panel='video'] {
        --file-icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 7l8 5-8 5V7z'/></svg>");
      }
      .asset-panel[data-asset-panel='mp3'] {
        --file-icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 4v10.2a3.2 3.2 0 1 0 2 3V8.5l6-1.6V15a3.2 3.2 0 1 0 2 3V4.8L12 7z'/></svg>");
      }
      .asset-panel[data-asset-panel='thumbnail'] {
        --file-icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><rect x='4' y='6' width='16' height='12' rx='2'/><circle cx='8.5' cy='10' r='1.5'/><path d='M5 16l4-4 3 3 3-3 4 4H5z'/></svg>");
      }
      .asset-panel .file-icon svg {
        display: none;
      }
      .asset-panel .file-icon::before {
        content: '';
        width: 26px;
        height: 26px;
        display: block;
        -webkit-mask: var(--file-icon-mask) no-repeat center / contain;
        mask: var(--file-icon-mask) no-repeat center / contain;
        background: currentColor;
        filter: drop-shadow(0 2px 4px rgba(2, 6, 23, 0.6));
      }
      .asset-panel[data-asset-panel='video'] .file-icon {
        color: #7dd3fc;
      }
      .asset-panel[data-asset-panel='mp3'] .file-icon {
        color: #86efac;
      }
      .asset-panel[data-asset-panel='thumbnail'] .file-icon {
        color: #fcd34d;
      }
      .asset-view[data-view='grid'] .file-icon::before {
        content: none;
      }
      .asset-view[data-view='grid'] .file-icon {
        width: 40px;
        height: 40px;
        background: transparent;
        background-image: var(--grid-file-icon);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 30px 30px;
      }
      .asset-view[data-view='grid'] .file-icon svg {
        display: none;
      }
      .asset-panel[data-asset-panel='render'] {
        --grid-file-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='6' width='16' height='12' rx='2'/><path d='M8 10h8'/><path d='M8 14h6'/></svg>");
      }
      .asset-panel[data-asset-panel='video'] {
        --grid-file-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='6' width='14' height='12' rx='2'/><path d='M17 10l4-2v8l-4-2z'/></svg>");
      }
      .asset-panel[data-asset-panel='mp3'] {
        --grid-file-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v10.2a3 3 0 1 0 2 3V8.5l6-1.6V16a3 3 0 1 0 2 3V5.8L12 8z'/></svg>");
      }
      .asset-panel[data-asset-panel='thumbnail'] {
        --grid-file-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='6' width='16' height='12' rx='2'/><circle cx='9' cy='10' r='1.5'/><path d='M5 16l4-4 3 3 3-3 4 4'/></svg>");
      }
      .file-type {
        font-size: 12px;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        line-height: 1.1;
        color: #94a3b8;
      }
      .badge {
        display: inline-flex;
        align-items: center;
        padding: 2px 8px;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: transparent;
        gap: 6px;
      }
      .badge::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 999px;
        background: currentColor;
        opacity: 0.6;
      }
      .badge--ready {
        color: #6ee7b7;
        border-color: rgba(110, 231, 183, 0.35);
        background: transparent;
      }
      .badge--success {
        color: #6ee7b7;
        border-color: rgba(110, 231, 183, 0.35);
        background: transparent;
      }
      .badge--uploaded {
        color: #93c5fd;
        border-color: rgba(147, 197, 253, 0.35);
        background: transparent;
      }
      .badge--failed {
        color: #fca5a5;
        border-color: rgba(252, 165, 165, 0.35);
        background: transparent;
      }
      .badge--cancelled,
      .badge--canceled {
        color: #fcd34d;
        border-color: rgba(252, 211, 77, 0.35);
        background: transparent;
      }
      .asset-name {
        font-weight: 600;
        color: #f8fafc;
      }
      .muted {
        color: #94a3b8;
      }
      .preview-pill {
        border: 1px solid rgba(148, 163, 184, 0.18);
        background: rgba(15, 23, 42, 0.6);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 12px;
        color: #e2e8f0;
        cursor: pointer;
      }

      /* =========================================
         Modern Premium DETAIL View File Icons
         ========================================= */
      .asset-view[data-view='detail'] .asset-detail-card .file-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
        color: rgba(255, 255, 255, 0.95);
        position: relative;
        /* Default gradient - Blue for Videos */
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        /* Premium border */
        border: 1.5px solid rgba(255, 255, 255, 0.25);
        /* Enhanced shadow */
        box-shadow: 
          0 4px 16px rgba(59, 130, 246, 0.3),
          0 2px 8px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2);
        flex-shrink: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: visible; /* Changed from hidden to ensure icons are not clipped */
      }

      /* Subtle shine effect overlay */
      .asset-view[data-view='detail'] .asset-detail-card .file-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.15),
          transparent
        );
        transition: left 0.5s ease;
        z-index: 2;
      }

      /* Subtle pattern/texture overlay to make it not plain */
      .asset-view[data-view='detail'] .asset-detail-card .file-icon::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
          radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
          radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
        background-size: 8px 8px;
        background-position: 0 0, 4px 4px;
        opacity: 0.6;
        border-radius: 14px;
        pointer-events: none;
      }

      /* Hover animation */
      .asset-view[data-view='detail'] .asset-detail-card:hover .file-icon {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 
          0 8px 24px rgba(0, 0, 0, 0.25),
          0 4px 12px rgba(0, 0, 0, 0.15),
          inset 0 1px 0 rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.3);
        filter: brightness(1.1);
      }

      .asset-view[data-view='detail'] .asset-detail-card:hover .file-icon::before {
        left: 100%;
      }

      /* Icon styling */
      .asset-view[data-view='detail'] .asset-detail-card .file-icon svg,
      .asset-view[data-view='detail'] .asset-detail-card .file-icon i {
        width: 28px;
        height: 28px;
        stroke-width: 2;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        position: relative;
        z-index: 3; /* Above ::before (z-index: 2) and ::after (z-index: 1) */
        transition: transform 0.3s ease;
        color: rgba(255, 255, 255, 0.95);
        display: block;
        pointer-events: none;
      }
      
      /* Ensure lucide icons are visible */
      .asset-view[data-view='detail'] .asset-detail-card .file-icon i[data-lucide] svg {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
      }

      .asset-view[data-view='detail'] .asset-detail-card:hover .file-icon svg,
      .asset-view[data-view='detail'] .asset-detail-card:hover .file-icon i {
        transform: scale(1.1);
      }

      /* Category-based colors for Detail View */
      
      /* All VIDEO files (Hasil Render + Video tab) = Blue gradient */
      .asset-panel[data-asset-panel='render'] .asset-view[data-view='detail'] .asset-detail-card .file-icon,
      .asset-panel[data-asset-panel='video'] .asset-view[data-view='detail'] .asset-detail-card .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+1) .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+2) .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+3) .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+4) .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+5) .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+6) .file-icon {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        box-shadow: 
          0 4px 16px rgba(59, 130, 246, 0.3),
          0 2px 8px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }
      .asset-panel[data-asset-panel='render'] .asset-view[data-view='detail'] .asset-detail-card:hover .file-icon,
      .asset-panel[data-asset-panel='video'] .asset-view[data-view='detail'] .asset-detail-card:hover .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+1):hover .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+2):hover .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+3):hover .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+4):hover .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+5):hover .file-icon,
      .asset-view[data-view='detail'] .asset-detail-card:nth-child(6n+6):hover .file-icon {
        box-shadow: 
          0 8px 24px rgba(59, 130, 246, 0.4),
          0 4px 12px rgba(59, 130, 246, 0.2),
          inset 0 1px 0 rgba(255, 255, 255, 0.25),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }

      /* All MUSIK files = Purple gradient */
      .asset-panel[data-asset-panel='mp3'] .asset-view[data-view='detail'] .asset-detail-card .file-icon {
        background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
        box-shadow: 
          0 4px 16px rgba(168, 85, 247, 0.3),
          0 2px 8px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }
      .asset-panel[data-asset-panel='mp3'] .asset-view[data-view='detail'] .asset-detail-card:hover .file-icon {
        box-shadow: 
          0 8px 24px rgba(168, 85, 247, 0.4),
          0 4px 12px rgba(168, 85, 247, 0.2),
          inset 0 1px 0 rgba(255, 255, 255, 0.25),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }

      /* All THUMBNAIL files = Gray gradient */
      .asset-panel[data-asset-panel='thumbnail'] .asset-view[data-view='detail'] .asset-detail-card .file-icon {
        background: linear-gradient(135deg, #64748b 0%, #475569 100%);
        box-shadow: 
          0 4px 16px rgba(100, 116, 139, 0.3),
          0 2px 8px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }
      .asset-panel[data-asset-panel='thumbnail'] .asset-view[data-view='detail'] .asset-detail-card:hover .file-icon {
        box-shadow: 
          0 8px 24px rgba(100, 116, 139, 0.4),
          0 4px 12px rgba(100, 116, 139, 0.2),
          inset 0 1px 0 rgba(255, 255, 255, 0.25),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }

      /* =========================================
         Status Render Section - Colored Icons
         ========================================= */
      /* Base styling for all file icons in render section */
      #status-render-section .file-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        flex-shrink: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        /* Default gradient - Blue for Videos */
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        border: 1.5px solid rgba(255, 255, 255, 0.25);
        box-shadow: 
          0 4px 16px rgba(59, 130, 246, 0.3),
          0 2px 8px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2);
      }

      /* Shine effect */
      #status-render-section .file-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.15),
          transparent
        );
        transition: left 0.5s ease;
        z-index: 2;
      }

      /* Pattern overlay */
      #status-render-section .file-icon::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
          radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
          radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
        background-size: 8px 8px;
        background-position: 0 0, 4px 4px;
        opacity: 0.6;
        border-radius: 12px;
        pointer-events: none;
        z-index: 1;
      }

      /* Hover animation */
      #status-render-section .asset-detail-card:hover .file-icon {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 
          0 8px 24px rgba(0, 0, 0, 0.25),
          0 4px 12px rgba(0, 0, 0, 0.15),
          inset 0 1px 0 rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.3);
        filter: brightness(1.1);
      }

      #status-render-section .asset-detail-card:hover .file-icon::before {
        left: 100%;
      }

      /* Icon styling */
      #status-render-section .file-icon svg,
      #status-render-section .file-icon i {
        width: 26px;
        height: 26px;
        stroke-width: 2;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        position: relative;
        z-index: 3;
        transition: transform 0.3s ease;
        color: rgba(255, 255, 255, 0.95);
        stroke: currentColor;
        fill: none;
        display: block;
      }

      #status-render-section .asset-detail-card:hover .file-icon svg,
      #status-render-section .asset-detail-card:hover .file-icon i {
        transform: scale(1.1);
      }

      /* VIDEO files - Blue gradient */
      #status-render-section .file-icon[data-file-type="video"] {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        box-shadow: 
          0 4px 16px rgba(59, 130, 246, 0.35),
          0 2px 8px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }
      #status-render-section .asset-detail-card:hover .file-icon[data-file-type="video"] {
        box-shadow: 
          0 8px 24px rgba(59, 130, 246, 0.45),
          0 4px 12px rgba(59, 130, 246, 0.25),
          inset 0 1px 0 rgba(255, 255, 255, 0.25),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }

      /* MUSIC files - Green gradient */
      #status-render-section .file-icon[data-file-type="music"] {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        box-shadow: 
          0 4px 16px rgba(16, 185, 129, 0.35),
          0 2px 8px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }
      #status-render-section .asset-detail-card:hover .file-icon[data-file-type="music"] {
        box-shadow: 
          0 8px 24px rgba(16, 185, 129, 0.45),
          0 4px 12px rgba(16, 185, 129, 0.25),
          inset 0 1px 0 rgba(255, 255, 255, 0.25),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }

      /* THUMBNAIL files - Orange/Yellow gradient */
      #status-render-section .file-icon[data-file-type="thumbnail"] {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        box-shadow: 
          0 4px 16px rgba(245, 158, 11, 0.35),
          0 2px 8px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }
      #status-render-section .asset-detail-card:hover .file-icon[data-file-type="thumbnail"] {
        box-shadow: 
          0 8px 24px rgba(245, 158, 11, 0.45),
          0 4px 12px rgba(245, 158, 11, 0.25),
          inset 0 1px 0 rgba(255, 255, 255, 0.25),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }

      /* =========================================
         New Colorful Table Previews
         ========================================= */
      .table-preview-thumb {
        width: 100px;
        height: 56px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        overflow: hidden;
      }
      .table-preview-thumb:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      }
      .table-preview-thumb svg {
        width: 24px;
        height: 24px;
        color: rgba(255,255,255,0.9);
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
      }
      
      /* Gradient Colors - Brighter and More Vibrant */
      .bg-gradient-1 { background: linear-gradient(135deg, #8b9aff 0%, #a77bdb 100%); }
      .bg-gradient-2 { background: linear-gradient(135deg, #ffb3ff 0%, #ff7a8f 100%); }
      .bg-gradient-3 { background: linear-gradient(135deg, #ffe485 0%, #ffb8a0 100%); }
      .bg-gradient-4 { background: linear-gradient(135deg, #7ac8ff 0%, #5ffbff 100%); }
      .bg-gradient-5 { background: linear-gradient(135deg, #6bffa0 0%, #6bffe8 100%); }
      .bg-gradient-6 { background: linear-gradient(135deg, #ffb3ff 0%, #6be8ff 90%, #6bffb0 100%); }
      .asset-empty {
        border: 1px dashed rgba(148, 163, 184, 0.2);
        border-radius: 14px;
        padding: 24px;
        text-align: left;
        color: #94a3b8;
        background: rgba(10, 16, 28, 0.6);
        display: grid;
        gap: 12px;
      }
      .asset-panel__toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
      }
      .asset-panel__actions {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .action-group {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 4px;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.45);
        border: 1px solid rgba(148, 163, 184, 0.12);
      }
      .action-group .btn,
      .action-group .icon-button {
        height: 32px;
      }
      .asset-panel__hint {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #94a3b8;
      }
      .asset-panel__search {
        flex: 1;
        max-width: 320px;
        position: relative;
      }
      .search-input {
        width: 100%;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.7);
        color: #e2e8f0;
        padding: 8px 12px 8px 34px;
        font-size: 13px;
      }
      .search-icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        pointer-events: none;
      }
      .search-icon svg {
        width: 14px;
        height: 14px;
        display: block;
      }
      .table-actions {
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .btn--gdrive {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #22c55e, #3b82f6);
        border-color: rgba(34, 197, 94, 0.6);
        color: #fff;
      }
      .btn--gdrive:hover {
        filter: brightness(1.05);
      }
      .btn--gdrive svg {
        width: 14px;
        height: 14px;
        display: block;
      }
      .btn--device {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(15, 23, 42, 0.7);
        border-color: rgba(148, 163, 184, 0.35);
        color: #e2e8f0;
      }
      .btn--device svg {
        width: 14px;
        height: 14px;
        display: block;
      }
      .btn--folder {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(15, 23, 42, 0.7);
        border-color: rgba(148, 163, 184, 0.35);
        color: #e2e8f0;
      }
      .btn--folder svg {
        width: 14px;
        height: 14px;
        display: block;
      }
      .btn--danger {
        background: rgba(239, 68, 68, 0.15);
        border-color: rgba(248, 113, 113, 0.5);
        color: #fca5a5;
      }
      .btn--danger:hover {
        background: rgba(239, 68, 68, 0.22);
      }
      .icon-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        border: 1px solid var(--border);
        background: var(--surface-2);
        color: var(--text);
        cursor: pointer;
        position: relative;
        overflow: visible;
        transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
      }
      .icon-button svg {
        width: 16px;
        height: 16px;
        display: block;
      }
      .icon-button--danger {
        color: #fca5a5;
        border-color: rgba(248, 113, 113, 0.45);
      }
      .icon-button--edit {
        color: #8bc6a7;
        border-color: rgba(31, 107, 67, 0.45);
      }
      .icon-button--edit,
      .icon-button--danger {
        opacity: 0.7;
      }
      .icon-button--edit:hover,
      .icon-button--danger:hover {
        opacity: 1;
      }
      .icon-button:active {
        transform: translateY(1px);
      }
      .icon-button--preview {
        color: #b7d9c6;
        border-color: rgba(31, 107, 67, 0.4);
        background: var(--surface);
      }
      .icon-button--preview:hover {
        border-color: rgba(165, 180, 252, 0.8);
      }
      .inline-edit {
        flex: 1;
        width: 100%;
        border-radius: 8px;
        border: 1px solid rgba(56, 189, 248, 0.5);
        background: rgba(15, 23, 42, 0.8);
        color: #e2e8f0;
        padding: 4px 8px;
        font-size: 13px;
      }
      .delete-button {
        display: none;
        opacity: 0.7;
        pointer-events: none;
        transform: scale(0.96);
        transition:
          opacity 0.15s ease,
          transform 0.15s ease;
      }
      .asset-view[data-view='table'] .delete-button {
        display: none;
      }
      .asset-view[data-view='grid'] .delete-button {
        display: inline-flex;
        opacity: 0.7;
        pointer-events: auto;
        transform: scale(1);
      }
      .asset-detail-card.is-selected .delete-button {
        display: inline-flex;
        opacity: 0.7;
        pointer-events: auto;
        transform: scale(1);
      }
      .asset-detail-card .delete-button {
        display: inline-flex;
        opacity: 0.55;
        pointer-events: auto;
        transform: scale(1);
      }
      .asset-row.is-selected .delete-button,
      .asset-card.is-selected .delete-button {
        display: inline-flex;
        opacity: 0.7;
        pointer-events: auto;
        transform: scale(1);
      }
      .asset-row .asset-name,
      .asset-card .asset-name,
      .asset-detail-card .asset-name {
        color: #808080;
      }
      .asset-row.is-selected .asset-name,
      .asset-card.is-selected .asset-name,
      .asset-detail-card.is-selected .asset-name {
        color: var(--accent);
      }
      .asset-row.is-selected {
        background: transparent !important;
      }
      .asset-row.is-selected td {
        background: transparent !important;
      }
      .asset-row.is-selected td:first-child {
        position: relative;
      }
      .asset-row.is-selected td:first-child::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 3px;
        border-radius: 6px;
        background: var(--accent);
      }
      .asset-card.is-selected,
      .asset-detail-card.is-selected {
        border-color: rgba(34, 197, 94, 0.7);
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
        background: rgba(24, 177, 99, 0.05);
      }
      .asset-view[data-view='grid'] .asset-card:hover .delete-button {
        display: inline-flex;
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
      }
      /* Tooltip - Minimal & Clean Design */
      .has-tooltip {
        position: relative;
      }

      /* Tooltip box - simple, no arrow */
      .has-tooltip::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        background: #1a1a1a;
        color: #ffffff;
        font-size: 11px;
        font-weight: 500;
        padding: 6px 12px;
        border-radius: 6px;
        white-space: nowrap;
        z-index: 999999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
        transition: opacity 0.2s ease, visibility 0.2s ease;
      }

      /* Show tooltip on hover */
      .has-tooltip:hover::after {
        opacity: 1;
        visibility: visible;
        transition-delay: 0.4s;
      }
      .preview-overlay {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.72);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 24px;
        z-index: 20;
        pointer-events: none;
      }
      .preview-overlay.is-open {
        display: flex;
        pointer-events: auto;
      }
      .preview-modal {
        position: relative;
        width: min(560px, 92vw);
        border-radius: 16px;
        border: 1px solid #1f2a44;
        background: rgba(10, 16, 28, 0.96);
        padding: 16px;
        display: grid;
        gap: 12px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
      }
      .preview-modal__media {
        width: 100%;
        height: 200px;
        border-radius: 12px;
        background: linear-gradient(
          135deg,
          rgba(56, 189, 248, 0.2),
          rgba(129, 140, 248, 0.25)
        );
        border: 1px solid rgba(148, 163, 184, 0.2);
        display: block;
        object-fit: cover;
      }
      .preview-modal__meta {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
        font-size: 13px;
        color: #cbd5e1;
      }
      .preview-modal__label {
        color: #94a3b8;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
      .preview-modal__close {
        position: absolute;
        top: 12px;
        right: 12px;
        border-radius: 8px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.8);
        color: #e2e8f0;
        font-size: 12px;
        padding: 4px 10px;
        cursor: pointer;
      }
      .gdrive-modal {
        position: relative;
        width: min(520px, 92vw);
        border-radius: 16px;
        border: 1px solid #1f2a44;
        background: rgba(10, 16, 28, 0.96);
        padding: 16px;
        display: grid;
        gap: 12px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
      }
      .gdrive-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
      }
      .gdrive-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        color: #f8fafc;
      }
      .gdrive-title__icon {
        width: 26px;
        height: 26px;
        border-radius: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #cbd5e1;
        box-shadow: none;
      }
      .gdrive-title__icon svg {
        width: 22px;
        height: 22px;
      }
      .gdrive-modal .gdrive-title__icon {
        color: #7dd3fc;
      }
      .device-modal .gdrive-title__icon {
        color: #a5b4fc;
      }
      .folder-modal .gdrive-title__icon {
        color: #86efac;
      }
      .gdrive-close {
        border: none;
        background: transparent;
        color: #94a3b8;
        font-size: 18px;
        cursor: pointer;
        padding: 4px 8px;
        line-height: 1;
      }
      .gdrive-label {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #94a3b8;
      }
      .gdrive-help {
        font-size: 12px;
        color: #94a3b8;
      }
      .gdrive-input {
        width: 100%;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.8);
        color: #e2e8f0;
        padding: 10px 12px;
        font-size: 13px;
      }
      .gdrive-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
      }
      .device-modal {
        position: relative;
        width: min(560px, 94vw);
        border-radius: 18px;
        border: 1px solid rgba(99, 102, 241, 0.4);
        background: linear-gradient(
          145deg,
          rgba(12, 18, 36, 0.98),
          rgba(8, 12, 24, 0.96)
        );
        padding: 20px;
        display: grid;
        gap: 12px;
        box-shadow:
          0 28px 70px rgba(0, 0, 0, 0.5),
          0 0 0 1px rgba(56, 189, 248, 0.12) inset;
      }
      .device-title {
        font-weight: 600;
        color: #f8fafc;
      }
      .device-field {
        display: grid;
        gap: 6px;
      }
      .device-field.is-hidden {
        display: none;
      }
      .device-label {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #94a3b8;
      }
      .device-input {
        width: 100%;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.8);
        color: #e2e8f0;
        padding: 10px 12px;
        font-size: 13px;
      }
      .device-input.is-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
      }
      .device-hint {
        font-size: 12px;
        color: #94a3b8;
        margin-bottom: 8px;
      }
      .device-drop {
        border: 2px dashed rgba(129, 140, 248, 0.55);
        border-radius: 16px;
        padding: 22px 18px;
        min-height: 140px;
        background: linear-gradient(
          180deg,
          rgba(18, 26, 48, 0.9),
          rgba(8, 12, 24, 0.85)
        );
        font-size: 13px;
        color: #e2e8f0;
        text-align: center;
        margin-bottom: 12px;
        cursor: pointer;
        display: grid;
        place-content: center;
        gap: 6px;
        transition: all 0.15s ease;
      }
      .device-drop:hover {
        border-color: rgba(56, 189, 248, 0.9);
        background: linear-gradient(
          180deg,
          rgba(24, 36, 64, 0.95),
          rgba(10, 16, 30, 0.9)
        );
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
      }
      .device-drop__title {
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 2px;
      }
      .device-drop__file {
        font-size: 12px;
        color: #94a3b8;
      }
      .device-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
      }
      .folder-modal {
        position: relative;
        width: min(480px, 92vw);
        border-radius: 16px;
        border: 1px solid #1f2a44;
        background: rgba(10, 16, 28, 0.96);
        padding: 16px;
        display: grid;
        gap: 12px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
      }
      .folder-title {
        font-weight: 600;
        color: #f8fafc;
      }
      .folder-input {
        width: 100%;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.8);
        color: #e2e8f0;
        padding: 10px 12px;
        font-size: 13px;
      }
      .folder-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
      }
      .btn--primary {
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        border-color: rgba(31, 107, 67, 0.7);
        color: var(--text);
      }
      .btn--primary:hover {
        filter: brightness(1.02);
      }
      .demo-toast {
        position: fixed;
        right: 24px;
        bottom: 24px;
        display: grid;
        gap: 8px;
        z-index: 40;
      }
      .demo-toast__item {
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.3);
        background: rgba(15, 23, 42, 0.95);
        color: #e2e8f0;
        font-size: 12px;
        letter-spacing: 0.2px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
        opacity: 0;
        transform: translateY(6px);
        transition:
          opacity 0.2s ease,
          transform 0.2s ease;
      }
      .demo-toast__item.is-visible {
        opacity: 1;
        transform: translateY(0);
      }
      body,
      .main {
        background: var(--bg);
      }
      body {
        grid-template-columns: 220px 1fr;
      }
      body.is-collapsed {
        grid-template-columns: 64px 1fr;
      }
      .main {
        padding: 32px 36px;
      }
      .sidebar {
        padding: 20px 14px;
        gap: 18px;
      }
      .nav {
        gap: 10px;
      }
      .nav__link {
        border: none;
        border-radius: 10px;
        padding: 10px 12px;
        color: var(--muted);
        background: transparent;
        box-shadow: none;
        grid-template-columns: 32px 1fr;
        justify-items: start;
      }
      .nav__link:hover,
      .nav__item.is-active .nav__link {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
      }
      .nav__item.is-active .nav__link {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
      }
      .nav__link:hover {
        background: rgba(15, 77, 47, 0.12);
        color: var(--text);
      }
      .nav__icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        background: #0f141a;
        border-color: rgba(255, 255, 255, 0.08);
        color: var(--muted);
        box-shadow: none;
      }
      .nav__item.is-active .nav__icon {
        color: #e7ece9;
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow: none;
      }
      .section,
      .summary,
      .edit-block,
      .status-column,
      .asset-card,
      .asset-detail-card,
      .table-wrap {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: none;
        transition: border-color 0.2s ease, transform 0.2s ease;
      }
      .section:hover,
      .summary:hover,
      .asset-card:hover,
      .asset-detail-card:hover {
        border-color: rgba(15, 77, 47, 0.4);
      }
      .section__header {
        text-transform: uppercase;
        letter-spacing: 0.6px;
        font-size: 12px;
        color: var(--muted);
      }
      .summary__item {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 14px;
        box-shadow: none;
      }
      .summary__value {
        font-size: 24px;
      }
      .summary__bar-fill,
      .status-progress__fill {
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
      }
      .btn,
      .icon-button,
      .search-input,
      .edit-input,
      .gdrive-input,
      .device-input,
      .folder-input {
        background: var(--surface-2);
        border-color: var(--border);
        color: var(--text);
        box-shadow: none;
      }
      .btn,
      .icon-button {
        transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
      }
      .btn:hover,
      .icon-button:hover {
        background: rgba(15, 77, 47, 0.12);
        border-color: rgba(15, 77, 47, 0.35);
      }
      .btn:active,
      .icon-button:active {
        transform: scale(0.98);
      }
      .asset-tabs,
      .view-toggle,
      .action-group {
        background: var(--surface-2);
        border-color: var(--border);
      }
      .asset-view[data-view='grid'] .asset-card {
        background: var(--panel);
        border-color: var(--border);
      }
      .asset-view[data-view='grid'] .asset-thumb {
        background: var(--surface-2);
        border-bottom: 1px solid var(--border);
      }
      .asset-view[data-view='grid'] .asset-thumb::after {
        background-image: none;
      }
      .asset-view[data-view='grid'] .asset-card__header,
      .asset-view[data-view='grid'] .asset-card__meta,
      .asset-view[data-view='grid'] .asset-card__footer {
        background: transparent;
      }
      .asset-card__meta-item {
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 10px;
      }
      .badge {
        background: transparent;
        border-color: var(--border);
      }
      .table th,
      .table td,
      .edit-row,
      .status-file {
        border-color: var(--border);
      }
      .preview-overlay {
        background: rgba(6, 10, 8, 0.7);
      }
      body,
      .main {
        background: var(--bg) !important;
        color: var(--text);
      }
      .sidebar {
        background: var(--panel) !important;
        border-right: 1px solid var(--border) !important;
        align-items: stretch !important;
      }
      .nav {
        gap: 8px !important;
        align-items: stretch !important;
        width: 100%;
      }
      .nav__link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid transparent;
        background: transparent;
        color: var(--muted);
        justify-content: flex-start;
        width: 100%;
      }
      .nav__link:hover {
        background: rgba(255, 255, 255, 0.04);
        color: var(--text);
      }
      .nav__item.is-active .nav__link {
        background: #18b163;
        border-color: #18b163;
        color: var(--text);
        box-shadow: none;
      }
      .nav__item {
        opacity: 0.7;
      }
      .nav__item.is-active {
        opacity: 1;
        background: #18b163;
        border-radius: 12px;
      }
      .nav__icon {
        width: 22px;
        height: 22px;
        border-radius: 0;
        background: transparent;
        border-color: transparent;
        color: var(--text);
        box-shadow: none;
      }
      .nav__item.is-active .nav__icon {
        border: none;
        box-shadow: none;
        color: #f2f5f4;
      }
      .sidebar--collapsed {
        align-items: center;
      }
      .sidebar--collapsed .nav {
        align-items: center;
      }
      .sidebar--collapsed .nav__link {
        justify-content: center;
        padding: 10px 0;
      }
      .sidebar--collapsed .nav__item.is-active {
        background: transparent;
      }
      .sidebar--collapsed .nav__item.is-active .nav__link {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 12px;
        background: #18b163;
        border-color: #18b163;
        justify-content: center;
      }
      .section,
      .summary,
      .edit-block,
      .status-column,
      .table-wrap,
      .asset-card,
      .asset-detail-card {
        background: var(--panel);
        border: 1px solid var(--border);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
      }
      .summary__item,
      .asset-card,
      .asset-detail-card,
      .edit-item,
      .edit-row,
      .status-file,
      .status-file--result,
      .status-column,
      .edit-status__row,
      .asset-empty,
      .preview-modal,
      .gdrive-modal,
      .device-modal,
      .folder-modal,
      .table td,
      .table th,
      .asset-card__meta-item,
      .asset-view[data-view='grid'] .asset-thumb {
        background: var(--surface);
        border-color: var(--border);
      }
      .summary__item,
      .asset-view[data-view='grid'] .asset-card__meta-item {
        background: var(--surface);
        border-color: var(--border);
      }
      .btn,
      .icon-button,
      .search-input,
      .edit-input,
      .gdrive-input,
      .device-input,
      .folder-input {
        background: var(--surface-2);
        border-color: var(--border);
        color: var(--text);
      }
      .btn--primary {
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        border-color: rgba(20, 165, 90, 0.45);
        color: #02150a;
      }
      .btn--ghost.is-active {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.14);
      }
      .summary__bar-fill,
      .status-progress__fill {
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
      }
      .asset-tabs,
      .action-group {
        background: var(--surface-2);
        border-color: var(--border);
      }
      .muted,
      .summary__label,
      .edit-item__meta,
      .asset-panel__hint,
      .device-hint,
      .gdrive-help {
        color: var(--muted);
      }
      .btn {
        height: 36px;
        padding: 0 14px;
        border-radius: 10px;
        font-weight: 600;
        letter-spacing: 0.2px;
      }
      .btn--ghost {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.08);
      }
      .btn--ghost.is-active {
        background: rgba(0, 195, 122, 0.18);
        border-color: rgba(0, 224, 146, 0.5);
      }
      .btn--primary {
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        border-color: rgba(0, 224, 146, 0.55);
        color: #03140c;
      }
      .btn:hover {
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
      }
      /* Selection Counter Overlay */
      .selection-counter {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%) translateY(200%);
        background: #0f172a;
        border: 1px solid rgba(148, 163, 184, 0.3);
        padding: 12px 20px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 16px;
        color: white;
        z-index: 999;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      }
      .selection-counter.is-visible {
        transform: translateX(-50%) translateY(0);
      }
      .selection-counter__count {
        font-weight: 700;
        font-size: 14px;
      }
      .selection-counter__actions {
        display: flex;
        gap: 8px;
        padding-left: 12px;
        border-left: 1px solid rgba(255,255,255,0.1);
      }
      .nav {
        width: 100%;
      }
      .nav__link {
        grid-template-columns: 32px 1fr;
        justify-items: start;
        padding: 10px 12px;
      }
      .nav__label,
      .sidebar__header-title {
        display: inline;
      }
      .nav__icon {
        min-width: 36px;
      }
      .nav__link:active {
        transform: scale(0.98);
      }
      .icon-button {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: #0f141a;
        border-color: rgba(255, 255, 255, 0.1);
        color: #f2f5f4;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
      }
      .icon-button:hover {
        border-color: rgba(0, 224, 146, 0.45);
      }
      .muted,
      .summary__label,
      .edit-item__meta,
      .asset-panel__hint,
      .device-hint,
      .gdrive-help {
        color: var(--muted);
      }
      .summary__value {
        font-size: 22px;
        font-weight: 700;
        color: #f8fafc;
      }
      /* Visual Cue for High Values/Attention in Dashboard */
      .summary__value.is-highlight {
        color: var(--accent-2);
        text-shadow: 0 0 10px rgba(0, 224, 146, 0.3);
      }

      /* ========================================
         MODERN DASHBOARD REDESIGN
      ======================================== */
      .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
      }

      .dashboard-card {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 20px;
        position: relative;
        overflow: hidden;
        transition: all 0.2s ease;
        box-shadow: none;
      }

      .dashboard-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
      }

      .dashboard-card:hover {
        border-color: rgba(0, 195, 122, 0.4);
      }

      .dashboard-card:hover::before {
        opacity: 1;
      }

      .dashboard-card--wide {
        grid-column: span 2;
      }

      @media (max-width: 900px) {
        .dashboard-card--wide {
          grid-column: span 1;
        }
      }

      .dashboard-card__header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 16px;
      }

      .dashboard-card__icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
        transition: transform 0.3s ease;
      }

      .dashboard-card:hover .dashboard-card__icon {
        background: rgba(0, 195, 122, 0.1);
        color: var(--accent);
      }

      .dashboard-card__icon i {
        width: 24px;
        height: 24px;
        stroke-width: 2;
      }

      /* Icon Colors - Simple Monochrome */
      .dashboard-card__icon--edit,
      .dashboard-card__icon--render,
      .dashboard-card__icon--scheduled,
      .dashboard-card__icon--upload,
      .dashboard-card__icon--job,
      .dashboard-card__icon--asset,
      .dashboard-card__icon--storage,
      .dashboard-card__icon--used,
      .dashboard-card__icon--free {
        background: rgba(255, 255, 255, 0.05);
        color: #94a3b8;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.08);
      }

      .dashboard-card__meta {
        flex: 1;
      }
      .dashboard-card__label {
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #94a3b8;
        margin-bottom: 6px;
      }
      .dashboard-card__value {
        font-size: 32px;
        font-weight: 700;
        color: #f1f5f9;
        line-height: 1;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      }
      .dashboard-card__progress {
        height: 6px;
        background: rgba(15, 23, 42, 0.8);
        border-radius: 999px;
        overflow: hidden;
        position: relative;
      }
      .dashboard-card__progress-fill {
        height: 100%;
        border-radius: 999px;
        transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
      }
      .dashboard-card__progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
      }

      @keyframes shimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
      }

      /* Progress Fill Colors - Simple Green */
      .dashboard-card__progress-fill--edit,
      .dashboard-card__progress-fill--render,
      .dashboard-card__progress-fill--scheduled,
      .dashboard-card__progress-fill--upload,
      .dashboard-card__progress-fill--job,
      .dashboard-card__progress-fill--asset,
      .dashboard-card__progress-fill--storage,
      .dashboard-card__progress-fill--free {
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
      }
      .dashboard-card__progress-fill--used {
        background: linear-gradient(90deg, #dc2626, #ef4444);
      }
      .preview-modal,
      .gdrive-modal,
      .device-modal,
      .folder-modal {
        background: var(--panel);
        border-color: var(--border);
        box-shadow: none;
      }
      .section,
      .summary,
      .edit-block,
      .status-column,
      .asset-card,
      .asset-detail-card,
      .table-wrap {
        transition: transform 0.12s ease, border-color 0.2s ease;
      }
      .panel-active {
        opacity: 1;
      }
      .panel-dim {
        opacity: 0.45;
      }
      .section.is-pressed,
      .summary.is-pressed,
      .edit-block.is-pressed,
      .status-column.is-pressed,
      .asset-card.is-pressed,
      .asset-detail-card.is-pressed,
      .table-wrap.is-pressed {
        transform: scale(0.99);
      }
      .nav__icon,
      .icon-button,
      .status-action,
      .asset-view[data-view='grid'] .asset-thumb .icon-button--preview {
        background: #0b1110;
        color: #e7ece9;
        border-color: rgba(170, 186, 178, 0.35);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
      }
      .nav__icon svg,
      .icon-button svg,
      .status-action svg {
        stroke-width: 1.8;
      }
      .nav__link,
      .btn,
      .asset-name {
        color: var(--text);
      }
      .muted,
      .asset-panel__hint,
      .summary__label {
        color: #aab6af;
      }
      @keyframes fadeUp {
        from {
          opacity: 0;
          transform: translateY(8px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .section,
      .summary,
      .asset-card,
      .asset-detail-card {
        animation: fadeUp 0.35s ease both;
      }
      #asset-section .asset-toolbar {
        margin-bottom: 12px;
        overflow: visible;
      }
      #asset-section .asset-tabs,
      #asset-section .view-toggle {
        background: transparent;
        border: none;
        padding: 0;
        gap: 16px;
        overflow: visible;
        position: relative;
      }
      /* Asset tabs styling (text buttons) */
      #asset-section .asset-tabs .btn {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 6px 2px;
        height: auto;
        min-height: auto;
        border-radius: 0;
        color: var(--muted);
        position: relative;
        overflow: visible;
      }
      /* View toggle button - clean, no conflicts */
      .view-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        border-radius: 8px;
        color: var(--muted);
        cursor: pointer;
        position: relative;
        overflow: visible;
        box-shadow: none;
        transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
      }
      .view-toggle-btn::before,
      .view-toggle-btn::after {
        display: none;
      }
      .view-toggle-btn svg,
      .view-toggle-btn i {
        width: 18px;
        height: 18px;
      }
      .view-toggle-btn:hover {
        background: rgba(0, 195, 122, 0.1);
        color: var(--accent);
      }
      .view-toggle-btn.is-active {
        background: rgba(0, 195, 122, 0.15);
        color: var(--accent);
        border: 1px solid rgba(0, 195, 122, 0.3);
      }
      .view-toggle-btn:active {
        transform: scale(0.95);
      }

      /* Override tooltip placement specifically for view-toggle-btn */
      .view-toggle-btn.has-tooltip::after {
        display: block;
      }
      #asset-section .asset-tabs .btn.is-active {
        color: var(--text);
      }
      #asset-section .asset-tabs .btn.is-active::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
        border-radius: 999px;
        background: var(--accent);
      }
      #asset-section .asset-panel__toolbar {
        margin-bottom: 8px;
      }
      #asset-section .asset-panel__search {
        max-width: 360px;
      }
      #asset-section .search-input {
        background: rgba(255, 255, 255, 0.03) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
      }
      #asset-section .table-wrap {
        background: var(--panel) !important;
        border: 1px solid var(--border) !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
        padding: 0 !important;
      }
      #asset-section .table {
        border-collapse: collapse !important;
        border-spacing: 0 !important;
      }
      #asset-section .table thead tr {
        background: transparent !important;
      }
      #asset-section .table th {
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 10px 12px !important;
      }
      #asset-section .table td {
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 12px 12px !important;
      }
      #asset-section .table tr:last-child td {
        border-bottom: none !important;
      }
      #asset-section .table tr td:first-child {
        padding-left: 12px !important;
      }
      #asset-section .table tr td:first-child::before {
        display: none !important;
        content: none !important;
      }
      #asset-section .asset-row:hover td {
        background: rgba(255, 255, 255, 0.03) !important;
      }
      #asset-section .table-actions .icon-button {
        background: transparent !important;
        border-color: transparent;
        box-shadow: none;
        width: 30px;
        height: 30px;
      }
      #asset-section .table-actions .icon-button:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.08);
      }
      #asset-section .asset-card,
      #asset-section .asset-detail-card {
        background: var(--surface);
        border: 1px solid var(--border);
        box-shadow: none;
      }
      #asset-section .asset-card__meta-item {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
      }
      #asset-section .asset-panel__actions .btn,
      #asset-section .asset-panel__actions .icon-button,
      #asset-section .action-group .btn {
        height: 32px;
        padding: 6px 4px;
        border-radius: 0;
        background: transparent;
        border: none;
        color: var(--text);
        box-shadow: none;
        font-weight: 600;
        position: relative;
      }
      #asset-section .btn--gdrive,
      #asset-section .btn--device,
      #asset-section .btn--folder,
      #asset-section .btn--danger {
        background: transparent;
        border-color: transparent;
        color: var(--text);
      }
      #asset-section .btn--danger {
        color: #f6b1b1;
      }
      #asset-section .action-group {
        background: transparent;
        border: none;
        padding: 0;
        gap: 14px;
      }
      #asset-section .asset-panel__actions .btn:hover,
      #asset-section .action-group .btn:hover {
        background: transparent;
      }
      #asset-section .asset-panel__actions .btn::after,
      #asset-section .action-group .btn::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -4px;
        height: 2px;
        border-radius: 999px;
        background: transparent;
      }
      #asset-section .asset-panel__actions .btn:hover::after,
      #asset-section .action-group .btn:hover::after {
        background: rgba(255, 255, 255, 0.22);
      }
      #asset-section .btn--danger:hover::after {
        background: rgba(246, 177, 177, 0.7);
      }
      body,
      .main {
        background: var(--bg);
        color: var(--text);
      }
      .section,
      .summary,
      .edit-block,
      .status-column,
      .table-wrap,
      .asset-card,
      .asset-detail-card {
        background: var(--panel);
        border: 1px solid var(--border);
      }
      .summary__item,
      .edit-item,
      .edit-row,
      .status-file,
      .status-file--result,
      .edit-status__row,
      .asset-empty,
      .preview-modal,
      .gdrive-modal,
      .device-modal,
      .folder-modal,
      .gdrive-modal,
      .preview-modal,
      .table td,
      .table th,
      .asset-card__meta-item,
      .asset-view[data-view='grid'] .asset-thumb,
      .search-input,
      .edit-input,
      .gdrive-input,
      .device-input,
      .folder-input,
      .status-action {
        background: rgba(24, 28, 34, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-color: rgba(255, 255, 255, 0.08);
        color: var(--text);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
      }
      .asset-card {
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(148, 163, 184, 0.1);
      }
      .asset-card:hover {
        transform: translateY(-4px);
        background: rgba(30, 41, 59, 0.6);
        box-shadow: var(--shadow-glow);
        border-color: rgba(0, 195, 122, 0.3);
      }
      .btn, .icon-button {
          background: rgba(24, 28, 34, 0.6);
          border-color: var(--border);
          color: var(--text);
      }
      .edit-block__title,
      .status-column__title {
        color: var(--text);
      }
      .edit-mode__desc,
      .edit-item__meta,
      .edit-field,
      .edit-list__header .edit-item__meta,
      .status-column__hint,
      .status-file,
      .status-file--result,
      .status-file--result .badge,
      .status-column__list,
      .status-column__list.is-scrollable,
      .edit-status {
        color: #808080;
      }
      .muted,
      .summary__label,
      .edit-item__meta,
      .asset-panel__hint,
      .device-hint,
      .gdrive-help,
      .asset-row td,
      .asset-detail-meta,
      .asset-detail-meta div {
        color: #808080;
      }
      .nav__link,
      .sidebar__header-title {
        color: var(--text);
      }
      .nav__icon {
        background: transparent;
        border-color: transparent;
      }
      #edit-section .edit-block,
      #edit-section .edit-mode__item,
      #edit-section .edit-upload,
      #edit-section .edit-table,
      #edit-section .edit-row,
      #edit-section .edit-row--head,
      #edit-section .edit-status__row,
      #edit-section .edit-item,
      #edit-section .edit-options .btn,
      #edit-section .edit-actions .btn {
        background: var(--surface);
        border-color: var(--border);
        color: var(--text);
        box-shadow: none;
      }
      #edit-section .edit-mode__label,
      #edit-section .edit-row,
      #edit-section .edit-item,
      #edit-section .edit-field,
      #edit-section .edit-table,
      #edit-section .edit-status__row,
      #edit-section .edit-options .btn {
        color: var(--text);
      }
      #edit-section .edit-mode__desc,
      #edit-section .edit-item__meta,
      #edit-section .edit-cell--muted,
      #edit-section .edit-empty,
      #edit-section .edit-list__header .edit-item__meta {
        color: #808080;
      }
      #edit-section .edit-row--head {
        text-transform: uppercase;
        letter-spacing: 0.4px;
      }
      #edit-section .edit-table::-webkit-scrollbar-thumb,
      #status-render-section .status-column__list::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.16) !important;
        border-color: transparent !important;
      }
      #edit-section .edit-table::-webkit-scrollbar-track,
      #status-render-section .status-column__list::-webkit-scrollbar-track {
        background: var(--panel) !important;
      }
      #status-render-section .status-column,
      #status-render-section .status-file,
      #status-render-section .status-file--result,
      #status-render-section .status-action {
        background: var(--surface) !important;
        border-color: var(--border) !important;
        color: var(--text) !important;
        box-shadow: none !important;
      }
      #status-render-section .status-progress {
        background: var(--panel) !important;
        border-color: var(--border) !important;
      }
      #status-render-section .status-progress__fill {
        background: var(--accent) !important;
      }


      /* ===== AUTO UPLOAD SECTION STYLES ===== */
      
      /* Form Elements */
      .form-group {
        margin-bottom: 24px;
        width: 100%;
        pointer-events: auto;
        position: relative;
      }
      
      /* Ensure full width for containers */
      div[data-auto-upload-panel] {
        width: 100%;
        max-width: 100% !important;
      }
      
      div[data-auto-upload-panel] > div {
        width: 100%;
        max-width: 100% !important;
      }

      .form-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 10px;
      }

      .form-label i {
        width: 18px;
        height: 18px;
        color: var(--accent);
      }

      .form-input {
        width: 100%;
        padding: 10px 14px;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 10px;
        color: var(--text);
        font-size: 14px;
        font-family: inherit;
        transition: all 0.2s ease;
        pointer-events: auto;
        cursor: text;
      }
      
      .form-input[type="date"],
      .form-input[type="time"] {
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: var(--surface-2);
        padding-right: 10px;
      }
      
      .form-input[type="date"]::-webkit-calendar-picker-indicator,
      .form-input[type="time"]::-webkit-calendar-picker-indicator {
        background: transparent;
        cursor: pointer;
        width: 20px;
        height: 20px;
        padding: 0;
        margin: 0;
      }

      .form-input:focus {
        outline: none;
        border-color: var(--accent);
        background: var(--surface);
        box-shadow: 0 0 0 3px rgba(0, 195, 122, 0.1);
      }

      /* Fix select dropdown text visibility */
      select.form-input {
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        background-size: 12px;
        padding-right: 40px;
        color: var(--text) !important;
        font-weight: 500;
      }

      select.form-input option {
        background: var(--surface-2);
        color: var(--text);
        padding: 10px;
        font-weight: 500;
      }

      select.form-input option:checked,
      select.form-input option:hover {
        background: rgba(0, 195, 122, 0.15);
        color: var(--accent);
      }

      /* Fix form-hint spacing */
      .form-hint {
        display: block;
        font-size: 12px;
        color: var(--muted);
        margin-top: 8px;
        line-height: 1.5;
      }

      /* Add more spacing between date-time-picker and form-hint */
      .date-time-picker + .form-hint {
        margin-top: 10px;
      }

      /* Improve spacing for date-time grid */
      .form-group > div[style*="grid-template-columns"] > div {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      /* Ensure form-hint has proper margin in grid layout */
      .form-group > div[style*="grid-template-columns"] .form-hint {
        margin-top: 0;
        padding-top: 2px;
      }

      /* Schedule Form */
      .schedule-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
      }

      /* Fix Date & Time Inputs for Dark Mode */
      input[type="date"],
      input[type="time"] {
        color-scheme: dark;
        cursor: text;
        pointer-events: auto !important;
        position: relative;
        z-index: 100 !important;
      }
      
      input[type="date"]::-webkit-calendar-picker-indicator,
      input[type="time"]::-webkit-calendar-picker-indicator {
        filter: invert(1);
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.2s;
        position: relative;
        z-index: 20;
        pointer-events: auto !important;
      }
      
      input[type="date"]::-webkit-calendar-picker-indicator:hover,
      input[type="time"]::-webkit-calendar-picker-indicator:hover {
        opacity: 1;
      }

      /* Custom Date Time Picker */
      .date-time-picker {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        height: 46px;
        box-sizing: border-box;
      }
      
      .date-time-picker:hover {
        border-color: rgba(0, 195, 122, 0.5);
        background: rgba(0, 195, 122, 0.08);
      }
      
      .date-time-picker:active {
        transform: scale(0.99);
      }
      
      .date-time-input {
        position: absolute !important;
        opacity: 0;
        width: 100% !important;
        height: 100% !important;
        top: 0;
        left: 0;
        cursor: pointer;
        z-index: 10;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
      }
      
      .date-time-value {
        flex: 1;
        font-size: 14px;
        font-weight: 500;
        color: var(--text);
        user-select: none;
        pointer-events: none;
        line-height: 1.4;
        display: flex;
        align-items: center;
      }
      
      .date-time-picker i {
        flex-shrink: 0;
        pointer-events: none;
      }

      /* Flatpickr - Minimal Styling (Use Default Theme) */
      .flatpickr-calendar {
        font-family: 'Inter', sans-serif !important;
      }
      
      /* Ensure time picker is not cut off */
      .flatpickr-time {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
      }
      
      .flatpickr-time input {
        height: auto !important;
      }

      /* Platform Selection */
      .platform-select {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
        width: 100%;
      }

      .platform-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px 12px;
        background: var(--surface);
        border: 2px solid var(--border);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
      }

      .platform-option:hover {
        border-color: rgba(0, 195, 122, 0.3);
        background: rgba(0, 195, 122, 0.05);
      }

      .platform-option.is-active {
        border-color: var(--accent);
        background: rgba(0, 195, 122, 0.12);
        box-shadow: 0 0 0 3px rgba(0, 195, 122, 0.1);
      }

      .platform-option i {
        width: 28px;
        height: 28px;
        color: var(--accent);
      }

      /* Toggle Group */
      .toggle-group {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
      }

      .toggle-option {
        flex: 1;
        min-width: 120px;
        cursor: pointer;
      }

      .toggle-option input[type="radio"] {
        display: none;
      }

      .toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        background: var(--surface);
        border: 2px solid var(--border);
        border-radius: 10px;
        font-size: 14px;
        font-weight: 500;
        color: var(--muted);
        transition: all 0.2s ease;
      }

      .toggle-label i {
        width: 18px;
        height: 18px;
      }

      .toggle-option input[type="radio"]:checked + .toggle-label {
        background: rgba(0, 195, 122, 0.12);
        border-color: var(--accent);
        color: var(--text);
        box-shadow: 0 0 0 3px rgba(0, 195, 122, 0.1);
      }

      .toggle-option:hover .toggle-label {
        border-color: rgba(0, 195, 122, 0.3);
      }

      /* Checkbox Group */
      .checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .checkbox-option {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        padding: 10px 12px;
        background: var(--surface);
        border-radius: 8px;
        transition: background 0.2s ease;
      }

      .checkbox-option:hover {
        background: rgba(0, 195, 122, 0.05);
      }

      .checkbox-option input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: var(--accent);
      }

      .checkbox-option span {
        font-size: 14px;
        color: var(--text);
      }

      /* Queue Stats */
      .queue-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        margin-bottom: 24px;
      }

      .stat-card {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 20px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        transition: all 0.2s ease;
      }

      .stat-card:hover {
        border-color: rgba(0, 195, 122, 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      }

      .stat-card--success {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.05));
        border-color: rgba(16, 185, 129, 0.2);
      }

      .stat-card--error {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.05));
        border-color: rgba(239, 68, 68, 0.2);
      }

      .stat-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: rgba(0, 195, 122, 0.12);
        border-radius: 12px;
      }

      .stat-card--success .stat-icon {
        background: rgba(16, 185, 129, 0.15);
      }

      .stat-card--error .stat-icon {
        background: rgba(239, 68, 68, 0.15);
      }

      .stat-icon i {
        width: 24px;
        height: 24px;
        color: var(--accent);
      }

      .stat-card--success .stat-icon i {
        color: #10b981;
      }

      .stat-card--error .stat-icon i {
        color: #ef4444;
      }

      .stat-info {
        flex: 1;
      }

      .stat-label {
        font-size: 13px;
        color: var(--muted);
        margin-bottom: 4px;
      }

      .stat-value {
        font-size: 28px;
        font-weight: 700;
        color: var(--text);
      }

      /* Upload Section */
      .upload-section {
        margin-bottom: 32px;
      }

      .upload-section-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
      }

      .upload-section-title i {
        width: 20px;
        height: 20px;
        color: var(--accent);
      }

      /* Upload Item */
      .upload-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        margin-bottom: 12px;
        transition: all 0.2s ease;
      }

      .upload-item:hover {
        border-color: rgba(0, 195, 122, 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      }

      .upload-item--active {
        border-color: rgba(16, 185, 129, 0.4);
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.05));
      }

      .upload-thumb {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        overflow: hidden;
      }

      .upload-info {
        flex: 1;
        min-width: 0;
      }

      .upload-title {
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .upload-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        font-size: 13px;
        color: var(--muted);
        margin-bottom: 8px;
      }

      .upload-meta i {
        width: 14px;
        height: 14px;
      }

      .upload-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
      }

      /* Upload Progress */
      .upload-progress {
        margin-top: 8px;
      }

      .upload-progress-bar {
        width: 100%;
        height: 6px;
        background: var(--surface-2);
        border-radius: 999px;
        overflow: hidden;
        margin-bottom: 6px;
      }

      .upload-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
        border-radius: 999px;
        transition: width 0.3s ease;
      }

      .upload-progress-text {
        font-size: 12px;
        color: var(--muted);
      }

      /* Upload Actions */
      .upload-actions {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .btn-sm {
        width: 32px;
        height: 32px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .btn-sm i {
        width: 16px;
        height: 16px;
      }

      /* Upload Error */
      .upload-error {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.2);
        border-radius: 6px;
        font-size: 12px;
        color: #ef4444;
        margin-top: 8px;
      }

      .upload-error i {
        width: 14px;
        height: 14px;
      }

      /* History Filter */
      .history-filter {
        display: flex;
        gap: 12px;
        margin-bottom: 24px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
      }

      /* History Upload Section with Scrollbar */
      [data-auto-upload-panel="history"] .upload-section {
        max-height: 500px;
        overflow-y: auto;
        padding-right: 8px;
      }

      [data-auto-upload-panel="history"] .upload-section::-webkit-scrollbar {
        width: 8px;
      }

      [data-auto-upload-panel="history"] .upload-section::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
      }

      [data-auto-upload-panel="history"] .upload-section::-webkit-scrollbar-thumb {
        background: rgba(0, 195, 122, 0.3);
        border-radius: 4px;
      }

      [data-auto-upload-panel="history"] .upload-section::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 195, 122, 0.5);
      }

      /* Schedule Form */
      .schedule-form {
        max-width: 700px;
      }

      /* Force hide selection groups when they have display: none */
      #modal-file-select-group[style*="display: none"],
      #modal-platform-select-group[style*="display: none"] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
      }

      /* Button Styles */
      .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        border: 1px solid rgba(0, 224, 146, 0.3);
        border-radius: 10px;
        color: #02150a;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .btn-primary:hover {
        box-shadow: 0 6px 20px rgba(0, 195, 122, 0.3);
        transform: translateY(-1px);
      }

      .btn-primary:active {
        transform: translateY(0);
      }

      .btn-primary i {
        width: 18px;
        height: 18px;
      }

      .btn--danger {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.3);
        border-radius: 10px;
        color: #ef4444;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .btn--danger:hover {
        background: rgba(239, 68, 68, 0.15);
        border-color: rgba(239, 68, 68, 0.5);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
        transform: translateY(-1px);
      }

      .btn--danger:active {
        transform: translateY(0);
      }

      .btn--danger i {
        width: 18px;
        height: 18px;
      }

      .btn-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 10px;
        color: var(--text);
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .btn-icon:hover {
        border-color: var(--accent);
        background: rgba(0, 195, 122, 0.08);
      }

      .btn-icon i {
        width: 20px;
        height: 20px;
      }

      /* Auto Upload Tab Switching */
      .auto-upload-tab {
        position: relative;
      }

      .auto-upload-tab::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--accent);
        transform: scaleX(0);
        transition: transform 0.2s ease;
        transform-origin: center;
        opacity: 0;
      }

      .auto-upload-tab.is-active::before {
        transform: scaleX(1);
        opacity: 1;
      }

      /* Upload Zone */
      .upload-zone {
        border: 2px dashed rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 40px 24px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.02);
      }

      .upload-zone:hover {
        border-color: var(--accent);
        background: rgba(16, 185, 129, 0.05);
      }

      .upload-zone__icon {
        margin-bottom: 16px;
      }

      .upload-zone__icon i {
        width: 48px;
        height: 48px;
        color: var(--accent);
      }

      .upload-zone__title {
        font-size: 16px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 8px;
      }

      .upload-zone__hint {
        font-size: 13px;
        color: var(--muted);
      }

      /* =========================================
         MINIMALIST MODERN SELECTED STATE
         ========================================= */
      
      /* Base selected state - clean and subtle */
      [data-asset].is-selected,
      .asset-card.is-selected,
      .asset-row.is-selected {
        position: relative;
        background: rgba(0, 195, 122, 0.04) !important;
        border: 2px solid var(--accent) !important;
        transition: all 0.2s ease;
      }

      /* Subtle left accent bar */
      [data-asset].is-selected::before,
      .asset-card.is-selected::before,
      .asset-row.is-selected::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--accent);
        z-index: 1;
      }

      /* Hover state - subtle enhancement */
      [data-asset].is-selected:hover,
      .asset-card.is-selected:hover,
      .asset-row.is-selected:hover {
        background: rgba(0, 195, 122, 0.06) !important;
        border-color: var(--accent-2) !important;
      }

      /* Grid view - clean border emphasis */
      .asset-view[data-view="grid"] .asset-card.is-selected {
        border-width: 2px;
      }

      /* Table view - minimal row highlight */
      .asset-view[data-view="table"] .asset-row.is-selected {
        background: rgba(0, 195, 122, 0.05) !important;
      }

      .asset-view[data-view="table"] .asset-row.is-selected td {
        border-color: rgba(0, 195, 122, 0.3) !important;
      }

      /* Table view - remove ::before bar for cleaner look */
      .asset-view[data-view="table"] .asset-row.is-selected::before {
        display: none;
      }

      /* Detail view - subtle card emphasis */
      .asset-view[data-view="detail"] .asset-detail-card.is-selected {
        background: rgba(0, 195, 122, 0.05) !important;
        border-width: 2px;
      }

      /* File icon - subtle accent border */
      [data-asset].is-selected .file-icon,
      .asset-card.is-selected .file-icon,
      .asset-detail-card.is-selected .file-icon {
        border-color: var(--accent) !important;
        opacity: 1;
      }

      /* Text - keep default, no color change */
      [data-asset].is-selected .asset-name,
      .asset-card.is-selected .asset-name,
      .asset-row.is-selected .asset-name {
        color: var(--text) !important;
        font-weight: 500;
      }

      /* Smooth transitions for all states */
      [data-asset],
      .asset-card,
      .asset-row {
        transition: all 0.2s ease;
      }

      /* Selection counter - clean badge */
      .selection-counter {
        background: var(--accent);
        color: white;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.3px;
      }

      /* Remove any existing checkbox styling conflicts */
      [data-asset].is-selected input[type="checkbox"],
      .asset-card.is-selected input[type="checkbox"],
      .asset-row.is-selected input[type="checkbox"] {
        display: none;
      }
    
      /* ========================================
         EDIT SECTION REDESIGN - Minimalist & Modern
         ======================================== */
      
      /* Single column centered layout - no cramped sidebar */
      .edit-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
      }

      /* Compact mode selector - pills instead of large cards */
      .mode-selector {
        display: flex;
        gap: 12px;
        padding: 16px;
        background: rgba(255,255,255,0.03);
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.08);
      }

      .mode-option {
        flex: 1;
        padding: 12px 20px;
        background: transparent;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
      }

      .mode-option:hover {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.15);
      }

      .mode-option.is-active {
        background: rgba(16, 185, 129, 0.15);
        border-color: rgba(16, 185, 129, 0.3);
        color: #10b981;
      }

      /* Increased spacing between sections */
      .edit-header {
        margin-bottom: 32px;
      }

      .source-section {
        margin-bottom: 32px;
        padding: 20px;
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
      }

      /* Simplified file items - cleaner look */
      .file-item {
        padding: 16px;
        margin-bottom: 8px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 10px;
        transition: all 0.2s ease;
      }

      .file-item:hover {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.12);
      }

      /* Softer borders and spacing for output settings */
      .output-summary {
        border-color: rgba(255,255,255,0.08);
        padding: 20px;
        background: rgba(255,255,255,0.02);
        border-radius: 12px;
        margin-top: 24px;
      }

      /* Source tabs - cleaner design */
      .source-tabs {
        gap: 8px;
        margin-bottom: 20px;
      }

      .source-tab {
        padding: 10px 16px;
        background: transparent;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        transition: all 0.2s ease;
      }

      .source-tab:hover {
        background: rgba(255,255,255,0.05);
      }

      .source-tab--active {
        background: rgba(16, 185, 129, 0.1);
        border-color: rgba(16, 185, 129, 0.25);
        color: #10b981;
      }

      /* Resolution buttons - softer design */
      .resolution-btn {
        padding: 12px 20px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        transition: all 0.2s ease;
      }

      .resolution-btn:hover {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.15);
      }

      .resolution-btn--active {
        background: rgba(16, 185, 129, 0.15);
        border-color: rgba(16, 185, 129, 0.3);
        color: #10b981;
      }

      /* Form inputs - better spacing */
      .form-label {
        margin-bottom: 10px;
        font-size: 13px;
        color: rgba(255,255,255,0.7);
      }

      .form-input {
        padding: 12px 14px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        margin-bottom: 20px;
      }

      .form-input:focus {
        background: rgba(255,255,255,0.05);
        border-color: rgba(16, 185, 129, 0.3);
      }

      /* File list container - better spacing */
      .file-list__items {
        padding: 12px;
        gap: 8px;
      }

      /* Action buttons - cleaner spacing */
      .btn-icon {
        padding: 10px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        transition: all 0.2s ease;
      }

      .btn-icon:hover {
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.15);
      }

      /* Primary button - maintain visibility but softer */
      .btn-primary--large {
        padding: 14px 28px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
      }

      /* ========================================
         TEXT ALIGNMENT FIXES - Proportional & Centered
         ======================================== */
      
      /* Page title - center it properly */
      .section--edit > h1:first-child,
      .section h1:first-child {
        text-align: center;
        max-width: 900px;
        margin: 0 auto 24px auto;
        padding: 0 20px;
      }

      /* Section headers - center within container */
      .edit-header {
        text-align: center;
        max-width: 900px;
        margin: 0 auto 32px auto;
        padding: 0 20px;
      }

      .edit-header h2,
      .edit-header h3 {
        margin: 0 auto;
      }

      .edit-header p {
        margin: 8px auto 0 auto;
        opacity: 0.7;
      }

      /* Card headers - center section titles */
      .card-header,
      .edit-card .card-header,
      .source-section h3,
      .output-summary h3 {
        text-align: center;
        margin-bottom: 20px;
      }

      /* File list header - balance text and buttons */
      .file-list__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        gap: 16px;
      }

      .file-list__header span {
        flex: 1;
        text-align: center;
        margin: 0;
      }

      .file-list__header .btn-group {
        flex-shrink: 0;
      }

      /* Form labels - better spacing, not too far left */
      .form-label {
        text-align: left;
        padding-left: 4px;
      }

      /* File items - center content vertically */
      .file-item {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .file-item__info {
        flex: 1;
        min-width: 0;
      }

      /* Output summary - balance layout */
      .output-summary {
        text-align: left;
      }

      .output-summary h3 {
        text-align: center;
        margin-bottom: 20px;
      }

      /* Resolution buttons - center group */
      .resolution-group {
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
      }

      /* ========================================
         RESPONSIVE LAYOUT - Window Resize Support
         ======================================== */
      
      /* Fluid container - adapts to window size */
      .edit-grid {
        width: 100%;
        max-width: min(900px, 100vw - 120px);
        margin: 0 auto;
        padding: 0 clamp(12px, 2vw, 20px);
      }

      /* Responsive mode selector */
      .mode-selector {
        flex-wrap: wrap;
      }

      .mode-option {
        min-width: 200px;
        flex: 1 1 auto;
      }

      /* Responsive source tabs */
      .source-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }

      /* Responsive file list */
      .file-list__items {
        max-height: 400px;
        overflow-y: auto;
      }

      /* Responsive resolution buttons */
      .resolution-btn {
        min-width: 120px;
        flex: 1 1 auto;
      }

      /* Tablet breakpoint (max-width: 768px) */
      @media (max-width: 768px) {
        .edit-grid {
          max-width: 100vw - 100px;
          gap: 24px;
          padding: 0 16px;
        }

        .mode-option {
          min-width: 150px;
        }

        .file-list__header {
          flex-direction: column;
          align-items: stretch;
        }

        .file-list__header span {
          text-align: center;
          margin-bottom: 8px;
        }

        .resolution-btn {
          min-width: 100px;
        }

        .btn-primary--large {
          width: 100%;
        }
      }

      /* Mobile breakpoint (max-width: 480px) */
      @media (max-width: 480px) {
        .edit-grid {
          max-width: 100vw - 80px;
          gap: 20px;
          padding: 0 12px;
        }

        .mode-selector {
          flex-direction: column;
        }

        .mode-option {
          width: 100%;
          min-width: unset;
        }

        .source-tabs {
          flex-direction: column;
        }

        .source-tab {
          width: 100%;
        }

        .file-item {
          flex-direction: column;
          align-items: flex-start;
        }

        .resolution-group {
          flex-direction: column;
        }

        .resolution-btn {
          width: 100%;
          min-width: unset;
        }
      }

      /* Large screen optimization (min-width: 1400px) */
      @media (min-width: 1400px) {
        .edit-grid {
          max-width: 1000px;
        }
      }

      /* Extra large screen (min-width: 1800px) */
      @media (min-width: 1800px) {
        .edit-grid {
          max-width: 1200px;
        }
      }

      /* Ensure smooth transitions on resize */
      .edit-grid,
      .mode-selector,
      .mode-option,
      .source-tabs,
      .file-item,
      .resolution-btn {
        transition: all 0.3s ease;
      }

      /* ========================================
         EDIT SECTION REDESIGN - Balanced Card Design
         Clear Boundaries + Good Spacing
         ======================================== */
      
      /* Main container */
      .section--edit {
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
        max-width: 100%;
        margin: 0;
      }

      /* Header - Clean typography */
      .edit-header {
        text-align: left;
        margin-bottom: 40px;
        padding: 0 clamp(24px, 4vw, 64px);
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
      }

      .edit-header__content {
        padding-left: 29px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }

      .edit-header h2,
      .edit-header h3 {
        margin: 0 0 10px 0;
      }

      .edit-header p {
        margin: 0;
      }

      .edit-header__title {
        font-size: clamp(28px, 3vw, 36px);
        font-weight: 700;
        margin-bottom: 10px;
        color: var(--text);
        letter-spacing: -0.5px;
      }

      .edit-header__subtitle {
        font-size: 15px;
        color: var(--muted);
        font-weight: 400;
        margin: 0;
        opacity: 0.85;
      }

      /* Responsive grid */
      .edit-grid {
        display: grid;
        grid-template-columns: 1.7fr 1fr;
        gap: clamp(24px, 3vw, 40px);
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 clamp(24px, 4vw, 64px) clamp(40px, 6vh, 80px);
        align-items: start;
      }

      @media (max-width: 1100px) {
        .edit-grid {
          grid-template-columns: 1fr;
          gap: 32px;
        }
      }

      /* Cards with visible boundaries - NOT nested, clean design */
      .edit-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        margin-bottom: 0;
      }

      .edit-card:hover {
        border-color: rgba(0, 195, 122, 0.25);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
      }

      /* Card header - clear separation */
      .edit-card__header {
        padding: 20px 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(0, 0, 0, 0.2);
        margin-bottom: 0;
      }

      .edit-card__title {
        font-size: 16px;
        font-weight: 600;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .edit-card__title i {
        width: 18px;
        height: 18px;
        color: var(--accent);
      }

      /* Card body padding matches mode selector padding */
      .edit-card__body {
        padding: 24px;
      }

      /* Mode selector - Pills instead of boxes */
      .mode-selector {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
      }

      .mode-option {
        flex: 1;
        min-width: 280px;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 24px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 16px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
      }

      .mode-option::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 195, 122, 0.05), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      .mode-option:hover::before {
        opacity: 1;
      }

      .mode-option:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(0, 195, 122, 0.3);
        transform: translateY(-2px);
      }

      .mode-option--active {
        background: linear-gradient(135deg, rgba(0, 195, 122, 0.12), rgba(0, 224, 146, 0.08));
        border-color: var(--accent);
        box-shadow: 0 8px 24px rgba(0, 195, 122, 0.15);
      }

      .mode-option__icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 195, 122, 0.1);
        border: none;
        border-radius: 12px;
        flex-shrink: 0;
        color: var(--accent);
        margin-top: 2px;
      }

      .mode-option--active .mode-option__icon {
        background: var(--accent);
        color: #0a0f0d;
      }

      .mode-option__content {
        flex: 1;
        min-width: 0;
        padding-top: 2px;
      }

      .mode-option__label {
        font-size: 16px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 4px;
        line-height: 1.4;
      }

      .mode-option__desc {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.5;
      }

      .mode-option__check {
        flex-shrink: 0;
        color: var(--muted);
        opacity: 0.3;
        margin-top: 12px;
      }

      .mode-option--active .mode-option__check {
        color: var(--accent);
        opacity: 1;
      }

      /* Source tabs - Minimal pills */
      .source-tabs {
        display: inline-flex;
        gap: 8px;
        margin-bottom: 24px;
        padding: 6px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
      }

      .source-tab {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: transparent;
        border: none;
        border-radius: 8px;
        color: var(--muted);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .source-tab:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text);
      }

      .source-tab--active {
        background: var(--accent);
        color: #0a0f0d;
        box-shadow: 0 4px 12px rgba(0, 195, 122, 0.25);
      }

      .source-tab i {
        width: 16px;
        height: 16px;
      }

      /* File list - Clean list, no boxes */
      .file-list__controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 20px;
        padding: 0 0 12px 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
      }

      .file-list__count {
        font-size: 14px;
        color: var(--muted);
        font-weight: 500;
      }

      .file-list__actions {
        display: flex;
        gap: 8px;
      }

      .file-list__items {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: 480px;
        overflow-y: auto;
        padding-right: 8px;
      }

      /* File items - Minimal rows, no boxes */
      .file-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        background: rgba(255, 255, 255, 0.02);
        border: none;
        border-left: 3px solid transparent;
        border-radius: 12px;
        transition: all 0.2s ease;
      }

      .file-item:hover {
        background: rgba(255, 255, 255, 0.05);
        border-left-color: var(--accent);
        transform: translateX(4px);
      }

      .file-item__icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 195, 122, 0.1);
        border: none;
        border-radius: 10px;
        color: var(--accent);
        flex-shrink: 0;
      }

      .file-item__icon i {
        width: 20px;
        height: 20px;
      }

      .file-item__info {
        flex: 1;
        min-width: 0;
      }

      .file-item__name {
        font-size: 15px;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .file-item__meta {
        font-size: 13px;
        color: var(--muted);
      }

      .file-item__remove {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
        opacity: 0;
      }

      .file-item:hover .file-item__remove {
        opacity: 1;
      }

      .file-item__remove:hover {
        background: rgba(239, 68, 68, 0.15);
        border-color: rgba(239, 68, 68, 0.4);
        color: #ef4444;
      }

      .file-item__remove i {
        width: 18px;
        height: 18px;
      }

      /* Form elements - Clean minimal design */
      .settings-form {
        display: flex;
        flex-direction: column;
        gap: 32px;
      }

      .form-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .form-label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .form-label i {
        width: 18px;
        height: 18px;
        color: var(--accent);
      }

      .form-input {
        width: 100%;
        padding: 14px 18px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        color: var(--text);
        font-size: 15px;
        transition: all 0.3s ease;
      }

      .form-input:focus {
        outline: none;
        border-color: var(--accent);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 0 0 4px rgba(0, 195, 122, 0.1);
      }

      .form-hint {
        font-size: 13px;
        color: var(--muted);
        margin-top: -4px;
        opacity: 0.7;
      }

      /* Resolution buttons - Pills */
      .resolution-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }

      .resolution-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 18px 20px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .resolution-btn:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(0, 195, 122, 0.3);
        transform: translateY(-2px);
      }

      .resolution-btn--active {
        background: rgba(0, 195, 122, 0.12);
        border-color: var(--accent);
        box-shadow: 0 4px 16px rgba(0, 195, 122, 0.2);
      }

      .resolution-btn__label {
        font-size: 18px;
        font-weight: 700;
        color: var(--text);
      }

      .resolution-btn__desc {
        font-size: 12px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .resolution-btn--active .resolution-btn__label,
      .resolution-btn--active .resolution-btn__desc {
        color: var(--accent);
      }

      /* Output summary - Clean divider style */
      .output-summary {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px 0;
        background: transparent;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        margin: 32px 0;
      }

      .output-summary__item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
      }

      .output-summary__label {
        font-size: 14px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .output-summary__value {
        font-size: 20px;
        font-weight: 700;
        color: var(--accent);
      }

      /* Primary button - Bold gradient */
      .btn-primary--large {
        width: 100%;
        padding: 18px 32px;
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        border: none;
        border-radius: 14px;
        color: #0a0f0d;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 8px 24px rgba(0, 195, 122, 0.3);
      }

      .btn-primary--large:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(0, 195, 122, 0.4);
      }

      .btn-primary--large:active {
        transform: translateY(-1px);
      }

      .btn-primary--large i {
        width: 20px;
        height: 20px;
      }

      /* Small buttons - Minimal */
      .btn-sm,
      .btn-icon {
        padding: 10px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .btn-sm:hover,
      .btn-icon:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: var(--accent);
        color: var(--accent);
      }

      .btn-sm i,
      .btn-icon i {
        width: 18px;
        height: 18px;
      }

      /* Sticky sidebar */
      .edit-card--sticky {
        position: sticky;
        top: 32px;
      }

      /* Source content visibility */
      .source-content {
        display: none;
      }

      .source-content--active {
        display: block;
      }

      /* Smooth scrollbars */
      .file-list__items::-webkit-scrollbar {
        width: 4px;
      }

      .file-list__items::-webkit-scrollbar-track {
        background: transparent;
      }

      .file-list__items::-webkit-scrollbar-thumb {
        background: rgba(0, 195, 122, 0.3);
        border-radius: 10px;
      }

      .file-list__items::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 195, 122, 0.6);
      }

      /* Card actions buttons */
      .edit-card__actions {
        display: flex;
        gap: 8px;
      }

      /* ========================================
         STATUS RENDER SECTION - Minimalist Modern Redesign
         ======================================== */
      
      .section--render {
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
        max-width: 1400px;
        margin: 0 auto;
      }

      /* Header */
      .render-header-new {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 32px;
        padding: 0 clamp(20px, 3vw, 40px);
      }

      .render-header-new__content {
        flex: 1;
      }

      .render-header-new__title {
        font-size: clamp(22px, 2.5vw, 28px);
        font-weight: 700;
        color: var(--text);
        margin: 0 0 6px 0;
        line-height: 1.2;
      }

      .render-header-new__subtitle {
        font-size: clamp(13px, 1.2vw, 14px);
        color: var(--muted);
        margin: 0;
        line-height: 1.5;
      }

      .render-header-new__controls {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      /* Container */
      .render-container {
        display: flex;
        flex-direction: column;
        gap: clamp(20px, 2.5vw, 32px);
        padding: 0 clamp(20px, 3vw, 40px);
        max-width: 100%;
      }

      /* Section */
      .render-section {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
      }

      .render-section:hover {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
      }

      .render-section__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: clamp(16px, 2vw, 20px) clamp(18px, 2.5vw, 24px);
        border-bottom: 1px solid var(--border);
        background: rgba(18, 20, 24, 0.5);
      }

      .render-section__title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: clamp(15px, 1.5vw, 17px);
        font-weight: 600;
        color: var(--text);
        margin: 0;
        line-height: 1.3;
      }

      .render-section__title i {
        width: clamp(18px, 2vw, 20px);
        height: clamp(18px, 2vw, 20px);
        color: var(--accent);
        flex-shrink: 0;
      }

      .render-section__body {
        padding: clamp(16px, 2vw, 20px) clamp(18px, 2.5vw, 24px);
        display: flex;
        flex-direction: column;
        gap: clamp(10px, 1.2vw, 12px);
      }

      .render-section__body--scrollable {
        max-height: clamp(300px, 35vh, 400px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 195, 122, 0.3) transparent;
      }

      .render-section__body--scrollable::-webkit-scrollbar {
        width: 6px;
      }

      .render-section__body--scrollable::-webkit-scrollbar-track {
        background: transparent;
      }

      .render-section__body--scrollable::-webkit-scrollbar-thumb {
        background: rgba(0, 195, 122, 0.3);
        border-radius: 10px;
      }

      .render-section__body--scrollable::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 195, 122, 0.5);
      }

      /* Render Item */
      .render-item {
        display: flex;
        align-items: flex-start;
        gap: clamp(14px, 1.8vw, 18px);
        padding: clamp(14px, 1.8vw, 16px) clamp(16px, 2vw, 18px);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        transition: all 0.2s ease;
        min-height: 70px;
      }

      .render-item:hover {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(0, 195, 122, 0.3);
        transform: translateX(2px);
      }

      .render-item--active {
        border-color: rgba(99, 102, 241, 0.4);
        background: linear-gradient(90deg, rgba(99, 102, 241, 0.08), transparent);
        box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.2);
      }

      .render-item--success {
        border-left: 3px solid rgba(16, 185, 129, 0.5);
      }

      .render-item--failed {
        border-left: 3px solid rgba(239, 68, 68, 0.5);
      }

      .render-item--cancelled {
        border-left: 3px solid rgba(251, 191, 36, 0.5);
      }

      .render-item__icon {
        width: clamp(40px, 4.5vw, 48px);
        height: clamp(40px, 4.5vw, 48px);
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 195, 122, 0.1);
        border: 1px solid rgba(0, 195, 122, 0.2);
        border-radius: 10px;
        color: var(--accent);
        flex-shrink: 0;
        margin-top: 2px;
      }

      .render-item__icon i {
        width: clamp(20px, 2.2vw, 24px);
        height: clamp(20px, 2.2vw, 24px);
      }

      .render-item__content {
        flex: 1;
        min-width: 0;
        max-width: none;
      }

      .render-item__name {
        font-size: clamp(14px, 1.4vw, 15px);
        font-weight: 500;
        color: var(--text);
        margin-bottom: 6px;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        line-height: 1.5;
        word-break: break-word;
        max-width: 100%;
      }

      .render-item__meta {
        font-size: clamp(12px, 1.2vw, 13px);
        color: var(--muted);
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        line-height: 1.5;
      }

      .render-item__progress {
        margin-top: 8px;
      }

      .render-item__action {
        width: clamp(34px, 3.8vw, 38px);
        height: clamp(34px, 3.8vw, 38px);
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
        opacity: 0;
        margin-top: 2px;
      }

      .render-item:hover .render-item__action {
        opacity: 1;
      }

      .render-item__action:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: var(--accent);
        color: var(--accent);
      }

      .render-item__action--danger:hover {
        background: rgba(239, 68, 68, 0.15);
        border-color: rgba(239, 68, 68, 0.4);
        color: #ef4444;
      }

      .render-item__action i {
        width: clamp(16px, 1.8vw, 18px);
        height: clamp(16px, 1.8vw, 18px);
      }

      /* Progress Bar */
      .progress-bar {
        width: 100%;
        height: 6px;
        background: var(--surface-2);
        border-radius: 999px;
        overflow: hidden;
        margin-bottom: 6px;
        border: 1px solid var(--border);
      }

      .progress-bar__fill {
        height: 100%;
        background: linear-gradient(90deg, rgba(99, 102, 241, 0.9), rgba(129, 140, 248, 0.95));
        border-radius: 999px;
        transition: width 0.3s ease;
      }

      .progress-bar__text {
        font-size: clamp(11px, 1.1vw, 12px);
        color: var(--muted);
        line-height: 1.5;
      }

      /* Badges */
      .render-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border);
        border-radius: 8px;
        font-size: clamp(11px, 1.1vw, 12px);
        font-weight: 500;
        color: var(--muted);
        line-height: 1;
      }

      .render-badge i {
        width: 14px;
        height: 14px;
      }

      .render-badge--processing {
        background: rgba(99, 102, 241, 0.12);
        border-color: rgba(99, 102, 241, 0.3);
        color: #818cf8;
      }

      .btn-icon--sm {
        width: 32px;
        height: 32px;
        padding: 0;
      }

      .btn-icon--sm i {
        width: 16px;
        height: 16px;
      }

      /* Badge variants */
      .badge--success {
        background: rgba(16, 185, 129, 0.12);
        border-color: rgba(16, 185, 129, 0.3);
        color: #10b981;
      }

      .badge--failed {
        background: rgba(239, 68, 68, 0.12);
        border-color: rgba(239, 68, 68, 0.3);
        color: #ef4444;
      }

      .badge--cancelled {
        background: rgba(251, 191, 36, 0.12);
        border-color: rgba(251, 191, 36, 0.3);
        color: #fbbf24;
      }

      /* Responsive adjustments */
      @media (max-width: 768px) {
        .render-header-new {
          flex-direction: column;
          align-items: flex-start;
        }

        .render-header-new__controls {
          width: 100%;
          justify-content: flex-start;
        }

        .render-item {
          flex-wrap: wrap;
        }

        .render-item__action {
          opacity: 1;
        }
      }

      /* Render Tabs */
      .render-tabs {
        display: flex;
        gap: 12px;
        padding: 0 clamp(20px, 3vw, 40px);
        margin-bottom: 24px;
      }

      .render-tab {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        background: transparent;
        border: none;
        border-bottom: 2px solid transparent;
        color: var(--muted);
        font-size: clamp(14px, 1.4vw, 15px);
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
      }

      .render-tab i {
        width: 18px;
        height: 18px;
      }

      .render-tab:hover {
        color: var(--text);
        background: rgba(255, 255, 255, 0.03);
      }

      .render-tab--active {
        color: var(--accent);
        border-bottom-color: var(--accent);
      }

      .render-tab--active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--accent);
        border-radius: 2px 2px 0 0;
      }

      .render-tab-content {
        display: none;
      }

      .render-tab-content--active {
        display: block;
      }

      @media (max-width: 768px) {
        .render-tabs {
          gap: 8px;
        }

        .render-tab {
          padding: 10px 16px;
          font-size: 13px;
        }
      }

      /* ========================================
         YOUTUBE API - Account Grid Layout
         ======================================== */
      
      /* Account Grid Container */
      .account-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
        max-width: 1400px;
        margin: 0 auto;
      }

      /* Account Card */
      .account-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        transition: all 0.3s ease;
      }

      .account-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        border-color: var(--accent);
      }

      /* Account Header */
      .account-header {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .account-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 700;
        font-size: 18px;
        flex-shrink: 0;
      }

      .account-info {
        flex: 1;
        min-width: 0;
      }

      .account-name {
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .account-status {
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
      }

      /* Account Stats */
      .account-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }

      .stat-item {
        text-align: center;
        padding: 10px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
      }

      .stat-value {
        font-size: 18px;
        font-weight: 700;
        color: var(--accent);
        margin-bottom: 4px;
        line-height: 1.2;
      }

      .stat-label {
        font-size: 11px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.3;
      }

      /* Responsive Grid */
      @media (min-width: 1400px) {
        .account-grid {
          grid-template-columns: repeat(4, 1fr);
        }
      }

      @media (min-width: 1000px) and (max-width: 1399px) {
        .account-grid {
          grid-template-columns: repeat(3, 1fr) !important;
        }
      }

      @media (min-width: 700px) and (max-width: 999px) {
        .account-grid {
          grid-template-columns: repeat(2, 1fr) !important;
        }
      }

      @media (max-width: 699px) {
        .account-grid {
          grid-template-columns: 1fr !important;
        }
      }

      /* ========================================
         YOUTUBE API - Analytics Time Range Selector Fix
         ======================================== */
      
      [data-youtube-panel="analytics"] select.form-input {
        padding: 0 50px 0 20px !important;
        height: 60px !important;
        line-height: 60px !important;
        min-width: 220px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
      }
      
      [data-youtube-panel="analytics"] select.form-input option {
        padding: 12px !important;
        line-height: normal !important;
      }
    
      
      /* ========================================
         YOUTUBE API - Tabs (Status Render Style)
         ======================================== */
      
      /* Tab container */
      .asset-tabs {
        display: flex;
        gap: 12px;
        margin-bottom: 24px;
      }
      
      /* Base tab button styling */
      .active-youtube-tab {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: 0;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        border: none;
        border-bottom: 2px solid transparent;
        background: transparent;
        color: #C2C2C2;
        position: relative;
      }
      
      /* Icon styling */
      .active-youtube-tab svg,
      .active-youtube-tab i {
        width: 18px;
        height: 18px;
        transition: all 0.2s ease;
      }
      
      /* Inactive tab hover effect */
      .active-youtube-tab:not(.is-active):hover {
        color: rgba(255,255,255,0.8);
      }
      
      /* Active tab styling - green accent like Status Render */
      .active-youtube-tab.is-active {
        background: transparent;
        border-bottom-color: #1ED07F;
        color: #1ED07F;
        box-shadow: none;
      }
      
      .active-youtube-tab.is-active svg,
      .active-youtube-tab.is-active i {
        color: #1ED07F;
      }
      
      /* Remove all old styling */
      .active-youtube-tab.btn--ghost {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
      }
    
    </style>
    <style>
      .lucide {
        width: 18px;
        height: 18px;
        stroke-width: 2;
        stroke: currentColor;
        fill: none;
      }
    </style>
    <style>
      /* File Picker Modal */
      .file-picker-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .file-picker-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
      }

      .file-picker-content {
        position: relative;
        background: #0f1310;
        border: 1px solid rgba(0, 195, 122, 0.2);
        border-radius: 16px;
        width: 90%;
        max-width: 700px;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: modalSlideIn 0.3s ease-out;
      }

      @keyframes modalSlideIn {
        from {
          opacity: 0;
          transform: translateY(-20px) scale(0.95);
        }
        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      .file-picker-header {
        padding: 24px 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      .file-picker-title {
        font-size: 18px;
        font-weight: 600;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
      }

      .file-picker-title i {
        width: 20px;
        height: 20px;
        color: var(--accent);
      }

      .file-picker-close {
        background: none;
        border: none;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 8px;
        color: var(--muted);
        transition: all 0.2s ease;
      }

      .file-picker-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text);
      }

      .file-picker-body {
        padding: 20px 28px;
        overflow-y: auto;
        flex: 1;
        min-height: 300px;
        max-height: 500px;
      }

      .file-picker-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .file-picker-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
      }

      .file-picker-item:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(0, 195, 122, 0.3);
      }

      .file-picker-item--selected {
        background: rgba(0, 195, 122, 0.1) !important;
        border-color: var(--accent) !important;
      }

      /* Disabled state for already added files */
      .file-picker-item--disabled {
        opacity: 0.5;
        cursor: not-allowed !important;
        position: relative;
      }

      .file-picker-item--disabled::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 12px;
        pointer-events: none;
        z-index: 0;
      }

      .file-picker-item--disabled:hover {
        background: rgba(255, 255, 255, 0.02) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
      }

      .file-picker-item-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
        font-size: 10px;
        font-weight: 600;
        padding: 4px 8px;
        border-radius: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid rgba(239, 68, 68, 0.3);
        z-index: 1;
      }

      .file-picker-checkbox {
        width: 20px;
        height: 20px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        position: relative;
        z-index: 1;
      }

      .file-picker-item--selected .file-picker-checkbox {
        background: var(--accent);
        border-color: var(--accent);
      }

      .file-picker-checkbox i {
        width: 14px;
        height: 14px;
        color: #0a0f0d;
        display: none;
      }

      .file-picker-item--selected .file-picker-checkbox i {
        display: block;
      }

      .file-picker-item-icon {
        width: 40px;
        height: 40px;
        background: rgba(0, 195, 122, 0.1);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
      }

      .file-picker-item-icon i {
        width: 20px;
        height: 20px;
        color: var(--accent);
      }

      .file-picker-item-info {
        flex: 1;
        min-width: 0;
        position: relative;
        z-index: 1;
      }

      .file-picker-item-name {
        font-size: 14px;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .file-picker-item-meta {
        font-size: 12px;
        color: var(--muted);
        display: flex;
        gap: 12px;
      }

      .file-picker-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        color: var(--muted);
        text-align: center;
      }

      .file-picker-empty i {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
        opacity: 0.5;
      }

      .file-picker-empty p {
        margin: 0;
        font-size: 15px;
      }

      .file-picker-footer {
        padding: 20px 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        gap: 12px;
        justify-content: flex-end;
      }

      .file-picker-footer .btn,
      .file-picker-footer .btn-primary {
        min-width: 120px;
      }

      /* Auto Upload Modal */
      .auto-upload-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        display: none;
        align-items: center;
        justify-content: center;
      }

      .auto-upload-modal--active {
        display: flex !important;
      }

      .auto-upload-modal__overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
      }

      .auto-upload-modal__content {
        position: relative;
        background: #0f1310;
        border: 1px solid rgba(0, 195, 122, 0.2);
        border-radius: 16px;
        width: 90%;
        max-width: 650px;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: modalSlideIn 0.3s ease-out;
      }

      .auto-upload-modal__header {
        padding: 24px 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      .auto-upload-modal__title {
        font-size: 18px;
        font-weight: 600;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
      }

      .auto-upload-modal__title i {
        width: 20px;
        height: 20px;
        color: var(--accent);
      }

      .auto-upload-modal__close {
        background: none;
        border: none;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 8px;
        color: var(--muted);
        transition: all 0.2s ease;
      }

      .auto-upload-modal__close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text);
      }

      .auto-upload-modal__body {
        padding: 24px 28px;
        overflow-y: auto;
        flex: 1;
      }

      .auto-upload-modal__footer {
        padding: 20px 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        gap: 12px;
        justify-content: flex-end;
      }
    </style>
      .lucide {
        width: 18px;
        height: 18px;
        stroke-width: 2;
        stroke: currentColor;
        fill: none;
      }
    </style>
      /* File Picker Modal */
      .file-picker-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .file-picker-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
      }

      .file-picker-content {
        position: relative;
        background: #0f1310;
        border: 1px solid rgba(0, 195, 122, 0.2);
        border-radius: 16px;
        width: 90%;
        max-width: 700px;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: modalSlideIn 0.3s ease-out;
      }

      @keyframes modalSlideIn {
        from {
          opacity: 0;
          transform: translateY(-20px) scale(0.95);
        }
        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      .file-picker-header {
        padding: 24px 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      .file-picker-title {
        font-size: 18px;
        font-weight: 600;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
      }

      .file-picker-title i {
        width: 20px;
        height: 20px;
        color: var(--accent);
      }

      .file-picker-close {
        background: none;
        border: none;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 8px;
        color: var(--muted);
        transition: all 0.2s ease;
      }

      .file-picker-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text);
      }

      .file-picker-body {
        padding: 20px 28px;
        overflow-y: auto;
        flex: 1;
        min-height: 300px;
        max-height: 500px;
      }

      .file-picker-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .file-picker-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
      }

      .file-picker-item:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(0, 195, 122, 0.3);
      }

      .file-picker-item--selected {
        background: rgba(0, 195, 122, 0.1) !important;
        border-color: var(--accent) !important;
      }

      /* Disabled state for already added files */
      .file-picker-item--disabled {
        opacity: 0.5;
        cursor: not-allowed !important;
        position: relative;
      }

      .file-picker-item--disabled::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 12px;
        pointer-events: none;
        z-index: 0;
      }

      .file-picker-item--disabled:hover {
        background: rgba(255, 255, 255, 0.02) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
      }

      .file-picker-item-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
        font-size: 10px;
        font-weight: 600;
        padding: 4px 8px;
        border-radius: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid rgba(239, 68, 68, 0.3);
        z-index: 1;
      }

      .file-picker-checkbox {
        width: 20px;
        height: 20px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        position: relative;
        z-index: 1;
      }

      .file-picker-item--selected .file-picker-checkbox {
        background: var(--accent);
        border-color: var(--accent);
      }

      .file-picker-checkbox i {
        width: 14px;
        height: 14px;
        color: #0a0f0d;
        display: none;
      }

      .file-picker-item--selected .file-picker-checkbox i {
        display: block;
      }

      .file-picker-item-icon {
        width: 40px;
        height: 40px;
        background: rgba(0, 195, 122, 0.1);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
      }

      .file-picker-item-icon i {
        width: 20px;
        height: 20px;
        color: var(--accent);
      }

      .file-picker-item-info {
        flex: 1;
        min-width: 0;
        position: relative;
        z-index: 1;
      }

      .file-picker-item-name {
        font-size: 14px;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .file-picker-item-meta {
        font-size: 12px;
        color: var(--muted);
        display: flex;
        gap: 12px;
      }

      .file-picker-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        color: var(--muted);
        text-align: center;
      }

      .file-picker-empty i {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
        opacity: 0.5;
      }

      .file-picker-empty p {
        margin: 0;
        font-size: 15px;
      }

      .file-picker-footer {
        padding: 20px 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        gap: 12px;
        justify-content: flex-end;
      }

      .file-picker-footer .btn,
      .file-picker-footer .btn-primary {
        min-width: 120px;
      }

      /* Auto Upload Modal */
      .auto-upload-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        display: none;
        align-items: center;
        justify-content: center;
      }

      .auto-upload-modal--active {
        display: flex !important;
      }

      .auto-upload-modal__overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
      }

      .auto-upload-modal__content {
        position: relative;
        background: #0f1310;
        border: 1px solid rgba(0, 195, 122, 0.2);
        border-radius: 16px;
        width: 90%;
        max-width: 650px;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: modalSlideIn 0.3s ease-out;
      }

      .auto-upload-modal__header {
        padding: 24px 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      .auto-upload-modal__title {
        font-size: 18px;
        font-weight: 600;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
      }

      .auto-upload-modal__title i {
        width: 20px;
        height: 20px;
        color: var(--accent);
      }

      .auto-upload-modal__close {
        background: none;
        border: none;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 8px;
        color: var(--muted);
        transition: all 0.2s ease;
      }

      .auto-upload-modal__close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text);
      }

      .auto-upload-modal__body {
        padding: 24px 28px;
        overflow-y: auto;
        flex: 1;
      }

      .auto-upload-modal__footer {
        padding: 20px 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        gap: 12px;
        justify-content: flex-end;
      }
    </style>
