/* ==========================================================================
   PixiTools Design System v2.0.0
   Charcoal Typography • Light Pinkish Brand Palette • 10px-12px Radius • Zero NPM
   ========================================================================== */

:root {
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Single Brand Color: Vibrant Warm Rose Pink */
    --color-brand: #e11d48;              /* Rose / Pinkish Accent */
    --color-brand-hover: #be123c;        /* Deeper Rose */
    --color-brand-light: #fff1f2;        /* Soft Blush Tint */
    --color-brand-border: #fecdd3;       /* Delicate Pinkish Border */
    --color-brand-glow: rgba(225, 29, 72, 0.12);

    /* Charcoal Typography System */
    --color-charcoal-deep: #18181b;      /* Headings & Brand Text */
    --color-charcoal-body: #3f3f46;      /* Primary readable body */
    --color-charcoal-muted: #71717a;     /* Secondary & hints */

    /* Light Canvas & Surfaces */
    --color-bg: #fcfbfb;                 /* Ultra-subtle warm/light canvas */
    --color-surface: #ffffff;            /* Pure white cards */
    --color-surface-hover: #fff1f2;      /* Soft pinkish hover */
    --color-border: #e4e4e7;             /* Clean subtle border */
    --color-border-hover: #fecdd3;       /* Pinkish border hover */

    /* Custom Border Radius (Balanced 10px - 12px, NO full oval pills) */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 10px;                   /* Buttons, chips, icon boxes */
    --radius-lg: 12px;                   /* Cards, search bar, containers */
    --radius-xl: 14px;

    /* Elevation & Subtle Shadows */
    --shadow-2xs: 0 1px 2px 0 rgba(24, 24, 27, 0.04);
    --shadow-xs: 0 1px 3px 0 rgba(24, 24, 27, 0.06), 0 1px 2px -1px rgba(24, 24, 27, 0.04);
    --shadow-card: 0 1px 3px 0 rgba(24, 24, 27, 0.05), 0 1px 2px 0 rgba(24, 24, 27, 0.03);
    --shadow-card-hover: 0 8px 24px -4px rgba(225, 29, 72, 0.09), 0 2px 6px -1px rgba(24, 24, 27, 0.04);
    --shadow-btn: 0 2px 8px rgba(225, 29, 72, 0.22);

    --container-max: 1120px;
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-charcoal-body);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 66px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
    flex-shrink: 0;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-charcoal-deep);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-charcoal-muted);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-charcoal-deep);
    background-color: var(--color-brand-light);
}

.nav-link.active {
    color: var(--color-brand);
    background-color: var(--color-brand-light);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-family);
    background-color: var(--color-brand);
    color: #ffffff;
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-btn);
}

.btn-brand:hover {
    background-color: var(--color-brand-hover);
    border-color: var(--color-brand-hover);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 72px 24px 44px 24px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--color-charcoal-deep);
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-title-accent {
    color: var(--color-brand);
}

.hero-subtitle {
    font-size: 17.5px;
    color: var(--color-charcoal-muted);
    max-width: 580px;
    margin: 0 auto 34px auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Search Bar (12px radius, rectangular with smooth corners) */
.search-container {
    max-width: 600px;
    margin: 0 auto 24px auto;
}

.search-bar {
    width: 100%;
    height: 52px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    padding: 0 14px 0 16px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-2xs);
}

.search-bar:hover {
    border-color: var(--color-brand-border);
}

.search-bar:focus-within {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px var(--color-brand-glow);
}

.search-icon {
    color: var(--color-charcoal-muted);
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.search-input {
    flex-grow: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-family);
    font-size: 14.5px;
    color: var(--color-charcoal-deep);
}

.search-input::placeholder {
    color: #a1a1aa;
}

.search-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-clear-btn {
    background: #f4f4f5;
    border: 1px solid var(--color-border);
    color: var(--color-charcoal-muted);
    font-size: 11px;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    line-height: 1;
}

.search-clear-btn:hover {
    background: var(--color-brand-light);
    color: var(--color-brand);
    border-color: var(--color-brand-border);
}

