* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            background: #f0f2f5;
            padding: 16px;
        }

        .app {
            max-width: 500px;
            margin: 0 auto;
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
            display: none;
        }

        h1 {
            font-size: 22px;
            color: #1a237e;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        h1 small {
            font-size: 13px;
            color: #666;
            font-weight: normal;
        }

        /* Dashboard */
        .dashboard {
            margin-bottom: 16px;
            transition: all 0.3s ease;
        }
        .dashboard-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 6px 10px;
            background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
            border-radius: 8px 8px 0 0;
            color: white;
            font-size: 12px;
            font-weight: 600;
            user-select: none;
        }
        .dashboard-toggle .chevron { transition: transform 0.3s; font-size: 10px; }
        .dashboard.collapsed .dashboard-toggle .chevron { transform: rotate(-90deg); }
        .dashboard-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            overflow: hidden;
            transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
            max-height: 500px;
            opacity: 1;
            padding-top: 4px;
        }
        .dashboard.collapsed .dashboard-grid {
            max-height: 0;
            opacity: 0;
            padding-top: 0;
            gap: 0;
        }
        .dashboard-compact {
            display: none;
            grid-template-columns: repeat(6, 1fr);
            gap: 4px;
            padding: 8px 0;
        }
        .dashboard.collapsed .dashboard-compact { display: grid; }
        .compact-item {
            text-align: center;
            padding: 6px 2px;
            border-radius: 6px;
            background: white;
            border: 1px solid #e0e0e0;
            cursor: pointer;
            font-size: 10px;
        }
        .compact-item .num { font-size: 16px; font-weight: 700; display: block; }
        .compact-item .lbl { font-size: 9px; color: #666; }
        .dash-card {
            background: white;
            border-radius: 6px;
            padding: 6px 12px;
            border: 1px solid #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s;
        }
        .dash-card:active { transform: scale(0.97); }
        .dash-card:hover { background: #f5f7fa; }
        .dash-card .title { font-size: 13px; font-weight: 600; flex: 2; }
        .dash-card .total { font-size: 13px; font-weight: 600; flex: 1; text-align: center; }
        .dash-card .breakdown { flex: 2; display: flex; justify-content: flex-end; gap: 10px; font-size: 13px; }

        /* Skeleton Loading */
        .skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; }
        @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
        .skeleton-card { height: 80px; margin: 4px 0; }
        .skeleton-card-header { height: 16px; margin-bottom: 8px; }
        .skeleton-card-desc { height: 12px; width: 70%; margin: 4px 0; }
        .skeleton-card-meta { height: 10px; width: 50%; }
        .skeleton-kanban-col { min-height: 200px; }

        /* Tab */
        .tabs {
            display: flex;
            gap: 4px;
            margin-bottom: 16px;
            background: #f0f2f5;
            border-radius: 10px;
            padding: 4px;
        }

        .tab {
            flex: 1;
            text-align: center;
            padding: 8px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            transition: 0.2s;
            border: none;
            background: transparent;
        }

        .tab.active {
            background: white;
            color: #1a237e;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        }

        /* Header Premium Luxury */
        .header-container {
            background: linear-gradient(135deg, #0a0e27 0%, #1a1f4e 30%, #0d1557 60%, #0a0e27 100%);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            margin: -15px -15px 12px -15px;
            position: relative;
            overflow: hidden;
            border-bottom: none;
        }
        .header-container::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: 
                radial-gradient(ellipse at 20% 50%, rgba(99, 179, 237, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
                linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
            pointer-events: none;
        }
        .header-container::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #3b82f6, transparent);
        }
        .header-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
            z-index: 1;
        }
        .header-logo img {
            height: 32px;
            width: 32px;
            border-radius: 8px;
            box-shadow: 0 0 12px rgba(59, 130, 246, 0.5), 0 0 24px rgba(59, 130, 246, 0.2);
            border: 1.5px solid rgba(255,255,255,0.2);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .header-logo img:hover { transform: scale(1.1) rotate(-5deg); box-shadow: 0 0 20px rgba(59, 130, 246, 0.7); }
        .header-logo h1 {
            margin: 0;
            font-size: 16px;
            font-weight: 800;
            color: white;
            letter-spacing: 0.5px;
            text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
            line-height: 1;
        }
        .header-logo h1 small {
            font-size: 9px;
            font-weight: 500;
            color: rgba(255,255,255,0.6);
            display: block;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            text-shadow: none;
            margin-top: 2px;
        }
        .header-user {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        #currentUserDisplay {
            font-size: 11px;
            font-weight: 600;
            color: white;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            padding: 5px 14px;
            border-radius: 20px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 6px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        }
        #currentUserDisplay:hover {
            background: rgba(255,255,255,0.15);
            border-color: rgba(59, 130, 246, 0.6);
            box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
            transform: translateY(-1px);
        }
        #currentUserDisplay .user-avatar {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
        }
        .header-actions {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        #statusIndicator {
            font-size: 8px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 12px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.25);
            color: rgba(255,255,255,0.7);
            backdrop-filter: blur(8px);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s;
        }
        #statusIndicator.online {
            background: rgba(34, 197, 94, 0.2);
            border-color: rgba(34, 197, 94, 0.5);
            color: #4ade80;
            box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
        }
        .sync-btn {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.15);
            color: white;
            cursor: pointer;
            font-size: 14px;
            padding: 5px 8px;
            border-radius: 8px;
            transition: all 0.3s;
            backdrop-filter: blur(8px);
        }
        .sync-btn:hover {
            background: rgba(59, 130, 246, 0.3);
            border-color: rgba(59, 130, 246, 0.5);
            transform: rotate(180deg);
            box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
        }
        .sync-btn:active { transform: rotate(360deg) scale(0.9); }
        #userMenu {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border-radius: 14px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
            min-width: 220px;
            z-index: 1000;
            overflow: hidden;
            opacity: 0;
            transform: translateY(-10px) scale(0.95);
            pointer-events: none;
            transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
        }
        #userMenu.show {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: all;
        }
        .menu-profile {
            padding: 16px 14px 12px;
            background: linear-gradient(135deg, #0a0e27 0%, #1a1f4e 100%);
            text-align: center;
        }
        .menu-avatar {
            width: 48px; height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            display: flex; align-items: center; justify-content: center;
            font-size: 22px;
            margin: 0 auto 8px;
            box-shadow: 0 0 16px rgba(59,130,246,0.5);
            border: 2px solid rgba(255,255,255,0.3);
        }
        .menu-name {
            font-size: 13px; font-weight: 700; color: white;
            margin-bottom: 4px;
        }
        .menu-role-badge {
            display: inline-block;
            font-size: 9px; font-weight: 600;
            padding: 2px 10px;
            border-radius: 10px;
            background: rgba(59,130,246,0.3);
            color: #93c5fd;
            border: 1px solid rgba(59,130,246,0.4);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .menu-divider {
            height: 1px;
            background: #e2e8f0;
            margin: 4px 0;
        }
        #menuRole { display: none; }
        #userMenu div[onclick] {
            padding: 10px 14px;
            font-size: 12px;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        #userMenu div[onclick]:hover {
            background: #f1f5f9;
        }

        /* Footer */
        .app-footer {
            text-align: center;
            padding: 12px 0;
            margin: 16px -15px -15px -15px;
            background: linear-gradient(135deg, #0a0e27 0%, #1a1f4e 50%, #0a0e27 100%);
            color: rgba(255,255,255,0.4);
            font-size: 10px;
        }

        /* Card Form VIP Pro */
        .screen {
            display: none;
            background: white;
            border-radius: 12px;
            padding: 15px;
            border: 1px solid #e0e0e0;
            border-top: 4px solid #1a237e;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .screen.active {
            display: block;
        }

        /* Form */
        label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #333;
            margin: 12px 0 4px;
        }

        select,
        input,
        textarea {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            font-family: inherit;
        }

        textarea {
            resize: vertical;
            min-height: 60px;
        }

        .radio-group {
            display: flex;
            gap: 16px;
            margin: 4px 0;
        }

        .radio-group label {
            font-weight: normal;
            display: flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
        }

        .radio-group input[type="radio"] {
            width: auto;
        }

        .btn {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 16px;
            transition: 0.2s;
        }

        .btn:hover {
            opacity: 0.9;
        }

        .btn-vang { background: #f9a825; color: #fff; }
        .btn-do { background: #d32f2f; color: #fff; }
        .btn-xanh { background: #1565c0; color: #fff; }
        .btn-xam { background: #757575; color: #fff; }
        .btn-success { background: #2e7d32; color: #fff; }

        /* Kanban */
        .kanban-board { display: flex; flex-direction: column; gap: 16px; }
        .kanban-col { background: #f8f9fa; border-radius: 12px; padding: 12px; border: 1px solid #e0e0e0; }
        .kanban-col-title { font-size: 13px; font-weight: bold; color: #1a237e; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
        .kanban-col-title .count { background: #1a237e; color: white; padding: 2px 8px; border-radius: 10px; font-size: 11px; }
        .kanban-cards { display: flex; flex-direction: column; gap: 8px; }
        .kanban-card { background: white; border-radius: 8px; padding: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border-left: 4px solid #ddd; cursor: pointer; }
        .kanban-card.vang { border-left-color: #f9a825; }
        .kanban-card.do { border-left-color: #d32f2f; }
        .kanban-card .card-id { font-weight: bold; font-size: 12px; }
        .kanban-card .card-desc { font-size: 11px; color: #666; margin: 4px 0; }
        .kanban-card .card-meta { font-size: 10px; color: #999; display: flex; justify-content: space-between; }

        .kanban-col-title .chevron { transition: transform 0.3s; font-size: 10px; }
        .kanban-col.collapsed .kanban-col-title .chevron { transform: rotate(-90deg); }
        .kanban-col.collapsed .kanban-cards { display: none; }
        .kanban-col.alarm { border: 2px solid #d32f2f; background: #fff5f5; }
        .kanban-col.alarm .kanban-col-title { color: #d32f2f; animation: pulse 2s infinite; }
        @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
        .kanban-card.overdue-card { border: 2px solid #d32f2f; background: #fff8f8; }
        /* Audit & Report */
        .audit-item { background: #f8f9fa; border-radius: 8px; padding: 10px; margin-bottom: 8px; border: 1px solid #e0e0e0; }
        .audit-item .q { font-size: 13px; font-weight: 600; color: #1a237e; margin-bottom: 4px; }
        .audit-score { display: flex; flex-wrap: wrap; gap: 6px; }
        .audit-score label { font-size: 11px; display: flex; align-items: center; gap: 3px; cursor: pointer; }
        .audit-score input[type="radio"] { width: auto; }
        .kanban-card.overdue-card { border: 2px solid #d32f2f; background: #fff8f8; }
        /* Report sub-tabs - Dark Professional Theme */
        .report-tabs { display: flex; gap: 4px; margin-bottom: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 4px 0; }
        .report-tabs button { flex-shrink: 0; padding: 10px 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 10px 10px 0 0; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; color: #94a3b8; transition: all .25s ease; }
        .report-tabs button:hover { color: #e2e8f0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
        .report-tabs button.active { color: #fff; background: rgba(59,130,246,.15); border-color: rgba(59,130,246,.3); box-shadow: 0 -2px 12px rgba(59,130,246,.15); }
        .report-tabs button.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
        .report-section { display: none; animation: fadeSlideIn .3s ease; }
        .report-section.active { display: block; }
        @keyframes fadeSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

        /* KPI Cards - Glassmorphism */
        .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
        .stat-card { background: rgba(255,255,255,.04); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; transition: all .3s ease; }
        .stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.2), 0 0 20px color-mix(in srgb, var(--kpi-color) 20%, transparent); }
        .stat-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--kpi-color), color-mix(in srgb, var(--kpi-color) 60%, #8b5cf6)); }
        .stat-card::after { content: ''; position: absolute; top: -30px; right: -30px; width: 80px; height: 80px; background: radial-gradient(circle, color-mix(in srgb, var(--kpi-color) 12%, transparent), transparent); border-radius: 50%; pointer-events: none; }
        .stat-card .stat-num { font-size: 28px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--kpi-color), color-mix(in srgb, var(--kpi-color) 70%, #fff)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .stat-card .stat-label { font-size: 11px; color: #64748b; font-weight: 500; }

        /* Chart cards */
        .report-chart-card { background: rgba(255,255,255,.03); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; overflow: hidden; transition: all .3s ease; margin-bottom: 14px; }
        .report-chart-card:hover { border-color: rgba(255,255,255,.1); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
        .report-chart-head { padding: 14px 18px; font-weight: 700; font-size: 13px; color: #e2e8f0; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 8px; }
        .report-chart-body { padding: 14px 18px; display: flex; align-items: center; justify-content: center; min-height: 200px; }
        .report-chart-body canvas { max-width: 100%; }
        .leaderboard-row { display: flex; align-items: center; padding: 8px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
        .leaderboard-row .rank { width: 24px; font-weight: 700; color: #1a237e; }
        .leaderboard-row .name { flex: 1; }
        .leaderboard-row .score { font-weight: 600; }
        .location-row { display: flex; align-items: center; padding: 8px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
        .location-row .loc-name { flex: 1; font-weight: 500; }
        .location-row .bar-bg { width: 80px; height: 14px; background: #e0e0e0; border-radius: 4px; margin: 0 8px; }
        .location-row .bar-fill { height: 100%; background: #1565c0; border-radius: 4px; }
        .location-row .count { width: 30px; text-align: right; font-weight: 600; }

        /* Dark theme tables */
        .cicd-table { width: 100%; border-collapse: collapse; font-size: 12px; color: #e2e8f0; }
        .cicd-table th { background: rgba(59,130,246,.12); color: #93c5fd; padding: 10px 8px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
        .cicd-table td { padding: 8px; border-bottom: 1px solid rgba(255,255,255,.04); }
        .cicd-table tr:hover td { background: rgba(59,130,246,.04); }
        .cicd-table tr:last-child td { border-bottom: none; }

        /* Dark location row */
        .report-chart-body .location-row .loc-name { color: #e2e8f0; }
        .report-chart-body .location-row .bar-bg { background: rgba(255,255,255,.08); }
        .report-chart-body .location-row .count { color: #e2e8f0; }

        /* Location Drawers (6-state per location) */
        .loc-drawer { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
        .loc-drawer-header { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #f8f9fa; border-bottom: 1px solid #e0e0e0; cursor: pointer; user-select: none; }
        .loc-drawer-header:hover { background: #eef1f5; }
        .loc-drawer-icon { font-size: 16px; flex-shrink: 0; }
        .loc-drawer-name { flex: 1; font-weight: 600; color: #1a237e; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .loc-drawer-chevron { font-size: 10px; color: #666; transition: transform 0.2s; }
        .loc-drawer.open .loc-drawer-chevron { transform: rotate(90deg); }
        .loc-drawer-badges { display: flex; gap: 4px; flex-shrink: 0; }
        .loc-badge { display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; }
        .loc-badge-vang { background: #fff3e0; color: #e65100; border: 1px solid #ffb74d; }
        .loc-badge-do { background: #fce4ec; color: #c62828; border: 1px solid #f48fb1; }
        .loc-badge-total { background: #e8eaf6; color: #283593; border: 1px solid #9fa8da; }
        .loc-assess-btn { background: #1a237e; color: white; border: none; border-radius: 14px; padding: 3px 10px; font-size: 10px; font-weight: 600; cursor: pointer; white-space: nowrap; margin:0 4px; flex-shrink:0; transition:.2s; }
        .loc-assess-btn:hover { background: #0d47a1; transform: scale(1.05); }
        .loc-drawer-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s ease; }
        .loc-drawer.open .loc-drawer-body { max-height: 300px; padding: 8px 0; }
        .loc-table { width: 100%; border-collapse: collapse; font-size: 11px; }
        .loc-table th { background: #f5f5f5; color: #666; padding: 6px 8px; text-align: center; font-weight: 600; font-size: 10px; border-bottom: 1px solid #e0e0e0; }
        .loc-table td { padding: 6px 8px; text-align: center; border-bottom: 1px solid #f0f0f0; color: #333; }
        .loc-table td:first-child { text-align: left; font-weight: 500; color: #1a237e; }
        .loc-table tr.loc-row-active td { font-weight: 600; color: #1a237e; }
        .loc-table tr.loc-row-active td:first-child { color: #d32f2f; }

        /* Tab button position fix */
        .report-tabs button { position: relative; }

        /* Audit checklist: grouped accordion, score summary and quick tag. */
        .audit-step-card { background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:10px; margin:8px 0; }
        .audit-step-title { color:#1e3a8a; font-size:12px; font-weight:800; margin-bottom:7px; }
        .audit-template-select { width:100%; padding:10px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:#1e293b; font-size:12px; }
        .audit-location-btn { display:flex; justify-content:space-between; align-items:center; width:100%; text-align:left; margin:5px 0; padding:10px; border:1px solid #dbeafe; border-radius:8px; background:#fff; color:#1e3a8a; cursor:pointer; }
        .audit-location-btn:hover { border-color:#2563eb; background:#eff6ff; }
        .audit-location-btn small { color:#64748b; font-size:11px; }
        .audit-progress-note { padding:9px 10px; margin-bottom:8px; border-radius:8px; background:#eff6ff; color:#1e40af; font-size:11px; }
        .audit-group { border:1px solid #dbe3ef; border-radius:10px; margin:8px 0; overflow:hidden; background:#fff; }
        .audit-group-header { display:flex; justify-content:space-between; align-items:center; width:100%; border:0; border-left:5px solid var(--audit-color,#2563eb); padding:11px 10px; background:linear-gradient(90deg,#f8fafc,#fff); color:#1e293b; cursor:pointer; text-align:left; }
        .audit-group-title { display:flex; align-items:center; gap:8px; min-width:0; font-size:12px; }
        .audit-group-title b { color:var(--audit-color,#2563eb); font-family:monospace; }
        .audit-group-title span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .audit-group-meta { display:flex; align-items:center; gap:8px; flex-shrink:0; font-size:10px; }
        .audit-group-avg { color:#166534; background:#dcfce7; border-radius:99px; padding:3px 7px; font-weight:800; }
        .audit-group-count { color:#64748b; }
        .audit-chevron { color:#64748b; font-size:15px; transition:transform .2s; }
        .audit-group.is-open .audit-chevron { transform:rotate(180deg); }
        .audit-group-body { display:none; padding:0 10px; }
        .audit-group.is-open .audit-group-body { display:block; }
        .audit-item-row { padding:10px 0; border-top:1px solid #eef2f7; }
        .audit-item-copy { display:flex; align-items:flex-start; flex-wrap:wrap; gap:7px; font-size:12px; line-height:1.4; color:#334155; }
        .audit-item-copy > span:nth-child(2) { flex:1; min-width:150px; }
        .audit-tag-indicator { display:inline-flex; align-items:center; gap:3px; margin-left:auto; padding:3px 7px; border-radius:99px; font-size:10px; white-space:nowrap; flex-shrink:0; }
        .audit-tag-indicator.no-tags { color:#94a3b8; background:#f8fafc; border:1px solid #e2e8f0; }
        .audit-tag-indicator.has-tags { color:#92400e; background:#fffbeb; border:1px solid #fcd34d; font-weight:700; }
        .audit-item-code { color:#1d4ed8; font-family:monospace; font-weight:800; flex-shrink:0; }
        .audit-item-actions { display:flex; gap:7px; align-items:center; margin-top:7px; }
        .audit-item-actions select { width:82px; padding:7px; border:1px solid #cbd5e1; border-radius:7px; background:#fff; }
        .audit-tag-btn { padding:7px 9px; border:1px solid #f59e0b; border-radius:7px; background:#fff7ed; color:#b45309; font-size:11px; font-weight:700; cursor:pointer; }
        .audit-item-row textarea { width:100%; min-height:38px; margin-top:7px; padding:8px; border:1px solid #e2e8f0; border-radius:7px; resize:vertical; font:inherit; font-size:11px; }
        .audit-empty { padding:20px; text-align:center; color:#64748b; background:#f8fafc; border-radius:8px; }
        .audit-quick-context { padding:9px; margin-bottom:10px; border-radius:8px; background:#f8fafc; color:#334155; font-size:12px; line-height:1.5; }
        .audit-tag-modal { color:#1e293b; }
        .audit-tag-modal-head { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; margin-bottom:10px; }
        .audit-tag-modal-head h3 { margin:2px 0 0; color:#1e3a8a; font-size:16px; }
        .audit-tag-modal-head button { border:0; background:#f1f5f9; border-radius:50%; width:28px; height:28px; font-size:20px; cursor:pointer; color:#64748b; }
        .audit-tag-kicker { color:#64748b; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
        .audit-tag-context { background:#f8fafc; border-left:4px solid #f59e0b; border-radius:8px; padding:9px; margin-bottom:10px; font-size:12px; line-height:1.5; }
        .audit-tag-modal label { display:block; margin:8px 0 4px; color:#475569; font-size:11px; font-weight:700; }
        .audit-tag-modal input, .audit-tag-modal select, .audit-tag-modal textarea { width:100%; padding:9px 10px; border:1px solid #cbd5e1; border-radius:8px; font:inherit; font-size:12px; background:#fff; color:#1e293b; }
        .audit-tag-modal input:disabled { background:#f1f5f9; color:#64748b; }
        .audit-tag-type-picker { display:flex; gap:8px; }
        .audit-type-choice { flex:1; padding:9px; border:2px solid #e2e8f0; border-radius:8px; background:#fff; cursor:pointer; font-weight:700; font-size:12px; }
        .audit-type-choice.is-selected:first-child { border-color:#f59e0b; background:#fffbeb; color:#92400e; }
        .audit-type-choice.is-selected:last-child { border-color:#dc2626; background:#fef2f2; color:#991b1b; }
        .audit-tag-modal-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
        .audit-asset-scan-row { display:flex; gap:7px; align-items:center; }
        .audit-asset-scan-row select { flex:1; min-width:0; }
        .audit-scan-btn { flex-shrink:0; padding:9px 10px; border:1px solid #2563eb; border-radius:8px; background:#eff6ff; color:#1d4ed8; font-size:11px; font-weight:700; cursor:pointer; }
        .audit-camera-hint { display:block; color:#64748b; font-size:10px; margin-top:4px; }
        .audit-photo-preview { width:100%; max-height:130px; object-fit:cover; border-radius:8px; margin-top:7px; border:1px solid #cbd5e1; }
        .tag-evidence-compare { margin-top:10px; padding-top:10px; border-top:1px solid #e2e8f0; color:#64748b; font-size:11px; }
        .tag-evidence-title { color:#1e3a8a; font-weight:800; margin-bottom:6px; }
        .tag-evidence-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
        .tag-evidence-grid > div { min-width:0; }
        .tag-evidence-grid small { display:block; color:#64748b; margin-bottom:4px; }
        .tag-evidence-grid img { display:block; width:100%; height:120px; object-fit:cover; border-radius:8px; border:1px solid #e2e8f0; }
        .audit-photo-status { min-height:18px; margin-top:5px; color:#166534; font-size:11px; }
        .audit-tag-modal-actions { display:flex; gap:8px; margin-top:12px; }
        .audit-tag-modal-actions .btn { flex:1; margin:0; }
        .audit-tag-modal-actions .btn-vang { background:#f59e0b; color:#111; }
        .audit-tag-modal-actions .btn-do { background:#dc2626; color:#fff; }

        @media (max-width: 560px) {
            body { padding: 0; width:100%; overflow-x:hidden; }
            .app { width:100%; max-width:none; min-height:100vh; padding: 0; border-radius: 0; box-shadow:none; }
            .header-container { width:100%; margin:0 0 10px; padding: 8px 12px; }
            .header-logo h1 { font-size: 17px; }
            .header-logo h1 small { display: none; }
            .header-user #userDisplayName { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
            .header-logo { flex:1 1 0; min-width:0; }
            .header-user { flex:0 1 auto; min-width:0; }
            .header-actions { flex:0 0 auto; }
            #currentUserDisplay { max-width:42vw; padding-inline:8px; }
            .header-logo h1 { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
            .header-actions > button[title="Đăng xuất"] { display: none !important; }
            .tabs { position: sticky; top: 0; z-index: 20; width:100%; margin:0 0 10px; border-radius:0; padding:4px 8px; }
            .screen { width:100%; border-radius:0; border-left:0; border-right:0; padding:12px; box-shadow:none; }
            .dashboard { width:100%; margin:0 0 10px; padding:0 12px; }
            .tab { font-size: 11px; padding: 9px 4px; }
            .dashboard-grid { grid-template-columns: 1fr; }
            .dashboard-compact { grid-template-columns: repeat(3, 1fr); }
            .cicd-chart-row { grid-template-columns: 1fr !important; }
            #screen-baocao { padding: 12px !important; }
            #screen-baocao .cicc-dash-header { margin: -12px -12px 12px !important; padding: 12px !important; }
            .cicc-dash-actions { width: 100%; }
            .cicc-dash-actions form, .cicc-dash-actions select { width: 100%; }
            .report-chart-body { min-height: 180px; padding: 10px; }
            .report-chart-body canvas { max-height: 220px; }
            .app-footer { width:100%; margin:16px 0 0; padding:12px; }
        }
        /* Print Card - 2 Liên */
        .print-card { border: 2px dashed #ccc; border-radius: 12px; padding: 20px; text-align: center; margin: 12px 0; background: #fffef5; }
        .print-card .ma { font-size: 22px; font-weight: bold; }
        .print-card .ma.vang { color: #f9a825; }
        .print-card .ma.do { color: #d32f2f; }
        .print-card .info { font-size: 13px; color: #333; margin: 4px 0; }
        .print-card .info span { color: #666; }
        .card-copy { border: 2px solid #333; border-radius: 10px; padding: 16px; margin: 12px 0; position: relative; background: #fff; }
        .card-copy.vang-copy { border-color: #f9a825; background: #fffde7; }
        .card-copy.do-copy { border-color: #d32f2f; background: #fff5f5; }
        .card-copy-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px dashed #ccc; }
        .card-copy-header h4 { margin: 0; font-size: 14px; }
        .card-copy-header .lien-badge { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: bold; color: white; }
        .card-copy-header .lien-badge.lien1 { background: #f9a825; }
        .card-copy-header .lien-badge.lien2 { background: #1565c0; }
        .card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; text-align: left; font-size: 12px; }
        .card-fields .field { border-bottom: 1px dotted #ddd; padding: 3px 0; }
        .card-fields .field label { color: #666; font-size: 10px; display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
        .card-fields .field .val { font-weight: 600; color: #333; font-size: 13px; }
        .card-fields .field.full { grid-column: 1 / -1; }
        .card-fields .field.full .val { font-size: 13px; line-height: 1.4; }
        .s-checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 8px 0; font-size: 11px; }
        .s-checklist .s-item { display: flex; align-items: center; gap: 4px; }
        .s-checklist .s-item input[type="checkbox"] { width: 14px; height: 14px; }
        .card-footer { margin-top: 10px; padding-top: 8px; border-top: 1px solid #eee; font-size: 10px; color: #999; text-align: center; }
        .card-footer .flow-steps { display: flex; justify-content: space-between; font-size: 9px; color: #666; }
        .card-footer .flow-steps span { flex: 1; text-align: center; }
        .card-footer .flow-steps span::after { content: '→'; margin-left: 4px; }
        .card-footer .flow-steps span:last-child::after { content: ''; }
        /* Report detail table */
        .report-detail-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; }
        .report-detail-table th { background: #1a237e; color: #fff; padding: 8px 10px; text-align: left; font-size: 11px; font-weight: 600; }
        .report-detail-table th:first-child { border-radius: 6px 0 0 0; }
        .report-detail-table th:last-child { border-radius: 0 6px 0 0; }
        .report-detail-table td { padding: 7px 10px; border-bottom: 1px solid #e0e0e0; }
        .report-detail-table tr:nth-child(even) td { background: #f8f9fa; }
        .report-detail-table tr:hover td { background: #e8eaf6; }
        .report-detail-table .num { text-align: center; font-weight: 600; }
        /* Dashboard stat cards */
        .stat-card { background: #fff; border-radius: 10px; padding: 12px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,0.06); border: 1px solid #eee; }
        .stat-card .num { font-size: 24px; font-weight: 700; }
        .stat-card .label { font-size: 11px; color: #666; margin-top: 2px; }
        /* Metric grid */
        .metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
        .metric-grid .stat-card { background: #fff; border-radius: 10px; padding: 12px; text-align: center; border: 1px solid #e0e0e0; }
        .metric-grid .stat-card .num { font-size: 22px; font-weight: 700; }
        .metric-grid .stat-card .label { font-size: 10px; color: #888; }
        .dashed-line { border-top: 2px dashed #999; margin: 16px 0 8px; position: relative; }
        .dashed-line::before { content: '✂️ Cắt theo đường nét đứt'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 10px; color: #999; background: white; padding: 0 8px; white-space: nowrap; }
        /* QR code placeholder on print card */
        .card-qr { position: absolute; bottom: 8px; right: 8px; width: 50px; height: 50px; border: 1px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 8px; color: #bbb; background: #fafafa; }
        .card-qr::after { content: 'QR'; }
        @media print {
            body * { visibility: hidden; }
            #printArea, #printArea * { visibility: visible; }
            #printArea { position: absolute; left: 0; top: 0; width: 100%; padding: 0; margin: 0; }
            .card-copy { page-break-inside: avoid; border-width: 1.5px; }
            .card-copy.vang-copy { background: #fff !important; border-color: #999 !important; }
            .card-copy.do-copy { background: #fff !important; border-color: #999 !important; }
            .card-copy-header .lien-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
            .card-copy:first-child { page-break-after: always; }
            .card-fields .field label { font-size: 8px; }
            .card-fields .field .val { font-size: 11px; }
            .card-copy-header h4 { font-size: 12px; }
            .s-checklist { font-size: 9px; }
            .no-print { display: none !important; }
            .dashed-line { border-top-style: dashed; }
            .card-qr { display: flex !important; }
        }
        /* Print label for asset QR */
        .print-label-page { display:none; }
        @media print {
            .print-label-page { display:block !important; position:fixed; top:0; left:0; width:100%; height:100%; background:#fff; z-index:9999; }
            .print-label-content { text-align:center; padding:30px; }
            .print-label-content canvas { width:200px !important; height:200px !important; border:2px solid #333; border-radius:8px; background:#fff; }
            .print-label-content .label-title { font-size:16px; font-weight:bold; margin:10px 0 5px; color:#1a237e; }
            .print-label-content .label-code { font-size:24px; font-weight:bold; color:#d32f2f; letter-spacing:2px; }
            .print-label-content .label-line { border-top:2px dashed #999; margin:60px 0; }
            .print-label-content .label-line::before { content: '✂ Cắt theo đường nét đứt'; position:absolute; margin-top:-12px; left:50%; transform:translateX(-50%); font-size:12px; color:#999; background:#fff; padding:0 10px; }
            .print-label-content .label-info { font-size:12px; color:#666; margin-top:8px; }
        }

        .before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
        .before-after-grid .img-box { text-align: center; }
        .before-after-grid .img-box .label { font-size: 11px; font-weight: 600; margin-bottom: 4px; }
        .before-after-grid .img-box img { width: 100%; border-radius: 8px; }
        .before-after-grid .img-box .placeholder { width: 100%; height: 100px; background: #f5f5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 11px; }

        /* Auth */
        #auth-container { position: fixed; inset: 0; background: radial-gradient(circle at 20% 10%,#304ffe 0,#172554 38%,#0b1020 100%); z-index: 2000; display: flex; justify-content: center; align-items: center; padding: 20px; overflow-y: auto; }
        .auth-card { background: rgba(255,255,255,.98); border:1px solid rgba(255,255,255,.7); border-radius: 18px; padding: 28px 26px 24px; width: 100%; max-width: 380px; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32); margin: 0; }
        .auth-input-group { margin-bottom: 16px; }
        .auth-input-group label { display: block; font-size: 12px; margin-bottom: 4px; color: #666; font-weight: bold; }
        .auth-input-group input, .auth-input-group select { width: 100%; padding: 12px 16px; border: 1.5px solid #e0e0e0; border-radius: 10px; font-size: 14px; outline: none; background: #f9f9f9; }
        .auth-btn { background: #1d4ed8; color: white; border: none; border-radius: 10px; padding: 13px; width: 100%; font-weight: 750; margin-top: 8px; cursor: pointer; box-shadow:0 7px 16px rgba(29,78,216,.22); }
        .auth-btn:hover{background:#1e40af}.auth-link { text-align: center; margin-top: 16px; font-size: 12px; color: #2563eb; cursor: pointer; }

        #locPickerOverlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); z-index: 3000; display: none; justify-content: center; align-items: center; padding: 15px; }
        .loc-picker-card { background: white; border-radius: 16px; width: 100%; max-width: 450px; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; }
        #userMenu { display: none; position: absolute; top: 42px; left: 50%; transform: translateX(-50%); background: white; border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); width: 160px; z-index: 1001; padding: 6px 0; border: 1px solid #e0e0e0; }
        #userMenu div { padding: 10px 16px; font-size: 13px; cursor: pointer; }
        #userMenu div:hover { background: #f0f2f5; }
        .toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #333; color: white; padding: 12px 24px; border-radius: 8px; font-size: 14px; opacity: 0; transition: 0.3s; pointer-events: none; z-index: 999; }
        .toast.show { opacity: 1; }
        /* Assessment eval type cards */
        .eval-type-card-assess { border: 2px solid #e0e0e0 !important; background: white !important; }
        .eval-type-card-assess:hover { border-color: #1a237e !important; background: #f5f7fa !important; }
        .eval-type-card-assess.selected { border-color: #1a237e !important; background: #e8eaf6 !important; }
        /* Quick tag button in assessment items */
        .quick-tag-btn { display: inline-block; padding: 3px 10px; font-size: 10px; font-weight: 600; border: 1px solid #f57c00; background: #fff3e0; color: #e65100; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
        .quick-tag-btn:hover { background: #ffe0b2; border-color: #e65100; transform: scale(1.02); }
.tag-kanban-card{transition:transform .15s ease,box-shadow .15s ease}.tag-kanban-card:hover,.tag-kanban-card:focus{transform:translateY(-1px);box-shadow:0 4px 12px rgba(30,64,175,.15);outline:2px solid rgba(37,99,235,.25)}.tag-workflow-timeline{margin-top:12px;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;color:#334155;font-size:12px}.tag-workflow-timeline ol{margin:8px 0 0;padding-left:20px}.tag-workflow-timeline li{padding:5px 0 5px 2px}.tag-workflow-timeline li small,.tag-workflow-timeline li span{display:block;color:#64748b;font-size:10px;margin-top:2px}.tag-workflow-timeline li span{white-space:pre-wrap}.tag-workflow-timeline li::marker{color:#2563eb}
.resolve-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.modal-close-btn{border:0;background:#fee2e2;color:#991b1b;border-radius:999px;width:32px;height:32px;font-size:16px;font-weight:800;cursor:pointer}.modal-close-btn:hover{background:#fecaca}
.login-brand{display:flex;align-items:center;justify-content:center;gap:11px;margin-bottom:9px}.login-brand-mark{font-size:34px}.login-brand h2{margin:0 0 3px;font-size:21px;color:#172554}.login-brand p{margin:0;font-size:12px;color:#64748b}.login-tenant-badge{width:max-content;margin:0 auto 22px;padding:5px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:750}.password-field{display:flex;align-items:stretch}.password-field input{flex:1;border-radius:10px 0 0 10px!important}.password-field button{border:1.5px solid #e0e0e0;border-left:0;border-radius:0 10px 10px 0;background:#f8fafc;color:#1a237e;padding:0 12px;cursor:pointer}.login-options{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:8px;margin:2px 0 8px;font-size:11px;color:#64748b}.login-options label{display:flex;align-items:center;gap:5px;white-space:nowrap}.forgot-link{border:0;background:transparent;color:#2563eb;font-size:11px;cursor:pointer;padding:0;white-space:nowrap}.login-error{min-height:18px;color:#b91c1c;font-size:12px;margin:3px 0}
.dashboard-compact .compact-item .num,.dashboard-grid .dash-card .total,.dashboard-grid .dash-card .breakdown{display:inline-block!important;visibility:visible!important;opacity:1!important}
.dashboard-compact{display:grid!important;visibility:visible!important;opacity:1!important}
.dashboard-compact{padding:4px 0}.dashboard.collapsed .dashboard-grid{padding-top:0!important;padding-bottom:0!important;margin:0!important}.dashboard.collapsed .dashboard-compact{padding-top:4px;padding-bottom:4px}
.dashboard,.screen,.report-section,.report-chart-card,.tag-workflow-timeline{--section-gap:8px;--section-speed:.24s}.dashboard,.screen,.report-section,.report-chart-card{transition:padding var(--section-speed) ease,margin var(--section-speed) ease,opacity var(--section-speed) ease,box-shadow var(--section-speed) ease}.dashboard-grid,.dashboard-compact{gap:var(--section-gap);padding-block:var(--section-gap);transition:max-height var(--section-speed) ease,opacity var(--section-speed) ease,padding var(--section-speed) ease,gap var(--section-speed) ease}.dashboard.collapsed .dashboard-grid{padding-block:0;gap:0}.screen{margin-bottom:var(--section-gap)}.screen.active{animation:sectionReveal var(--section-speed) ease both}@keyframes sectionReveal{from{opacity:.75;transform:translateY(2px)}to{opacity:1;transform:none}}
.app,.header-container,.tabs,.dashboard,.screen,.app-footer{width:100%;max-width:100%;min-width:0}.screen,.dashboard,.report-section,.report-chart-card,.tab-content,.cicd-chart-row,.dashboard-grid,.dashboard-compact{min-width:0}.screen img,.screen canvas,.screen iframe,.screen table{max-width:100%}.screen input,.screen select,.screen textarea,.screen button{max-width:100%;min-width:0}.dashboard-grid>* ,.dashboard-compact>*{min-width:0;max-width:100%}.tag-evidence-grid,.audit-tag-modal-grid,.cicd-chart-row{width:100%;min-width:0}.tag-evidence-grid img{max-width:100%;height:auto;max-height:240px;object-fit:contain}
.header-container{min-width:0}.header-logo,.header-user,.header-actions{min-width:0;max-width:100%}.header-logo{flex:1 1 auto;overflow:hidden}.header-logo h1,.header-logo h1 small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-user{flex:0 1 auto}.header-actions{flex:0 0 auto}.header-user #currentUserDisplay{max-width:clamp(110px,28vw,240px);min-width:0}.app-footer{overflow-wrap:anywhere;white-space:normal}
.app-footer{display:flex;flex-direction:column;align-items:center;gap:5px;line-height:1.35}.footer-brand{display:flex;align-items:center;gap:6px;color:rgba(255,255,255,.88);font-size:11px}.footer-context{font-size:10px;color:rgba(255,255,255,.58)}.footer-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;font-size:10px;color:rgba(255,255,255,.45)}.footer-meta a{color:#93c5fd;text-decoration:none}.footer-meta a:hover{text-decoration:underline}.footer-dot{opacity:.45}
.report-ai-card{margin-top:14px}.report-ai-row{display:flex;gap:8px;padding:12px 14px 4px}.report-ai-row input{flex:1;min-width:0;padding:9px 11px;border:1px solid rgba(139,92,246,.45);border-radius:8px;background:rgba(255,255,255,.05);color:#e2e8f0;font-size:12px}.report-ai-row button{border:0;border-radius:8px;padding:9px 12px;background:#7c3aed;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.report-ai-hint{padding:3px 14px;color:#64748b;font-size:10px}.report-ai-chart-body{min-height:210px}
.report-chart-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 12px;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.03)}.report-toolbar-label{font-size:11px;color:#94a3b8;font-weight:700}.report-type-btn{border:1px solid rgba(255,255,255,.12);border-radius:8px;background:rgba(255,255,255,.04);color:#cbd5e1;padding:7px 9px;font-size:11px;cursor:pointer}.report-type-btn.active{background:#2563eb;color:#fff;border-color:#3b82f6}.report-s-label{margin-left:6px}.report-chart-toolbar select{max-width:140px;padding:7px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#1e293b;color:#e2e8f0;font-size:11px}.report-custom-card{height:300px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.03)}.report-custom-card canvas{width:100%!important;height:100%!important}
.report-lite-title{font-size:18px;font-weight:800;color:#f8fafc;margin:2px 0 12px}.report-ai-workspace{margin-top:12px;padding:12px;border:1px solid rgba(139,92,246,.22);border-radius:12px;background:rgba(124,58,237,.06)}.report-ai-title{font-size:12px;font-weight:800;color:#c4b5fd;margin-bottom:7px}
#screen-baocao>.report-section{display:none!important}
.app-mobile-baseline,body{padding:0}.app{width:100%;max-width:none;min-height:100vh;margin:0;border-radius:0;box-shadow:none;padding:0}.header-container{width:100%;margin:0 0 10px;padding:8px 12px}.dashboard{width:100%;margin:0 0 10px;padding-inline:12px}.tabs{width:100%;margin:0 0 10px;padding-inline:8px}.screen{width:100%;margin:0 0 8px;padding:12px;border-radius:0;border-left:0;border-right:0;box-shadow:none}.app-footer{width:100%;margin:16px 0 0;padding:12px}
@media (min-width:561px){body{padding:16px;background:#f0f2f5}.app{width:100%;max-width:500px;min-height:0;margin:0 auto;padding:20px;border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.header-container{width:100%;margin:0 0 12px;padding:8px 12px}.dashboard{width:100%;margin:0 0 16px;padding-inline:0}.tabs{width:100%;margin:0 0 16px;padding-inline:0}.screen{width:100%;margin:0;padding:15px;border-radius:12px;border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;box-shadow:0 4px 6px rgba(0,0,0,.05)}.app-footer{width:100%;margin:16px 0 0;padding:12px 0}}
.photo-crop-shell{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(2,6,23,.88);backdrop-filter:blur(5px)}
.photo-crop-card{width:min(760px,100%);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.photo-crop-head,.photo-crop-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px}.photo-crop-head b{display:block;color:#0f172a}.photo-crop-head small{display:block;margin-top:3px;color:#64748b;font-size:11px}.photo-crop-head button{border:0;background:transparent;font-size:20px;cursor:pointer}
.photo-crop-stage{height:min(62vh,520px);background:#0f172a}.photo-crop-stage img{display:block;max-width:100%}
.photo-crop-actions{flex-wrap:wrap;border-top:1px solid #e2e8f0}.photo-crop-actions span{margin-right:auto;color:#64748b;font-size:11px;font-weight:700}.photo-crop-actions button{padding:9px 13px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font-weight:700;cursor:pointer}.photo-crop-actions .primary{border-color:#2563eb;background:#2563eb;color:#fff}.photo-crop-actions button:disabled{opacity:.6}
