/* Hide everything first */
body * {
    display: none !important;
}

/* Then show only CheckInValueTagging and its children */
div[section="CheckInValueTagging"],
div[section="CheckInValueTagging"] * {
    display: block !important;
}

/* Base styles */
html, body {
    display: block !important;
    margin: 0;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #2c3e50;
}

/* Main container */
div[section="CheckInValueTagging"] {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
}

/* Header */
div[section="CheckInValueTagging"]::before {
    content: "🎯 Value Tag Check-In Dashboard";
    display: block !important;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
}

/* Value tag cards */
div[section="valuetag"] {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 24px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

div[section="valuetag"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

/* Relevance sections */
div[relevance] {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 6px;
    border-left: 4px solid transparent;
    font-size: 14px;
    line-height: 1.5;
}

div[relevance="What"] {
    background: linear-gradient(135deg, #74b9ff15 0%, #0984e315 100%);
    border-left-color: #3498db;
    font-size: 16px;
    font-weight: 600;
}

div[relevance="how"] {
    background: linear-gradient(135deg, #00b89415 0%, #00a08515 100%);
    border-left-color: #00b894;
}

div[relevance="Why"], div[relevance="why"] {
    background: linear-gradient(135deg, #fdcb6e15 0%, #e1734015 100%);
    border-left-color: #f39c12;
}

div[relevance="SoWhat"] {
    background: linear-gradient(135deg, #e17bf715 0%, #74b9ff15 100%);
    border-left-color: #9b59b6;
}

div[relevance="NowWhat"] {
    background: linear-gradient(135deg, #fd79a815 0%, #fdcb6e15 100%);
    border-left-color: #e84393;
}

/* Relevance labels */
div[relevance]::before {
    content: attr(relevance);
    display: inline-block !important;
    background: #2c3e50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

div[relevance="What"]::before { background: #3498db; }
div[relevance="how"]::before { background: #00b894; }
div[relevance="Why"]::before, div[relevance="why"]::before { background: #f39c12; }
div[relevance="SoWhat"]::before { background: #9b59b6; }
div[relevance="NowWhat"]::before { background: #e84393; }

/* Section styles */
div[section="tagline"] {
    font-style: italic;
    color: #7f8c8d;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 12px 0;
    border-left: 3px solid #bdc3c7;
}

div[section="Explanation"] {
    line-height: 1.6;
    color: #2c3e50;
    margin: 12px 0;
}

div[section="System"] {
    background: #f1f3f4;
    padding: 16px;
    border-radius: 6px;
    margin: 12px 0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Status badges */
div[section="valuetag"]:nth-child(1)::after {
    content: "🚀 Active";
    position: absolute;
    top: 16px;
    right: 16px;
    background: #00b894;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: block !important;
}

div[section="valuetag"]:nth-child(2)::after {
    content: "🔄 In Progress";
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: block !important;
}