.kbd-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    font-size: 10.5px;
    font-family: var(--font-mono);
    font-weight: 500;
    background: #f4f4f5;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    color: var(--color-charcoal-muted);
}

/* Quick Filter Chips (10px radius) */
.quick-chips-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-chip {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-family);
    color: var(--color-charcoal-body);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-2xs);
}

.quick-chip:hover {
    background-color: var(--color-brand-light);
    color: var(--color-brand);
    border-color: var(--color-brand-border);
}

.quick-chip.active {
    background-color: var(--color-brand);
    color: #ffffff;
    border-color: var(--color-brand);
    font-weight: 600;
    box-shadow: var(--shadow-btn);
}

/* ==========================================================================
   Tools Directory Section (12px Card Radius)
   ========================================================================== */
.tools-section {
    padding: 36px 0 72px 0;
}

.section-intro {
    margin-bottom: 28px;
}

.section-heading {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-charcoal-deep);
    margin-bottom: 6px;
}

.section-subtext {
    font-size: 14.5px;
    color: var(--color-charcoal-muted);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tool-tile {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 195px;
    cursor: pointer;
}

.tool-tile:hover {
    border-color: var(--color-brand-border);
}

.tool-tile-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.tile-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background-color: var(--color-brand-light);
    color: var(--color-brand);
    border: 1px solid var(--color-brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.tool-tile:hover .tile-icon-box {
    background-color: var(--color-brand);
    color: #ffffff;
    border-color: var(--color-brand);
}

.tile-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--color-charcoal-deep);
}

.tile-desc {
    font-size: 13.5px;
    color: var(--color-charcoal-body);
    line-height: 1.55;
    flex-grow: 1;
}

.tile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: 14px;
    border-top: 1px solid #f4f4f5;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-brand);
}

.tile-arrow {
    transition: color var(--transition-fast);
}

.tool-tile:hover .tile-arrow {
    color: var(--color-brand-hover);
}

/* Empty State */
.empty-state-box {
    background: var(--color-surface);
    border: 1.5px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 68px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.empty-state-box:hover {
    border-color: var(--color-brand-border);
    background: #fffcfc;
}

.empty-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--color-brand-light);
    color: var(--color-brand);
    border: 1px solid var(--color-brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.empty-state-box:hover .empty-icon-wrapper {
    background-color: #ffe4e6;
    border-color: var(--color-brand);
}

.empty-title {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--color-charcoal-deep);
    margin-bottom: 6px;
    letter-spacing: -0.015em;
}

.empty-desc {
    font-size: 13.5px;
    color: var(--color-charcoal-muted);
    max-width: 420px;
    line-height: 1.55;
}

/* ==========================================================================
   Minimal Footer
   ========================================================================== */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--color-border);
    padding: 26px 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--color-charcoal-muted);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.footer-nav a:hover {
    color: var(--color-brand);
}

/* ==========================================================================
   Authentication System Styles (10px-12px Radius • Zero NPM)
   ========================================================================== */
.auth-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.auth-card {
    max-width: 440px;
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px -2px rgba(24, 24, 27, 0.05), 0 2px 6px -1px rgba(24, 24, 27, 0.03);
    padding: 38px 34px;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.auth-header .brand-logo {
    display: inline-flex;
    margin-bottom: 16px;
}

.auth-title {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-charcoal-deep);
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 13.5px;
    color: var(--color-charcoal-muted);
    line-height: 1.5;
}

/* Google OAuth Sign-in Button (Official Google Aesthetic with 10px Radius) */
.btn-google {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 500;
    font-family: var(--font-family);
    color: var(--color-charcoal-deep);
    box-shadow: var(--shadow-2xs);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-google:hover {
    background-color: #fafafa;
    border-color: #d4d4d8;
}

.google-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 22px 0;
    color: var(--color-charcoal-muted);
    font-size: 12.5px;
    text-transform: lowercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}

.auth-divider span {
    padding: 0 14px;
}

/* Form Elements */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-charcoal-deep);
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--color-charcoal-deep);
    background: #ffffff;
    outline: none;
    transition: var(--transition-fast);
}

