        /* ══════════════════════════════════════════
           HOME SCREEN (Pencil/Figma exact match)
           ══════════════════════════════════════════ */
        .home-main {
            flex: 1; padding: 24px 24px 24px;
            display: flex; flex-direction: column; gap: 16px; overflow-y: auto;
        }
        .home-greeting { font-family: 'Montserrat', 'Inter', sans-serif; font-size: 24px; font-weight: 800; color: #243A44; letter-spacing: -0.3px; line-height: 1.3; }
        .home-subtitle { font-size: 14px; color: #81959E; margin-bottom: 8px; line-height: 1.5; text-wrap: balance; }
        .home-cards-row { display: flex; gap: 16px; flex: 1; min-height: 0; }
        /* Queue counters */
        .home-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
        .home-header-info { display: flex; flex-direction: column; gap: 0; }
        .queue-counters { display: flex; gap: 8px; align-items: center; padding-top: 6px; flex-shrink: 0; }
        .queue-tag {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 5px 12px; border-radius: 999px; border: 1px solid;
            font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
            cursor: pointer; transition: all 0.15s; user-select: none;
        }
        .queue-tag.done {
            background: rgba(13,177,98,0.10); border-color: rgba(13,177,98,0.30); color: #0A9B55;
        }
        .queue-tag.done:hover { background: rgba(13,177,98,0.18); border-color: rgba(13,177,98,0.50); }
        .queue-tag.running {
            background: rgba(255,180,35,0.12); border-color: rgba(255,180,35,0.40); color: #A87200;
        }
        .queue-tag.running:hover { background: rgba(255,180,35,0.22); border-color: rgba(255,180,35,0.60); }
        .queue-tag .material-symbols-rounded { font-size: 15px; }
        /* Queue modal */
        .queue-modal-cols { display: flex; gap: 0; min-height: 320px; max-height: 480px; }
        .queue-col { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
        .queue-col + .queue-col { border-left: 1px solid #E6EAEC; }
        .queue-col-head {
            display: flex; align-items: center; gap: 8px;
            padding: 14px 18px 10px; font-family: 'Inter', sans-serif;
            font-size: 13px; font-weight: 700; border-bottom: 1px solid #E6EAEC;
            flex-shrink: 0;
        }
        .queue-col-head .qch-dot {
            width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0;
        }
        .queue-col-list { flex: 1; overflow-y: auto; padding: 6px 0; }
        .queue-row {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 18px; transition: background 0.1s; cursor: default;
        }
        .queue-row:hover { background: #F7F9FA; }
        .queue-row.clickable { cursor: pointer; }
        .queue-row-icon {
            width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
        }
        .queue-row-icon.done-icon { background: rgba(13,177,98,0.10); color: #0DB162; }
        .queue-row-icon.run-icon { background: rgba(255,180,35,0.12); color: #C28100; }
        .queue-row-body { flex: 1; min-width: 0; }
        .queue-row-title { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: #243A44; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .queue-row-meta { font-family: 'Inter', sans-serif; font-size: 12px; color: #81959E; margin-top: 2px; }
        .queue-row-play {
            width: 30px; height: 30px; border-radius: 6px; border: none; background: none;
            display: flex; align-items: center; justify-content: center;
            color: #25D580; cursor: pointer; transition: all 0.15s; flex-shrink: 0;
        }
        .queue-row-play:hover { background: rgba(37,213,128,0.10); color: #1BB06A; }
        .queue-spinner {
            width: 18px; height: 18px; border: 2px solid rgba(255,180,35,0.25);
            border-top-color: #FFB423; border-radius: 999px;
            animation: spin 0.8s linear infinite; flex-shrink: 0;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        .queue-empty {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            gap: 8px; padding: 40px 20px; color: #B0BEC5;
            font-family: 'Inter', sans-serif; font-size: 13px;
        }

        /* Left Card */
        .left-card {
            width: 480px; flex-shrink: 0;
            background: #FFFFFF; border: 1px solid #E6EAEC; border-radius: 8px;
            padding: 20px; display: flex; flex-direction: column; gap: 16px;
            box-shadow: 0 1px 3px rgba(36,58,68,0.08);
        }
        .left-card-title { font-size: 16px; font-weight: 600; color: #243A44; }
        .mode-card {
            display: flex; align-items: center; gap: 16px;
            background: #FFFFFF; border: 1px solid #E6EAEC;
            border-radius: 8px; padding: 16px 20px;
            cursor: pointer; transition: all 0.2s;
        }
        .mode-card:hover { border-color: #4695E1; background: rgba(70,149,225,0.02); box-shadow: 0 1px 3px rgba(36,58,68,0.08); }
        .mode-icon {
            width: 40px; height: 40px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .mode-icon .material-symbols-rounded { font-size: 20px; }
        .mode-icon.assistido { background: rgba(70,149,225,0.12); }
        .mode-icon.assistido .material-symbols-rounded { color: #4695E1; }
        .mode-icon.prompt { background: rgba(171,71,188,0.12); }
        .mode-icon.prompt .material-symbols-rounded { color: #AB47BC; }
        .mode-icon.expert { background: rgba(229,57,53,0.12); }
        .mode-icon.expert .material-symbols-rounded { color: #E95050; }
        .mode-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
        .mode-title { font-size: 14px; font-weight: 600; color: #243A44; }
        .mode-desc { font-size: 14px; color: #81959E; line-height: 1.4; text-wrap: balance; }

        /* Right Card */
        .right-card {
            flex: 1; background: #FFFFFF; border-radius: 8px;
            display: flex; flex-direction: column; overflow: hidden;
            box-shadow: 0 1px 3px rgba(36,58,68,0.08); border: 1px solid #E6EAEC;
        }
        .rc-header { padding: 20px 20px 0; }
        .rc-title { font-size: 16px; font-weight: 600; color: #243A44; }
        .rc-tabs {
            display: flex; flex-direction: row; align-items: flex-start;
            padding: 0 20px; gap: 24px; height: 48px;
        }
        .rc-tab {
            box-sizing: border-box;
            display: flex; justify-content: center; align-items: center;
            padding: 0; gap: 8px; height: 48px;
            font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400;
            line-height: 17px; text-align: center;
            color: #81959E;
            border: none; background: none; cursor: pointer;
            border-bottom: 4px solid transparent;
            transition: all 0.15s;
        }
        .rc-tab.active { border-bottom-color: #25D580; font-weight: 600; color: #243A44; }
        .rc-tab:hover:not(.active) { color: #243A44; border-bottom-color: #E6EAEC; }
        /* Custom tab – edit button */
        .tab-edit-btn {
            display: none;
            width: 20px; height: 20px; border-radius: 4px; border: none; background: none;
            align-items: center; justify-content: center; flex-shrink: 0;
            color: #81959E; cursor: pointer; transition: all 0.15s;
        }
        .rc-tab-custom:hover .tab-edit-btn,
        .rc-tab-custom.active .tab-edit-btn { display: flex; }
        .tab-edit-btn:hover { background: rgba(70,149,225,0.06); color: #4695E1; }
        /* Tab menu popover */
        .tab-menu-popover {
            position: fixed; z-index: 1500;
            background: #FFFFFF; border: 1px solid #E6EAEC; border-radius: 6px;
            box-shadow: 0 4px 16px rgba(36,58,68,0.13); padding: 4px 0; min-width: 150px;
            display: none;
        }
        .tab-menu-popover.open { display: block; }
        .tab-menu-item {
            display: flex; align-items: center; gap: 8px;
            padding: 8px 14px; font-family: 'Inter', sans-serif;
            font-size: 13px; color: #243A44; cursor: pointer; transition: background 0.1s;
        }
        .tab-menu-item:hover { background: #EEF2F5; }
        .tab-menu-item.danger { color: #E95050; }
        .tab-menu-item.danger:hover { background: rgba(233,80,80,0.06); }
        .tab-menu-item .material-symbols-rounded { font-size: 16px; color: #81959E; flex-shrink: 0; }
        .tab-menu-item.danger .material-symbols-rounded { color: #E95050; }
        .rc-tab-count {
            display: inline-flex; align-items: center; justify-content: center;
            min-width: 20px; height: 20px; padding: 0 6px;
            border-radius: 10px; background: #EEF2F5;
            font-size: 12px; font-weight: 600; color: #81959E; line-height: 1;
        }
        .rc-tab.active .rc-tab-count { background: rgba(70,149,225,0.12); color: #4695E1; }
        .rc-toolbar { display: flex; gap: 8px; padding: 16px 20px; }
        .rc-search {
            flex: 1; display: flex; align-items: center; gap: 8px;
            height: 44px; border: 1px solid #E6EAEC; border-radius: 4px; padding: 0 16px;
            background: #FFFFFF;
        }
        .rc-search i, .rc-search svg { width: 16px; height: 16px; color: #90A4AE; stroke: #90A4AE; flex-shrink: 0; }
        .rc-search input {
            border: none; outline: none; font-size: 14px;
            color: #243A44; flex: 1; background: transparent;
        }
        .rc-search input::placeholder { color: #BDBDBD; }
        .rc-dropdown {
            display: flex; align-items: center; gap: 6px;
            height: 44px; border: 1px solid #E6EAEC; border-radius: 4px; padding: 0 16px;
            cursor: pointer; white-space: nowrap; background: #FFFFFF;
        }
        .rc-dropdown span { font-size: 14px; font-weight: 500; color: #243A44; }
        .rc-dropdown i, .rc-dropdown svg { width: 14px; height: 14px; color: #90A4AE; stroke: #90A4AE; }

        /* Report Rows */
        .rc-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
        .rc-row {
            display: flex; align-items: center; gap: 16px;
            height: 42px; padding: 0 20px; flex-shrink: 0;
            border-bottom: 1px solid #E0E6EB;
            cursor: pointer; transition: all 0.15s;
        }
        .rc-row:hover { background: #F5F7F9; }
        .rc-row.selected { background: rgba(70,149,225,0.06); }
        .rc-row-check {
            width: 18px; height: 18px; border-radius: 4px; border: 2px solid #D0D5DD;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
            cursor: pointer; transition: all 0.15s; background: #FFFFFF;
        }
        .rc-row-check.checked { background: var(--azul-1); border-color: var(--azul-1); }
        .rc-row-check .material-symbols-rounded { font-size: 14px; color: #FFFFFF; display: none; }
        .rc-row-check.checked .material-symbols-rounded { display: block; }
        .rc-row-icon { font-size: 20px; color: #90A4AE; flex-shrink: 0; }
        .rc-row-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
        .rc-row-name {
            font-size: 14px; font-weight: 500; color: #243A44;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .rc-row-sub { font-size: 12px; color: #90A4AE; }
        .rc-row-actions {
            display: flex; align-items: center; gap: 4px; flex-shrink: 0;
            opacity: 0; transition: opacity 0.15s;
        }
        .rc-row:hover .rc-row-actions { opacity: 1; }
        .rc-row-action {
            width: 32px; height: 32px; border-radius: 4px; border: none; background: none;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; color: var(--texto-claro); transition: all 0.15s;
        }
        .rc-row-action:hover { background: #F0F0F0; }
        .rc-row-action.delete:hover { color: var(--vermelho); background: rgba(233,80,80,0.06); }
        .rc-row-action.edit:hover { color: var(--azul-1); background: rgba(70,149,225,0.06); }

        /* Folder cards grid */
        .rc-folder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px; }
        .rc-folder-card {
            display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px;
            min-height: 64px; box-sizing: border-box;
            background: #FFFFFF; border: 1px solid #E6EAEC; border-radius: 8px;
            cursor: pointer; transition: all 0.15s;
        }
        .rc-folder-card:hover { border-color: #4695E1; background: rgba(70,149,225,0.04); box-shadow: 0 1px 3px rgba(36,58,68,0.08); }
        .rc-folder-card-icon {
            width: 36px; height: 36px; border-radius: 999px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .rc-folder-card-icon .material-symbols-rounded { font-size: 18px; }
        .rc-folder-card-info { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
        .rc-folder-card-name { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #243A44; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .rc-folder-card-count { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; color: #81959E; display: flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        /* Folder detail back bar */
        .rc-folder-back {
            display: flex; align-items: center; gap: 8px; padding: 12px 20px;
            border-bottom: 1px solid #E0E6EB; cursor: pointer; user-select: none; transition: background 0.15s;
        }
        .rc-folder-back:hover { background: #F5F7F9; }
        .rc-folder-back .material-symbols-rounded { font-size: 18px; color: #81959E; }
        .rc-folder-back-name { font-size: 14px; font-weight: 600; color: #243A44; }
        .rc-folder-back-count { font-size: 12px; font-weight: 600; color: #4695E1; background: rgba(70,149,225,0.08); padding: 2px 8px; border-radius: 9999px; }
        /* Item cards inside folders */
        .rc-item-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px; }
        .rc-item-card {
            display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px;
            background: #FFFFFF; border: 1px solid #E6EAEC; border-radius: 8px;
            cursor: pointer; transition: all 0.15s; position: relative;
        }
        .rc-item-card:hover { border-color: #4695E1; background: rgba(70,149,225,0.04); box-shadow: 0 1px 3px rgba(36,58,68,0.08); }
        .rc-item-card-title { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #243A44; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .rc-item-card-meta { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; color: #81959E; }
        .rc-item-card-actions {
            display: flex; gap: 2px; margin-left: auto; flex-shrink: 0;
            opacity: 0; transition: opacity 0.15s;
        }
        .rc-item-card:hover .rc-item-card-actions { opacity: 1; }
        .rc-folder-card:hover .rc-item-card-actions { opacity: 1; }
        .rc-table-header {
            display: flex; align-items: center; gap: 16px; height: 36px; padding: 0 20px;
            border-bottom: 1px solid #E0E6EB; background: #F8FAFB;
        }
        .rc-th {
            font-size: 12px; font-weight: 600; color: #80878F; text-transform: uppercase;
            display: flex; align-items: center; justify-content: flex-start; text-align: left;
            gap: 4px; cursor: pointer; user-select: none;
        }
        .rc-th:hover { color: #243A44; }
        .rc-th .material-symbols-rounded { font-size: 14px; }
        .rc-col-name { flex: 1; text-align: left; }
        .rc-col-author { width: 160px; flex-shrink: 0; text-align: left; }
        .rc-col-date { width: 120px; flex-shrink: 0; text-align: left; }

        /* Pagination Footer */
        .rc-footer {
            display: flex; align-items: center; justify-content: space-between;
            height: 48px; padding: 0 20px; border-top: 1px solid #EEEEEE; flex-shrink: 0;
        }
        .rc-footer-text { font-size: 12px; color: #90A4AE; }
        .rc-pages { display: flex; align-items: center; gap: 4px; }
        .rc-page {
            width: 32px; height: 32px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
            font-size: 14px; font-weight: 500; color: #243A44;
            cursor: pointer; border: 1px solid #E6EAEC; background: #FFFFFF; transition: background 0.15s;
        }
        .rc-page:hover { background: #F5F5F5; }
        .rc-page.active { background: #4695E1; color: #FFFFFF; font-weight: 600; border-color: #4695E1; }
        .rc-page i, .rc-page svg { width: 14px; height: 14px; color: #BDBDBD; stroke: #BDBDBD; }