.input-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-password-wrapper .form-input {
    padding-right: 42px;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-charcoal-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    transition: var(--transition-fast);
    padding: 0;
}

.password-toggle-btn:hover {
    color: var(--color-charcoal-deep);
    background: #f4f4f5;
}

.password-toggle-btn:focus-visible {
    outline: 2px solid var(--color-brand);
}

.form-input:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px var(--color-brand-glow);
}

.form-input.is-invalid {
    border-color: #ef4444;
    background-color: #fffbfa;
}

.form-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 2px;
    font-weight: 500;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-charcoal-body);
    font-size: 13px;
    user-select: none;
}

.checkbox-input {
    accent-color: var(--color-brand);
    width: 16px;
    height: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.link-brand {
    color: var(--color-brand);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.link-brand:hover {
    color: var(--color-brand-hover);
    text-decoration: underline;
}

.btn-brand-block {
    width: 100%;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-family);
    background-color: var(--color-brand);
    color: #ffffff;
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: var(--transition-fast);
}

.btn-brand-block:hover {
    background-color: var(--color-brand-hover);
    border-color: var(--color-brand-hover);
}

.auth-footer-nav {
    text-align: center;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #f4f4f5;
    font-size: 13.5px;
    color: var(--color-charcoal-muted);
}

/* System Alerts */
.alert {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.45;
    text-align: left;
}

.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-warning {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

/* Header Auth Actions */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    font-size: 13.5px;
    font-weight: 500;
    font-family: var(--font-family);
    background: transparent;
    color: var(--color-charcoal-body);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-outline:hover {
    color: var(--color-charcoal-deep);
    border-color: var(--color-charcoal-muted);
    background: #f4f4f5;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 6px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--color-charcoal-deep);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.user-chip:hover {
    border-color: var(--color-brand-border);
    background: var(--color-brand-light);
}

.user-chip-avatar {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-xs);
    background: var(--color-brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
}

.user-chip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Dashboard Styles
   ========================================================================== */
.dashboard-section {
    padding: 48px 0 80px 0;
}

.dashboard-intro {
    margin-bottom: 32px;
}

.dashboard-heading {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-charcoal-deep);
    margin-bottom: 6px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
}

.dashboard-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.profile-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 20px;
}

.profile-avatar-large {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin-bottom: 2px;
}

.profile-email {
    font-size: 13.5px;
    color: var(--color-charcoal-muted);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f4f4f5;
    font-size: 13.5px;
}

.detail-label {
    color: var(--color-charcoal-muted);
}

.detail-value {
    color: var(--color-charcoal-deep);
    font-weight: 500;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 500;
}

.tag-badge.google {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.tag-badge.password {
    background: var(--color-brand-light);
    color: var(--color-brand);
    border: 1px solid var(--color-brand-border);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 40px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-section {
        padding: 48px 16px 32px 16px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .kbd-chip {
        display: none;
    }
    .auth-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   Tools Catalog & Macro Category Filter Chips
   ========================================================================== */
.quick-chips-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-charcoal-body);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.quick-chip:hover {
    border-color: var(--color-brand-border);
    color: var(--color-brand);
    background: var(--color-brand-light);
}

.quick-chip.active {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #ffffff;
    box-shadow: var(--shadow-btn);
}

.tools-section {
    padding: 40px 0 80px 0;
}

.section-intro {
    margin-bottom: 24px;
}

.section-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    letter-spacing: -0.01em;
}

.section-subtext {
    font-size: 14px;
    color: var(--color-charcoal-muted);
    margin-top: 4px;
}

.tools-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.tool-card:hover {
    border-color: var(--color-brand-border);
    box-shadow: var(--shadow-card-hover);
    background: #ffffff;
}

.tool-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.tool-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-brand-light);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-card-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    background: #f4f4f5;
    color: var(--color-charcoal-muted);
}

.tool-card-body {
    flex: 1;
    margin-bottom: 18px;
}

.tool-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    line-height: 1.35;
    margin-bottom: 6px;
}

.tool-card-desc {
    font-size: 13px;
    color: var(--color-charcoal-muted);
    line-height: 1.5;
}

.tool-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f4f4f5;
    padding-top: 14px;
    margin-top: auto;
}

.tool-card-action {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-brand);
}

.tool-card-views {
    font-size: 11px;
    color: var(--color-charcoal-muted);
}

.tools-grid-empty {
    text-align: center;
    padding: 48px 24px;
    background: #ffffff;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.empty-icon {
    color: var(--color-charcoal-muted);
    margin-bottom: 12px;
}

.empty-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin-bottom: 4px;
}

.empty-desc {
    font-size: 13px;
    color: var(--color-charcoal-muted);
    margin-bottom: 16px;
}

.empty-reset-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-brand);
    cursor: pointer;
    transition: var(--transition-fast);
}

.empty-reset-btn:hover {
    background: var(--color-brand-light);
    border-color: var(--color-brand-border);
}

/* ==========================================================================
   Tool Page Layout & Breadcrumbs
   ========================================================================== */
.tool-page-wrapper {
    padding: 28px 0 72px 0;
}

.tool-breadcrumbs {
    font-size: 13px;
    color: var(--color-charcoal-muted);
    margin-bottom: 20px;
}

.tool-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.tool-breadcrumbs a {
    color: var(--color-charcoal-muted);
    text-decoration: none;
}

.tool-breadcrumbs a:hover {
    color: var(--color-brand);
}

.tool-breadcrumbs .sep {
    color: #a1a1aa;
    user-select: none;
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.tool-header-main {
    flex: 1;
}

.tool-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.badge-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    background: #f4f4f5;
    color: var(--color-charcoal-deep);
}

.badge-privacy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.tool-main-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-charcoal-deep);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 8px;
}

.tool-main-summary {
    font-size: 15px;
    color: var(--color-charcoal-muted);
    line-height: 1.55;
    max-width: 780px;
}

.tool-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tool-hero-header {
    text-align: center;
    max-width: 680px;
    margin: 8px auto 32px auto;
}

.tool-hero-header .tool-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-charcoal-deep);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 10px;
}

.tool-hero-header .tool-main-summary {
    font-size: 15px;
    color: var(--color-charcoal-muted);
    line-height: 1.55;
    margin: 0 auto 16px auto;
    max-width: 580px;
}

.tool-hero-header .tool-header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-charcoal-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-tool-pill:hover {
    border-color: var(--color-brand-border);
    background: var(--color-brand-light);
    color: var(--color-brand);
}

.btn-tool-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-charcoal-deep);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-tool-secondary:hover {
    border-color: var(--color-brand-border);
    color: var(--color-brand);
    background: var(--color-brand-light);
}

.tool-workbench-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: 760px;
    margin: 0 auto 48px auto;
}

/* ==========================================================================
   AI Metadata Remover Workspace
   ========================================================================== */
.file-dropzone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    background: #fafafa;
    padding: 44px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.file-dropzone:hover,
.file-dropzone.is-dragover {
    border-color: var(--color-brand);
    background: var(--color-brand-light);
}

.dropzone-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px auto;
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--color-charcoal-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xs);
    transition: var(--transition-fast);
}

.file-dropzone:hover .dropzone-icon {
    color: var(--color-brand);
}

.dropzone-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-charcoal-deep);
    margin-bottom: 6px;
}

.dropzone-browse {
    color: var(--color-brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dropzone-hint {
    font-size: 13px;
    color: var(--color-charcoal-muted);
}

.dropzone-hint kbd {
    background: #e4e4e7;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--color-charcoal-deep);
}

.dropzone-loaded {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.preview-thumbnail-wrapper {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f4f4f5;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-meta {
    flex: 1;
    min-width: 0;
}

.preview-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin-bottom: 4px;
    word-break: break-all;
}

.preview-sub {
    font-size: 13px;
    color: var(--color-charcoal-muted);
    margin-bottom: 12px;
}

.btn-change-image {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-brand);
    background: #ffffff;
    border: 1px solid var(--color-brand-border);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-change-image:hover {
    background: var(--color-brand-light);
}

.metadata-results-container {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: #fafafa;
}

.status-card.status-scanning {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.status-card.status-found {
    background: #fff1f2;
    border-color: #fecdd3;
}

.status-card.status-clean {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.status-icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin-bottom: 2px;
}

.status-desc {
    font-size: 13px;
    color: var(--color-charcoal-muted);
    line-height: 1.4;
}

.meta-inspector-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
}

.inspector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #fafafa;
    border-bottom: 1px solid var(--color-border);
}

.inspector-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
}

.badge-count {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    background: #fee2e2;
    color: #b91c1c;
}

.meta-table-wrapper {
    max-height: 320px;
    overflow-y: auto;
}

.meta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.meta-table th {
    text-align: left;
    padding: 10px 18px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-charcoal-muted);
    background: #f4f4f5;
    border-bottom: 1px solid var(--color-border);
}

.meta-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #f4f4f5;
    vertical-align: top;
}

.meta-chunk-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f4f4f5;
    color: var(--color-charcoal-deep);
}

.meta-key {
    font-weight: 600;
    color: var(--color-charcoal-deep);
    font-size: 12px;
}

.meta-val-preview {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-charcoal-body);
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 80px;
    overflow-y: auto;
    background: #fafafa;
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    border: 1px solid #f0f0f2;
}

/* Clean Status Pill */
.clean-status-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    transition: var(--transition-fast);
}

.clean-status-pill.has-findings {
    background: #fff1f2;
    border-color: #fecdd3;
}

.clean-status-pill.is-clean {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a1a1aa;
    flex-shrink: 0;
}

.clean-status-pill.has-findings .status-indicator-dot {
    background: var(--color-brand);
}

.clean-status-pill.is-clean .status-indicator-dot {
    background: #059669;
}

.status-summary-text {
    font-weight: 600;
    color: var(--color-charcoal-deep);
}

.status-tags-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-wrap: wrap;
}

.status-tag-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    background: #ffffff;
    color: var(--color-brand);
    border: 1px solid #fecdd3;
}

/* Export Controls (Rename & Format conversion) */
.export-controls-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .export-controls-card {
        grid-template-columns: 1fr;
    }
}

.export-control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.export-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-charcoal-muted);
}

.filename-input-wrap {
    display: flex;
    align-items: center;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.filename-input-wrap:focus-within {
    border-color: var(--color-brand);
    background: #ffffff;
    box-shadow: 0 0 0 2px var(--color-brand-light);
}

.export-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: none;
    background: transparent;
    font-size: 13.5px;
    color: var(--color-charcoal-deep);
    font-family: inherit;
    outline: none;
}

.ext-badge {
    padding: 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-charcoal-muted);
    background: #f4f4f5;
    height: 38px;
    display: flex;
    align-items: center;
    border-left: 1px solid var(--color-border);
    user-select: none;
}

.format-pills-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.format-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 38px;
    padding: 0 14px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-charcoal-deep);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.format-pill input[type="radio"] {
    display: none;
}

.format-pill:hover {
    border-color: var(--color-brand-border);
    background: #fff1f2;
}

.format-pill.active {
    background: var(--color-brand-light);
    border-color: var(--color-brand);
    color: var(--color-brand);
    font-weight: 700;
}

/* Primary Clean Action Box */
.clean-action-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    gap: 8px;
}

.btn-clean-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 32px;
    background: var(--color-brand);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
    transition: var(--transition-fast);
}

.btn-clean-primary:hover {
    background: var(--color-brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}

.btn-clean-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.action-subhint {
    font-size: 12.5px;
    color: var(--color-charcoal-muted);
    margin: 0;
}

/* Collapsible Advanced Accordion */
.clean-accordion {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.clean-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-charcoal-body);
    background: #fafafa;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.clean-accordion-toggle:hover {
    color: var(--color-charcoal-deep);
    background: #f4f4f5;
}

.toggle-count-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #e4e4e7;
    color: var(--color-charcoal-deep);
}

.accordion-body {
    padding: 16px 18px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compact-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.compact-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--color-charcoal-deep);
    cursor: pointer;
}

.compact-opt input[type="checkbox"] {
    accent-color: var(--color-brand);
    width: 15px;
    height: 15px;
}

.compact-inspector-wrapper {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

/* Clean Success Card */
.clean-success-card {
    background: #ffffff;
    border: 1.5px solid #a7f3d0;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: 0 4px 20px -2px rgba(5, 150, 105, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.success-icon-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.success-icon-bubble {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-title {
    font-size: 18px;
    font-weight: 700;
    color: #065f46;
    margin: 0;
}

.success-desc {
    font-size: 13px;
    color: #047857;
    margin: 4px 0 0 0;
}

.success-pills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.success-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: #047857;
}

.success-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.audit-details-collapse {
    width: 100%;
    text-align: left;
    margin-top: 12px;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}

.audit-details-collapse summary {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-charcoal-muted);
    cursor: pointer;
    user-select: none;
}

.audit-details-collapse summary:hover {
    color: var(--color-brand);
}

.audit-details-content {
    margin-top: 12px;
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.audit-table th {
    background: #f8fafc;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-charcoal-muted);
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.audit-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--color-charcoal-body);
}

.audit-table tr:last-child td {
    border-bottom: none;
}

.audit-status-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.audit-status-tag.success {
    background: #dcfce7;
    color: #15803d;
}

/* ==========================================================================
   Tool Educational Guide & FAQ (Borderless Reading Width)
   ========================================================================== */
.tool-guide-section {
    max-width: 760px;
    margin: 0 auto 48px auto;
}

.guide-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.guide-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-charcoal-deep);
    margin-bottom: 14px;
    letter-spacing: -0.015em;
}

.guide-prose p {
    font-size: 14.5px;
    color: var(--color-charcoal-body);
    line-height: 1.7;
    margin-bottom: 14px;
}

.guide-prose ul {
    margin: 12px 0 20px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-charcoal-body);
}

.guide-prose li {
    margin-bottom: 8px;
}

.guide-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin: 32px 0 12px 0;
    letter-spacing: -0.01em;
}

.guide-prose ol {
    margin: 12px 0 20px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-charcoal-body);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 22px 0 32px 0;
}

.benefit-item {
    background: transparent;
    border: none;
    border-left: 2.5px solid var(--color-brand-border);
    border-radius: 0;
    padding: 2px 0 2px 14px;
}

.benefit-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin-bottom: 4px;
}

.benefit-item p {
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: var(--color-charcoal-muted) !important;
}

.supported-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px 0;
}

.supp-tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    background: #f4f4f5;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    color: var(--color-charcoal-body);
    transition: var(--transition-fast);
}

.supp-tag:hover {
    border-color: var(--color-brand-border);
    background: var(--color-brand-light);
    color: var(--color-brand);
}

.faq-section {
    margin-top: 32px;
    border-top: 1px solid var(--color-border);
    padding-top: 28px;
}

.faq-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin-bottom: 16px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 14px 0;
}

.faq-item summary {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-charcoal-deep);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 18px;
    font-weight: 400;
    color: var(--color-charcoal-muted);
}

.faq-item[open] summary::after {
    content: "\2212";
    color: var(--color-brand);
}

.faq-answer {
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-charcoal-body);
    line-height: 1.6;
}

/* ==========================================================================
   Related Tools Grid
   ========================================================================== */
.related-tools-section {
    margin-top: 36px;
}

.related-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin-bottom: 16px;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-tool-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
}

.related-tool-card:hover {
    border-color: var(--color-brand-border);
    background: #ffffff;
    box-shadow: var(--shadow-card-hover);
}

.related-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-brand);
    display: block;
    margin-bottom: 4px;
}

.related-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-charcoal-deep);
    margin-bottom: 4px;
}

.related-desc {
    font-size: 12px;
    color: var(--color-charcoal-muted);
    line-height: 1.4;
}

@media (max-width: 960px) {
    .tools-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .remover-action-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .tools-catalog-grid {
        grid-template-columns: 1fr;
    }
    .related-tools-grid {
        grid-template-columns: 1fr;
    }
    .tool-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .dropzone-loaded {
        flex-direction: column;
        align-items: flex-start;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
