@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-400.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-500.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-600.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-700.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-800.ttf') format('truetype');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/assets/fonts/space-grotesk-600.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/assets/fonts/space-grotesk-700.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
    box-sizing: border-box;
}

* {
    overflow-wrap: break-word;
}

:root {
    --primary: #0f6dff;
    --primary-dark: #0a4ec7;
    --secondary: #0f9d82;
    --accent: #ff9f43;
    --dark: #162033;
    --light: #f4f8ff;
    --gray: #5a6579;
    --white: #ffffff;
    --border: #dbe4f4;
    --shadow: 0 10px 30px rgba(22, 32, 51, 0.08);
    --shadow-lg: 0 20px 45px rgba(15, 109, 255, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

*, *:before, *:after {
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at 10% -5%, rgba(15, 109, 255, 0.15), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(15, 157, 130, 0.16), transparent 28%),
        linear-gradient(180deg, #eef4ff 0%, #f7fbff 48%, #f2f7ff 100%);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

img, canvas, div, section, main, header, footer {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.w-full { width: 100% !important; display: block; }
.flex-wrap { flex-wrap: wrap !important; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 26px rgba(22, 32, 51, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.fa-svg-icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    line-height: 1;
}

.fa-svg-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.fa-svg-icon.fa-spin {
    animation: fa-svg-spin 2s linear infinite;
}

@keyframes fa-svg-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-tool-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(360px, 100%);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(22, 32, 51, 0.08);
    padding: 8px 14px;
}

.header-tool-search i {
    color: var(--primary);
    font-size: 0.95rem;
}

.header-tool-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.header-tool-search input::placeholder {
    color: #8893a6;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}

.nav-external-icon {
    font-size: 0.8rem;
    margin-left: 3px;
}

.nav-submenu-lang {
    min-width: 120px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(15, 109, 255, 0.2);
}

.nav-link-button {
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font: inherit;
}

.nav-link-button i {
    font-size: 0.72rem;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    list-style: none;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 130;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
    display: block;
}

.nav-dropdown.open .nav-submenu {
    display: block;
}

.nav-submenu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
}

.nav-submenu a i {
    width: 18px;
    text-align: center;
    color: var(--primary);
}

.nav-submenu a:hover {
    background: rgba(15, 109, 255, 0.08);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 70px 20px 58px;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.08rem;
    color: var(--gray);
    max-width: 760px;
    margin: 0 auto;
}

/* Tools Grid */
.tools-grid {
    column-count: 3;
    column-gap: 25px;
    padding-bottom: 60px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeUp 0.42s ease both;
    display: inline-block;
    width: 100%;
    margin: 0 0 25px;
    height: auto;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tool-card.hidden {
    display: none;
}

.hidden {
    display: none !important;
}

.mst-mt-40 {
    margin-top: 40px;
}

.mst-mt-60 {
    margin-top: 60px;
}

.mst-mt-20 {
    margin-top: 20px;
}

.mst-badge-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.mst-meta-small {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.mst-link-reset {
    text-decoration: none;
    color: inherit;
}

.mst-text-gray-sm {
    font-size: 0.9rem;
    color: var(--gray);
}

.mst-card-soft {
    padding: 20px;
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid rgba(15, 109, 255, 0.1);
}

.mst-icon-lg-primary {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.mst-mb-10 {
    margin-bottom: 10px;
}

.mst-btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.mst-row-between-mt10 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.mst-text-xs-gray {
    font-size: 0.8rem;
    color: var(--gray);
}

.tool-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tool-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.tool-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.tool-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tool-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.tool-btn:hover {
    background: var(--primary-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    padding: 5px;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--dark);
}

.modal-body {
    padding: 30px;
}

/* Tool Forms */
.tool-section {
    margin-bottom: 25px;
}

.tool-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.tool-section input[type="text"],
.tool-section input[type="number"],
.tool-section input[type="url"],
.tool-section textarea,
.tool-section select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.tool-section input:focus,
.tool-section textarea:focus,
.tool-section select:focus {
    outline: none;
    border-color: var(--primary);
}

.tool-section textarea {
    min-height: 150px;
    font-family: 'Courier New', monospace;
}

.drop-zone {
    border: 2px dashed #c7d6ee;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}

@media (max-width: 600px) {
    .drop-zone {
        padding: 24px 15px;
    }
    .drop-zone i {
        font-size: 2.2rem;
    }
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--primary);
    background: rgba(15, 109, 255, 0.06);
}

.drop-zone i {
    font-size: 3rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.drop-zone p {
    color: var(--gray);
}

.drop-zone .browse-btn {
    color: var(--primary);
    font-weight: 600;
}

.preview-area {
    margin-top: 20px;
    text-align: center;
}

.preview-area img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.preview-info {
    margin-top: 15px;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
}

.multi-pdf-preview-list {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.multi-pdf-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #dce3ec;
    border-radius: 10px;
    background: #fff;
}

.multi-pdf-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(15, 109, 255, 0.12);
}

.multi-pdf-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: none;
}

.multi-pdf-item-meta {
    text-align: left;
}

.multi-pdf-item-meta p {
    margin: 2px 0;
    font-size: 0.85rem;
}

.multi-pdf-item-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.multi-pdf-action-btn {
    min-width: 56px;
    padding: 6px 10px;
    font-size: 0.78rem;
    flex: 0 0 auto;
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 480px) {
    .btn-group {
        flex-direction: column;
    }
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 120px;
    text-decoration: none;
}

.btn-primary { 
    background: linear-gradient(125deg, var(--primary), var(--primary-dark)); 
    color: var(--white); 
}

.btn-secondary { 
    background: linear-gradient(125deg, var(--secondary), #0b7f69); 
    color: var(--white); 
}

@media (max-width: 480px) {
    .btn-primary, .btn-secondary, .btn-outline {
        width: 100%;
        min-width: 0;
        flex: none;
    }
}

.btn-secondary:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.studio-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.studio-action-btn.active {
    border-color: var(--primary);
    color: var(--white);
    background: linear-gradient(125deg, var(--primary), var(--primary-dark));
}

.studio-panel {
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    background: #fbfdff;
}

/* Format Options */
.format-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.format-btn {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.format-btn:hover, .format-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

/* Image Converter Support Status Badges */
.format-options.has-support-badges .format-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 88px;
}

.format-options.has-support-badges .format-btn::after {
    content: attr(data-support);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.format-options.has-support-badges .format-btn.format-unsupported::after {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}

.format-options.has-support-badges .format-btn.format-target::after {
    background: rgba(15, 109, 255, 0.18);
    color: #0f6dff;
}

.format-options.has-support-badges .format-btn.format-input::after {
    background: rgba(148, 163, 184, 0.22);
    color: #475569;
}

.format-options.has-support-badges .format-btn[data-support="Checking..."]::after {
    background: rgba(245, 158, 11, 0.18);
    color: #b45309;
}

.format-options.has-support-badges .format-btn.format-experimental::after {
    background: rgba(249, 115, 22, 0.18);
    color: #c2410c;
}

.avif-quality-control {
    margin-top: 14px;
}

.avif-quality-note {
    margin-top: 8px;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.4;
}

/* Rotation Buttons */
.rotate-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rotate-btn {
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rotate-btn:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
}

/* Color Picker */
.color-picker-area {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.color-preview {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    border: 3px solid #e5e7eb;
}

.color-values {
    flex: 1;
    min-width: 200px;
}

.color-value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--light);
    border-radius: 8px;
}

.color-value input {
    flex: 1;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.copy-btn {
    padding: 8px 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Unit Converter */
.unit-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.unit-cat-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    font-weight: 500;
}

.unit-cat-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.unit-converter-area {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.unit-converter-area input,
.unit-converter-area select {
    flex: 1;
    min-width: 120px;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
}

/* QR Code */
.qr-result {
    margin-top: 20px;
    text-align: center;
}

.qr-result canvas {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.global-ad-wrap {
    margin: 24px auto 32px;
    max-width: 980px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.global-ad-wrap--spaced {
    margin-top: 28px;
}

.ad-label {
    margin: 0 0 8px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--gray);
    text-transform: uppercase;
}

.ad-slot {
    min-height: 90px;
    display: block;
    width: 100%;
    color: var(--gray);
    font-size: 0.9rem;
    text-align: center;
}

.ad-fallback-wrap {
    display: block;
}

.mst-adsbygoogle {
    display: block;
    width: 100%;
    min-height: 90px;
}

.is-hidden {
    display: none !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #13223c, #0d376e);
    color: var(--white);
    padding: 30px 0;
    margin-top: auto;
    text-align: center;
}

footer p {
    opacity: 0.8;
}

/* Hidden file input */
#fileInput {
    display: none;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success message */
.success-msg {
    background: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
}

/* MST Global Error UI */
.mst-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #ef4444;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    pointer-events: none;
}

.mst-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mst-toast.success { background: #22c55e; box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3); }
.mst-toast.info { background: #3b82f6; box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3); }

.mst-toast i { font-size: 1.2rem; }

/* Responsive */
@media (max-width: 768px) {
    header .container {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
        padding-bottom: 14px;
    }
    
    .logo {
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    nav.main-nav {
        grid-column: 1 / -1;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: #fff;
        padding: 10px;
        box-shadow: var(--shadow);
    }

    nav.main-nav.is-open {
        display: flex;
    }

    nav.main-nav .nav-link {
        width: 100%;
        text-align: left;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
    }

    .header-tool-search {
        width: 100%;
        max-width: 100%;
        grid-column: 1 / -1;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-link-button {
        width: 100%;
        justify-content: flex-start;
    }

    nav.main-nav .nav-dropdown > .nav-link-button {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-submenu {
        position: static;
        width: 100%;
        margin-top: 8px;
    }

    .nav-dropdown:not(.open) .nav-submenu {
        display: none !important;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .tools-grid {
        column-count: 2;
        padding-left: 10px;
        padding-right: 10px;
    }

    .homepage-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modal-content {
        margin: 10px;
    }

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

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .tools-grid {
        column-count: 1;
    }

    .homepage-category-grid {
        grid-template-columns: 1fr;
    }
}

/* Tool Page Styles */
.tool-page {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: var(--shadow);
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .tool-page {
        padding: 24px 16px;
        margin: 20px 0;
        border-radius: 12px;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-page h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.tool-description {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.tool-info {
    margin-top: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
}

.tool-info h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.tool-info ol {
    padding-left: 20px;
    color: var(--gray);
}

.tool-info li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.breadcrumb {
    padding: 15px 0;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.related-tools {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.related-tools h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.homepage-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.related-tool-card {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
}

.related-tool-card:hover {
    background: var(--primary);
    color: var(--white);
}

.related-tool-card i {
    margin-right: 8px;
}

/* Internal promo ad cards */
.promo-ad-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(15, 109, 255, 0.14);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(15, 109, 255, 0.08);
}

.promo-ad-card-link {
    text-decoration: none;
    color: inherit;
}

.promo-ad-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: #f8fafc;
    flex: 0 0 auto;
}

.promo-ad-body {
    min-width: 0;
    flex: 1 1 auto;
}

.promo-ad-title {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--dark);
}

.promo-ad-desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.45;
}

.promo-ad-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

.promo-ad-img-lg {
    width: 96px;
    height: 96px;
}

.promo-ad-desc-lg {
    font-size: 0.95rem;
}

.promo-ad-cta-lg {
    padding: 10px 16px;
}

/* Tool Layout (Main & Sidebar) */
.tool-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
    width: 100%;
}

@media (max-width: 1024px) {
    .homepage-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tool-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promo-ad-card {
        gap: 12px;
    }

    .promo-ad-img,
    .promo-ad-img-lg {
        width: 72px;
        height: 72px;
    }
}
/* Navigation Hub */
.tool-nav-hub {
    margin: 30px 0 50px;
    padding: 0;
}

.nav-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

@media (max-width: 480px) {
    .nav-hub-grid {
        grid-template-columns: 1fr;
    }
}

.hub-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    text-decoration: none;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.hub-icon {
    width: 52px;
    height: 52px;
    background: var(--light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.hub-card:hover .hub-icon {
    background: var(--primary);
    color: #fff;
}

.hub-card h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.hub-card p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--gray);
}

/* SEO Content Section */ 
.seo-content { 
    margin-top: 60px; 
    padding: 40px; 
    background: #fff; 
    border-radius: 20px; 
    box-shadow: var(--shadow); 
    border: 1px solid rgba(0,0,0,0.03); 
} 

@media (max-width: 600px) {
    .seo-content {
        padding: 24px 15px;
        margin-top: 40px;
    }

    .related-tools-grid.homepage-category-grid {
        grid-template-columns: 1fr !important;
    }

    .promo-ad-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-ad-cta,
    .promo-ad-cta-lg {
        width: 100%;
    }
}

.seo-content h2 { font-size: 24px; margin-bottom: 15px; color: var(--dark); } 
.seo-content > p { color: var(--gray); line-height: 1.6; margin-bottom: 35px; } 
.seo-content .container > p { color: var(--gray); line-height: 1.6; margin-bottom: 35px; }

.seo-grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
} 

@media (max-width: 1024px) {
    .seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .seo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.seo-item { text-align: left; } 
.seo-item i { font-size: 28px; color: var(--primary); margin-bottom: 15px; display: block; } 
.seo-item h3 { font-size: 18px; margin-bottom: 10px; color: var(--dark); } 
.seo-item p { font-size: 14px; color: var(--gray); line-height: 1.5; }

/* Related Tools Section */
.related-tools { margin-top: 40px; }
.related-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.related-link { background: var(--light); padding: 10px 18px; border-radius: 10px; text-decoration: none; color: var(--dark); font-size: 14px; font-weight: 500; transition: all 0.2s ease; border: 1px solid rgba(0,0,0,0.02); }
.related-link:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.tag-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 8px 18px; 
    background: rgba(15, 109, 255, 0.08); 
    color: var(--primary); 
    border-radius: 100px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    border: 1px solid rgba(15, 109, 255, 0.15); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    user-select: none;
} 
.tag-badge:hover {
    transform: translateY(-2px);
    background: rgba(15, 109, 255, 0.12);
    box-shadow: 0 4px 15px rgba(15, 109, 255, 0.15);
}
.tool-description { color: var(--gray); font-size: 1.1rem; margin-bottom: 30px; }
.tag-badge.green-badge { 
    background: rgba(34, 197, 94, 0.08); 
    color: #16a34a; 
    border-color: rgba(34, 197, 94, 0.2); 
} 
.tag-badge.green-badge:hover {
    background: rgba(34, 197, 94, 0.12);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
}
button:disabled { background: #e2e8f0 !important; color: #94a3b8 !important; cursor: not-allowed !important; border-color: #cbd5e1 !important; transform: none !important; box-shadow: none !important; }
.tag-badge.green-badge { background: rgba(34, 197, 94, 0.1); color: #10b981; }
.tool-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    width: 100%;
}

/* Universal Footer System */
.universal-footer {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
}
.footer-links-list {
    list-style: none;
}
.footer-links-list li {
    margin-bottom: 15px;
}
.footer-links-list a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
}
.footer-social-links {
    display: flex;
    gap: 15px;
}
.social-item {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.social-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-designed-note {
    color: #adb5bd;
    margin-top: 5px;
    display: inline-block;
}

.footer-host {
    padding: 0;
    background: transparent;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .footer-col h4 {
        margin-bottom: 20px;
    }
    .footer-links-list a:hover {
        transform: translateY(-3px);
    }
    .footer-social-links {
        justify-content: center;
    }
    .footer-logo {
        justify-content: center;
    }
}

/* Copy Action Buttons */
.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(15, 109, 255, 0.15);
}
.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 109, 255, 0.25);
    background: #0056e0;
}
.btn-copy:active {
    transform: scale(0.95);
}
.btn-copy i {
    font-size: 0.85rem;
}

.tag-badge { 
    white-space: normal;
    text-align: center;
}


/* Migrated inline style blocks */

/* Migrated from ascii-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; flex-wrap: wrap; }
        .swap-btn { background: var(--dark); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
        .swap-btn:hover { transform: rotate(180deg) scale(1.05); }
        body { overflow-x: hidden; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from base32-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; flex-wrap: wrap; }
        .swap-btn { background: var(--dark); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
        .swap-btn:hover { transform: rotate(180deg) scale(1.05); }
        body { overflow-x: hidden; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }
        .base32-mode-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
        .base32-mode-option { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(15,109,255,0.22); border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--dark); font-size: 0.85rem; font-weight: 600; }
        .base32-mode-option input { accent-color: var(--primary); }
        .base32-mode-help { margin-top: 10px; font-size: 0.8rem; color: var(--gray); }


/* Migrated from base64-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .mode-selector { display: flex; gap: 10px; margin-bottom: 25px; background: rgba(255, 255, 255, 0.5); padding: 5px; border-radius: 12px; backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); overflow-x: auto; }
        .mode-btn { flex: 0 0 auto; padding: 10px 20px; border-radius: 10px; border: none; background: transparent; color: var(--gray); font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 0.85rem; white-space: nowrap; }
        .mode-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(15, 109, 255, 0.2); }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; }
        .swap-btn { background: var(--dark); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
        .swap-btn:hover { transform: rotate(180deg) scale(1.1); }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }
        .base64-mode-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
        .base64-mode-option { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(15,109,255,0.22); border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--dark); font-size: 0.85rem; font-weight: 600; }
        .base64-mode-option input { accent-color: var(--primary); }
        .base64-mode-help { margin-top: 10px; font-size: 0.8rem; color: var(--gray); }


/* Migrated from binary-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; flex-wrap: wrap; }
        .swap-btn { background: var(--dark); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
        .swap-btn:hover { transform: rotate(180deg) scale(1.05); }
        body { overflow-x: hidden; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }
        .binary-mode-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
        .binary-mode-option { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(15,109,255,0.22); border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--dark); font-size: 0.85rem; font-weight: 600; }
        .binary-mode-option input { accent-color: var(--primary); }
        .binary-mode-help { margin-top: 10px; font-size: 0.8rem; color: var(--gray); }


/* Migrated from color-contrast-checker/index.html */
.cp-grid { display: grid; gap: 18px; margin-top: 24px; }
        .cp-card { background: rgba(255,255,255,0.85); border: 1px solid rgba(15,109,255,0.15); border-radius: 14px; padding: 16px; }
        .cp-card h3 { margin-bottom: 10px; }
        .cp-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
        .cp-row label { font-weight: 700; min-width: 90px; color: var(--dark); }
        .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: var(--dark);
        }
        .cp-row input[type="color"] {
            width: 58px;
            height: 42px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            padding: 2px;
            cursor: pointer;
        }
        .cp-row input[type="range"] {
            flex: 1;
            min-width: 160px;
        }
        .cp-row textarea { min-height: 42px; resize: vertical; }
        .cp-row input:focus, .cp-row select:focus, .cp-row textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.12);
        }
        .cp-row .btn-outline[data-copy-target] {
            flex: 0 0 auto;
            min-width: 64px;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.1;
            border: 1px solid rgba(15, 109, 255, 0.35);
            background: #f8fbff;
            color: var(--primary);
            box-shadow: none;
        }
        .cp-row .btn-outline[data-copy-target]:hover {
            background: #eef5ff;
            border-color: rgba(15, 109, 255, 0.55);
        }
        .cp-swatch { width: 56px; height: 56px; border-radius: 10px; border: 2px solid #e2e8f0; box-shadow: var(--shadow); }
        .cp-alpha-preview {
            width: 82px;
            height: 32px;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
            background-image:
                linear-gradient(45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(-45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #d9e2ef 75%),
                linear-gradient(-45deg, transparent 75%, #d9e2ef 75%);
            background-size: 16px 16px;
            background-position: 0 0, 0 8px, 8px -8px, -8px 0;
            overflow: hidden;
            position: relative;
        }
        .cp-alpha-row {
            flex-wrap: nowrap;
            gap: 8px;
            align-items: center;
        }
        .cp-alpha-row label {
            min-width: 48px;
            width: 48px;
        }
        .cp-alpha-row input[type="range"] {
            min-width: 120px;
            flex: 1 1 auto;
        }
        .cp-alpha-row #cpAlphaValue {
            flex: 0 0 auto;
            width: 62px;
            min-width: 62px;
            text-align: center;
            padding: 7px 8px;
            font-size: 0.85rem;
        }
        .cp-alpha-row .cp-alpha-preview {
            flex: 0 0 auto;
        }
        .cp-alpha-preview::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--cp-alpha-color, rgba(15,109,255,1));
        }
        .cp-format-grid { display: grid; gap: 8px; }
        .cp-chip-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
        .cp-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dfeb; border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; width: 100%; }
        .cp-chip-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #c9d5e4; flex: 0 0 auto; }
        .cp-chip-label { font-size: 0.8rem; color: var(--dark); overflow-wrap: anywhere; }
        .cp-muted { color: var(--gray); font-size: 0.88rem; }
        .cp-grad-preview { height: 110px; border-radius: 12px; border: 1px solid #d7dfeb; }
        .cp-contrast-result {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        .cp-pass {
            color: #15803d;
            font-weight: 800;
        }
        .cp-fail {
            color: #b91c1c;
            font-weight: 800;
        }
        .cp-contrast-help {
            margin-top: 8px;
            padding: 10px 12px;
            border: 1px solid #d7dfeb;
            border-radius: 10px;
            background: #f8fafc;
            color: var(--gray);
            font-size: 0.85rem;
            line-height: 1.45;
        }
        #cpPaletteCountValue, #cpGradAngleValue {
            min-width: 52px;
            text-align: center;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 6px 8px;
            font-weight: 700;
            color: var(--dark);
        }
        @media (max-width: 760px) {
            .cp-row {
                align-items: flex-start;
            }
            .cp-row label {
                width: 100%;
                min-width: 100%;
                margin-bottom: 2px;
            }
            .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea, .cp-row input[type="range"] {
                min-width: 100%;
            }
            .cp-alpha-row {
                display: grid;
                grid-template-columns: 1fr auto auto;
                gap: 8px;
                align-items: center;
            }
            .cp-alpha-row label {
                grid-column: 1 / -1;
                width: auto;
                min-width: 0;
                margin-bottom: 0;
            }
            .cp-alpha-row input[type="range"] {
                min-width: 0;
                width: 100%;
            }
            .cp-alpha-row #cpAlphaValue {
                width: 56px;
                min-width: 56px;
                padding: 6px 6px;
                font-size: 0.8rem;
            }
            .cp-alpha-row .cp-alpha-preview {
                width: 68px;
                height: 28px;
                border-radius: 8px;
            }
            .cp-row .btn-outline:not([data-copy-target]), .cp-row .btn-primary {
                min-width: 100%;
                flex: 1 1 100%;
            }
        }
        @media (min-width: 960px) {
            .cp-grid { grid-template-columns: 1.2fr 1fr; }
        }


/* Migrated from color-palette-generator/index.html */
.cp-grid { display: grid; gap: 18px; margin-top: 24px; }
        .cp-card { background: rgba(255,255,255,0.85); border: 1px solid rgba(15,109,255,0.15); border-radius: 14px; padding: 16px; }
        .cp-card h3 { margin-bottom: 10px; }
        .cp-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
        .cp-row label { font-weight: 700; min-width: 90px; color: var(--dark); }
        .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: var(--dark);
        }
        .cp-row input[type="color"] {
            width: 58px;
            height: 42px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            padding: 2px;
            cursor: pointer;
        }
        .cp-row input[type="range"] {
            flex: 1;
            min-width: 160px;
        }
        .cp-row textarea { min-height: 42px; resize: vertical; }
        .cp-row input:focus, .cp-row select:focus, .cp-row textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.12);
        }
        .cp-row .btn-outline[data-copy-target] {
            flex: 0 0 auto;
            min-width: 64px;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.1;
            border: 1px solid rgba(15, 109, 255, 0.35);
            background: #f8fbff;
            color: var(--primary);
            box-shadow: none;
        }
        .cp-row .btn-outline[data-copy-target]:hover {
            background: #eef5ff;
            border-color: rgba(15, 109, 255, 0.55);
        }
        .cp-swatch { width: 56px; height: 56px; border-radius: 10px; border: 2px solid #e2e8f0; box-shadow: var(--shadow); }
        .cp-alpha-preview {
            width: 82px;
            height: 32px;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
            background-image:
                linear-gradient(45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(-45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #d9e2ef 75%),
                linear-gradient(-45deg, transparent 75%, #d9e2ef 75%);
            background-size: 16px 16px;
            background-position: 0 0, 0 8px, 8px -8px, -8px 0;
            overflow: hidden;
            position: relative;
        }
        .cp-alpha-row {
            flex-wrap: nowrap;
            gap: 8px;
            align-items: center;
        }
        .cp-alpha-row label {
            min-width: 48px;
            width: 48px;
        }
        .cp-alpha-row input[type="range"] {
            min-width: 120px;
            flex: 1 1 auto;
        }
        .cp-alpha-row #cpAlphaValue {
            flex: 0 0 auto;
            width: 62px;
            min-width: 62px;
            text-align: center;
            padding: 7px 8px;
            font-size: 0.85rem;
        }
        .cp-alpha-row .cp-alpha-preview {
            flex: 0 0 auto;
        }
        .cp-alpha-preview::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--cp-alpha-color, rgba(15,109,255,1));
        }
        .cp-format-grid { display: grid; gap: 8px; }
        .cp-chip-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
        .cp-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dfeb; border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; width: 100%; }
        .cp-chip-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #c9d5e4; flex: 0 0 auto; }
        .cp-chip-label { font-size: 0.8rem; color: var(--dark); overflow-wrap: anywhere; }
        .cp-muted { color: var(--gray); font-size: 0.88rem; }
        .cp-grad-preview { height: 110px; border-radius: 12px; border: 1px solid #d7dfeb; }
        .cp-contrast-result {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        .cp-pass {
            color: #15803d;
            font-weight: 800;
        }
        .cp-fail {
            color: #b91c1c;
            font-weight: 800;
        }
        .cp-contrast-help {
            margin-top: 8px;
            padding: 10px 12px;
            border: 1px solid #d7dfeb;
            border-radius: 10px;
            background: #f8fafc;
            color: var(--gray);
            font-size: 0.85rem;
            line-height: 1.45;
        }
        #cpPaletteCountValue, #cpGradAngleValue {
            min-width: 52px;
            text-align: center;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 6px 8px;
            font-weight: 700;
            color: var(--dark);
        }
        @media (max-width: 760px) {
            .cp-row {
                align-items: flex-start;
            }
            .cp-row label {
                width: 100%;
                min-width: 100%;
                margin-bottom: 2px;
            }
            .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea, .cp-row input[type="range"] {
                min-width: 100%;
            }
            .cp-alpha-row {
                display: grid;
                grid-template-columns: 1fr auto auto;
                gap: 8px;
                align-items: center;
            }
            .cp-alpha-row label {
                grid-column: 1 / -1;
                width: auto;
                min-width: 0;
                margin-bottom: 0;
            }
            .cp-alpha-row input[type="range"] {
                min-width: 0;
                width: 100%;
            }
            .cp-alpha-row #cpAlphaValue {
                width: 56px;
                min-width: 56px;
                padding: 6px 6px;
                font-size: 0.8rem;
            }
            .cp-alpha-row .cp-alpha-preview {
                width: 68px;
                height: 28px;
                border-radius: 8px;
            }
            .cp-row .btn-outline:not([data-copy-target]), .cp-row .btn-primary {
                min-width: 100%;
                flex: 1 1 100%;
            }
        }
        @media (min-width: 960px) {
            .cp-grid { grid-template-columns: 1.2fr 1fr; }
        }


/* Migrated from color-picker/index.html */
.cp-grid { display: grid; gap: 18px; margin-top: 24px; }
        .cp-card { background: rgba(255,255,255,0.85); border: 1px solid rgba(15,109,255,0.15); border-radius: 14px; padding: 16px; }
        .cp-card h3 { margin-bottom: 10px; }
        .cp-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
        .cp-row label { font-weight: 700; min-width: 90px; color: var(--dark); }
        .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: var(--dark);
        }
        .cp-row input[type="color"] {
            width: 58px;
            height: 42px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            padding: 2px;
            cursor: pointer;
        }
        .cp-row input[type="range"] {
            flex: 1;
            min-width: 160px;
        }
        .cp-row textarea { min-height: 42px; resize: vertical; }
        .cp-row input:focus, .cp-row select:focus, .cp-row textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.12);
        }
        .cp-row .btn-outline[data-copy-target] {
            flex: 0 0 auto;
            min-width: 64px;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.1;
            border: 1px solid rgba(15, 109, 255, 0.35);
            background: #f8fbff;
            color: var(--primary);
            box-shadow: none;
        }
        .cp-row .btn-outline[data-copy-target]:hover {
            background: #eef5ff;
            border-color: rgba(15, 109, 255, 0.55);
        }
        .cp-swatch { width: 56px; height: 56px; border-radius: 10px; border: 2px solid #e2e8f0; box-shadow: var(--shadow); }
        .cp-alpha-preview {
            width: 82px;
            height: 32px;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
            background-image:
                linear-gradient(45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(-45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #d9e2ef 75%),
                linear-gradient(-45deg, transparent 75%, #d9e2ef 75%);
            background-size: 16px 16px;
            background-position: 0 0, 0 8px, 8px -8px, -8px 0;
            overflow: hidden;
            position: relative;
        }
        .cp-alpha-row {
            flex-wrap: nowrap;
            gap: 8px;
            align-items: center;
        }
        .cp-alpha-row label {
            min-width: 48px;
            width: 48px;
        }
        .cp-alpha-row input[type="range"] {
            min-width: 120px;
            flex: 1 1 auto;
        }
        .cp-alpha-row #cpAlphaValue {
            flex: 0 0 auto;
            width: 62px;
            min-width: 62px;
            text-align: center;
            padding: 7px 8px;
            font-size: 0.85rem;
        }
        .cp-alpha-row .cp-alpha-preview {
            flex: 0 0 auto;
        }
        .cp-alpha-preview::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--cp-alpha-color, rgba(15,109,255,1));
        }
        .cp-format-grid { display: grid; gap: 8px; }
        .cp-chip-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
        .cp-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dfeb; border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; width: 100%; }
        .cp-chip-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #c9d5e4; flex: 0 0 auto; }
        .cp-chip-label { font-size: 0.8rem; color: var(--dark); overflow-wrap: anywhere; }
        .cp-muted { color: var(--gray); font-size: 0.88rem; }
        .cp-grad-preview { height: 110px; border-radius: 12px; border: 1px solid #d7dfeb; }
        .cp-contrast-result {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        .cp-pass {
            color: #15803d;
            font-weight: 800;
        }
        .cp-fail {
            color: #b91c1c;
            font-weight: 800;
        }
        .cp-contrast-help {
            margin-top: 8px;
            padding: 10px 12px;
            border: 1px solid #d7dfeb;
            border-radius: 10px;
            background: #f8fafc;
            color: var(--gray);
            font-size: 0.85rem;
            line-height: 1.45;
        }
        #cpPaletteCountValue, #cpGradAngleValue {
            min-width: 52px;
            text-align: center;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 6px 8px;
            font-weight: 700;
            color: var(--dark);
        }
        @media (max-width: 760px) {
            .cp-row {
                align-items: flex-start;
            }
            .cp-row label {
                width: 100%;
                min-width: 100%;
                margin-bottom: 2px;
            }
            .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea, .cp-row input[type="range"] {
                min-width: 100%;
            }
            .cp-alpha-row {
                display: grid;
                grid-template-columns: 1fr auto auto;
                gap: 8px;
                align-items: center;
            }
            .cp-alpha-row label {
                grid-column: 1 / -1;
                width: auto;
                min-width: 0;
                margin-bottom: 0;
            }
            .cp-alpha-row input[type="range"] {
                min-width: 0;
                width: 100%;
            }
            .cp-alpha-row #cpAlphaValue {
                width: 56px;
                min-width: 56px;
                padding: 6px 6px;
                font-size: 0.8rem;
            }
            .cp-alpha-row .cp-alpha-preview {
                width: 68px;
                height: 28px;
                border-radius: 8px;
            }
            .cp-row .btn-outline:not([data-copy-target]), .cp-row .btn-primary {
                min-width: 100%;
                flex: 1 1 100%;
            }
        }
        @media (min-width: 960px) {
            .cp-grid { grid-template-columns: 1.2fr 1fr; }
        }


/* Migrated from encoder-decoder/index.html */
.enc-wrap {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            margin-top: 30px;
        }
        .mode-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
            background: rgba(255, 255, 255, 0.5);
            padding: 5px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0,0,0,0.05);
        }
        .mode-btn {
            flex: 1;
            padding: 12px;
            border-radius: 10px;
            border: none;
            background: transparent;
            color: var(--gray);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        .mode-btn.active {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 15px rgba(15, 109, 255, 0.2);
        }
        .textarea-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            padding: 30px;
            border-radius: 20px;
            border: 1px solid rgba(15, 109, 255, 0.1);
        }
        .textarea-card label {
            display: block;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        textarea {
            width: 100%;
            height: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 15px;
            padding: 20px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 1rem;
            resize: vertical;
            transition: border-color 0.3s ease;
        }
        textarea:focus { border-color: var(--primary); outline: none; }
        
        .action-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin: 10px 0;
        }
        .swap-btn {
            background: var(--dark);
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }
        .swap-btn:hover { transform: rotate(180deg) scale(1.1); }
        
        @media (max-width: 768px) {
            .mode-selector { flex-wrap: wrap; }
            .mode-btn { flex: none; width: 48%; }
        }


/* Migrated from gradient-generator/index.html */
.cp-grid { display: grid; gap: 18px; margin-top: 24px; }
        .cp-card { background: rgba(255,255,255,0.85); border: 1px solid rgba(15,109,255,0.15); border-radius: 14px; padding: 16px; }
        .cp-card h3 { margin-bottom: 10px; }
        .cp-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
        .cp-row label { font-weight: 700; min-width: 90px; color: var(--dark); }
        .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: var(--dark);
        }
        .cp-row input[type="color"] {
            width: 58px;
            height: 42px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            padding: 2px;
            cursor: pointer;
        }
        .cp-row input[type="range"] {
            flex: 1;
            min-width: 160px;
        }
        .cp-row textarea { min-height: 42px; resize: vertical; }
        .cp-row input:focus, .cp-row select:focus, .cp-row textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.12);
        }
        .cp-row .btn-outline[data-copy-target] {
            flex: 0 0 auto;
            min-width: 64px;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.1;
            border: 1px solid rgba(15, 109, 255, 0.35);
            background: #f8fbff;
            color: var(--primary);
            box-shadow: none;
        }
        .cp-row .btn-outline[data-copy-target]:hover {
            background: #eef5ff;
            border-color: rgba(15, 109, 255, 0.55);
        }
        .cp-swatch { width: 56px; height: 56px; border-radius: 10px; border: 2px solid #e2e8f0; box-shadow: var(--shadow); }
        .cp-alpha-preview {
            width: 82px;
            height: 32px;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
            background-image:
                linear-gradient(45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(-45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #d9e2ef 75%),
                linear-gradient(-45deg, transparent 75%, #d9e2ef 75%);
            background-size: 16px 16px;
            background-position: 0 0, 0 8px, 8px -8px, -8px 0;
            overflow: hidden;
            position: relative;
        }
        .cp-alpha-row {
            flex-wrap: nowrap;
            gap: 8px;
            align-items: center;
        }
        .cp-alpha-row label {
            min-width: 48px;
            width: 48px;
        }
        .cp-alpha-row input[type="range"] {
            min-width: 120px;
            flex: 1 1 auto;
        }
        .cp-alpha-row #cpAlphaValue {
            flex: 0 0 auto;
            width: 62px;
            min-width: 62px;
            text-align: center;
            padding: 7px 8px;
            font-size: 0.85rem;
        }
        .cp-alpha-row .cp-alpha-preview {
            flex: 0 0 auto;
        }
        .cp-alpha-preview::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--cp-alpha-color, rgba(15,109,255,1));
        }
        .cp-format-grid { display: grid; gap: 8px; }
        .cp-chip-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
        .cp-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dfeb; border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; width: 100%; }
        .cp-chip-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #c9d5e4; flex: 0 0 auto; }
        .cp-chip-label { font-size: 0.8rem; color: var(--dark); overflow-wrap: anywhere; }
        .cp-muted { color: var(--gray); font-size: 0.88rem; }
        .cp-grad-preview { height: 110px; border-radius: 12px; border: 1px solid #d7dfeb; }
        .cp-contrast-result {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        .cp-pass {
            color: #15803d;
            font-weight: 800;
        }
        .cp-fail {
            color: #b91c1c;
            font-weight: 800;
        }
        .cp-contrast-help {
            margin-top: 8px;
            padding: 10px 12px;
            border: 1px solid #d7dfeb;
            border-radius: 10px;
            background: #f8fafc;
            color: var(--gray);
            font-size: 0.85rem;
            line-height: 1.45;
        }
        #cpPaletteCountValue, #cpGradAngleValue {
            min-width: 52px;
            text-align: center;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 6px 8px;
            font-weight: 700;
            color: var(--dark);
        }
        @media (max-width: 760px) {
            .cp-row {
                align-items: flex-start;
            }
            .cp-row label {
                width: 100%;
                min-width: 100%;
                margin-bottom: 2px;
            }
            .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea, .cp-row input[type="range"] {
                min-width: 100%;
            }
            .cp-alpha-row {
                display: grid;
                grid-template-columns: 1fr auto auto;
                gap: 8px;
                align-items: center;
            }
            .cp-alpha-row label {
                grid-column: 1 / -1;
                width: auto;
                min-width: 0;
                margin-bottom: 0;
            }
            .cp-alpha-row input[type="range"] {
                min-width: 0;
                width: 100%;
            }
            .cp-alpha-row #cpAlphaValue {
                width: 56px;
                min-width: 56px;
                padding: 6px 6px;
                font-size: 0.8rem;
            }
            .cp-alpha-row .cp-alpha-preview {
                width: 68px;
                height: 28px;
                border-radius: 8px;
            }
            .cp-row .btn-outline:not([data-copy-target]), .cp-row .btn-primary {
                min-width: 100%;
                flex: 1 1 100%;
            }
        }
        @media (min-width: 960px) {
            .cp-grid { grid-template-columns: 1.2fr 1fr; }
        }


/* Migrated from hash-security-tools/index.html */
.category-intro { margin: 40px 0 24px; text-align: center; }
        .category-intro h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
        .category-intro p { color: var(--gray); max-width: 760px; margin: 0 auto; }
        .category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 20px 0 60px; }
        .category-card { text-decoration: none; color: inherit; background: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.85); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transition: all .25s ease; }
        .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .category-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--dark); }
        .category-card p { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.5; }


/* Migrated from hex-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; flex-wrap: wrap; }
        .swap-btn { background: var(--dark); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
        .swap-btn:hover { transform: rotate(180deg) scale(1.05); }
        body { overflow-x: hidden; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }
        .hex-mode-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
        .hex-mode-option { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(15,109,255,0.22); border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--dark); font-size: 0.85rem; font-weight: 600; }
        .hex-mode-option input { accent-color: var(--primary); }
        .hex-mode-help { margin-top: 10px; font-size: 0.8rem; color: var(--gray); }


/* Migrated from hex-to-rgb-converter/index.html */
.cp-grid { display: grid; gap: 18px; margin-top: 24px; }
        .cp-card { background: rgba(255,255,255,0.85); border: 1px solid rgba(15,109,255,0.15); border-radius: 14px; padding: 16px; }
        .cp-card h3 { margin-bottom: 10px; }
        .cp-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
        .cp-row label { font-weight: 700; min-width: 90px; color: var(--dark); }
        .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: var(--dark);
        }
        .cp-row input[type="color"] {
            width: 58px;
            height: 42px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            padding: 2px;
            cursor: pointer;
        }
        .cp-row input[type="range"] {
            flex: 1;
            min-width: 160px;
        }
        .cp-row textarea { min-height: 42px; resize: vertical; }
        .cp-row input:focus, .cp-row select:focus, .cp-row textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.12);
        }
        .cp-row .btn-outline[data-copy-target] {
            flex: 0 0 auto;
            min-width: 64px;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.1;
            border: 1px solid rgba(15, 109, 255, 0.35);
            background: #f8fbff;
            color: var(--primary);
            box-shadow: none;
        }
        .cp-row .btn-outline[data-copy-target]:hover {
            background: #eef5ff;
            border-color: rgba(15, 109, 255, 0.55);
        }
        .cp-swatch { width: 56px; height: 56px; border-radius: 10px; border: 2px solid #e2e8f0; box-shadow: var(--shadow); }
        .cp-alpha-preview {
            width: 82px;
            height: 32px;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
            background-image:
                linear-gradient(45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(-45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #d9e2ef 75%),
                linear-gradient(-45deg, transparent 75%, #d9e2ef 75%);
            background-size: 16px 16px;
            background-position: 0 0, 0 8px, 8px -8px, -8px 0;
            overflow: hidden;
            position: relative;
        }
        .cp-alpha-row {
            flex-wrap: nowrap;
            gap: 8px;
            align-items: center;
        }
        .cp-alpha-row label {
            min-width: 48px;
            width: 48px;
        }
        .cp-alpha-row input[type="range"] {
            min-width: 120px;
            flex: 1 1 auto;
        }
        .cp-alpha-row #cpAlphaValue {
            flex: 0 0 auto;
            width: 62px;
            min-width: 62px;
            text-align: center;
            padding: 7px 8px;
            font-size: 0.85rem;
        }
        .cp-alpha-row .cp-alpha-preview {
            flex: 0 0 auto;
        }
        .cp-alpha-preview::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--cp-alpha-color, rgba(15,109,255,1));
        }
        .cp-format-grid { display: grid; gap: 8px; }
        .cp-chip-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
        .cp-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dfeb; border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; width: 100%; }
        .cp-chip-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #c9d5e4; flex: 0 0 auto; }
        .cp-chip-label { font-size: 0.8rem; color: var(--dark); overflow-wrap: anywhere; }
        .cp-muted { color: var(--gray); font-size: 0.88rem; }
        .cp-grad-preview { height: 110px; border-radius: 12px; border: 1px solid #d7dfeb; }
        .cp-contrast-result {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        .cp-pass {
            color: #15803d;
            font-weight: 800;
        }
        .cp-fail {
            color: #b91c1c;
            font-weight: 800;
        }
        .cp-contrast-help {
            margin-top: 8px;
            padding: 10px 12px;
            border: 1px solid #d7dfeb;
            border-radius: 10px;
            background: #f8fafc;
            color: var(--gray);
            font-size: 0.85rem;
            line-height: 1.45;
        }
        #cpPaletteCountValue, #cpGradAngleValue {
            min-width: 52px;
            text-align: center;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 6px 8px;
            font-weight: 700;
            color: var(--dark);
        }
        @media (max-width: 760px) {
            .cp-row {
                align-items: flex-start;
            }
            .cp-row label {
                width: 100%;
                min-width: 100%;
                margin-bottom: 2px;
            }
            .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea, .cp-row input[type="range"] {
                min-width: 100%;
            }
            .cp-alpha-row {
                display: grid;
                grid-template-columns: 1fr auto auto;
                gap: 8px;
                align-items: center;
            }
            .cp-alpha-row label {
                grid-column: 1 / -1;
                width: auto;
                min-width: 0;
                margin-bottom: 0;
            }
            .cp-alpha-row input[type="range"] {
                min-width: 0;
                width: 100%;
            }
            .cp-alpha-row #cpAlphaValue {
                width: 56px;
                min-width: 56px;
                padding: 6px 6px;
                font-size: 0.8rem;
            }
            .cp-alpha-row .cp-alpha-preview {
                width: 68px;
                height: 28px;
                border-radius: 8px;
            }
            .cp-row .btn-outline:not([data-copy-target]), .cp-row .btn-primary {
                min-width: 100%;
                flex: 1 1 100%;
            }
        }
        @media (min-width: 960px) {
            .cp-grid { grid-template-columns: 1.2fr 1fr; }
        }


/* Migrated from html-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; flex-wrap: wrap; }
        .swap-btn { background: var(--dark); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
        .swap-btn:hover { transform: rotate(180deg) scale(1.05); }
        body { overflow-x: hidden; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from image-color-picker/index.html */
.cp-grid { display: grid; gap: 18px; margin-top: 24px; }
        .cp-card { background: rgba(255,255,255,0.85); border: 1px solid rgba(15,109,255,0.15); border-radius: 14px; padding: 16px; }
        .cp-card h3 { margin-bottom: 10px; }
        .cp-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
        .cp-row label { font-weight: 700; min-width: 90px; color: var(--dark); }
        .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: var(--dark);
        }
        .cp-row input[type="color"] {
            width: 58px;
            height: 42px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            padding: 2px;
            cursor: pointer;
        }
        .cp-row input[type="range"] {
            flex: 1;
            min-width: 160px;
        }
        .cp-row textarea { min-height: 42px; resize: vertical; }
        .cp-row input:focus, .cp-row select:focus, .cp-row textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.12);
        }
        .cp-row .btn-outline[data-copy-target] {
            flex: 0 0 auto;
            min-width: 64px;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.1;
            border: 1px solid rgba(15, 109, 255, 0.35);
            background: #f8fbff;
            color: var(--primary);
            box-shadow: none;
        }
        .cp-row .btn-outline[data-copy-target]:hover {
            background: #eef5ff;
            border-color: rgba(15, 109, 255, 0.55);
        }
        .cp-swatch { width: 56px; height: 56px; border-radius: 10px; border: 2px solid #e2e8f0; box-shadow: var(--shadow); }
        .cp-alpha-preview {
            width: 82px;
            height: 32px;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
            background-image:
                linear-gradient(45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(-45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #d9e2ef 75%),
                linear-gradient(-45deg, transparent 75%, #d9e2ef 75%);
            background-size: 16px 16px;
            background-position: 0 0, 0 8px, 8px -8px, -8px 0;
            overflow: hidden;
            position: relative;
        }
        .cp-alpha-row {
            flex-wrap: nowrap;
            gap: 8px;
            align-items: center;
        }
        .cp-alpha-row label {
            min-width: 48px;
            width: 48px;
        }
        .cp-alpha-row input[type="range"] {
            min-width: 120px;
            flex: 1 1 auto;
        }
        .cp-alpha-row #cpAlphaValue {
            flex: 0 0 auto;
            width: 62px;
            min-width: 62px;
            text-align: center;
            padding: 7px 8px;
            font-size: 0.85rem;
        }
        .cp-alpha-row .cp-alpha-preview {
            flex: 0 0 auto;
        }
        .cp-alpha-preview::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--cp-alpha-color, rgba(15,109,255,1));
        }
        .cp-format-grid { display: grid; gap: 8px; }
        .cp-chip-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
        .cp-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dfeb; border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; width: 100%; }
        .cp-chip-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #c9d5e4; flex: 0 0 auto; }
        .cp-chip-label { font-size: 0.8rem; color: var(--dark); overflow-wrap: anywhere; }
        .cp-muted { color: var(--gray); font-size: 0.88rem; }
        .cp-grad-preview { height: 110px; border-radius: 12px; border: 1px solid #d7dfeb; }
        .cp-contrast-result {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        .cp-pass {
            color: #15803d;
            font-weight: 800;
        }
        .cp-fail {
            color: #b91c1c;
            font-weight: 800;
        }
        .cp-contrast-help {
            margin-top: 8px;
            padding: 10px 12px;
            border: 1px solid #d7dfeb;
            border-radius: 10px;
            background: #f8fafc;
            color: var(--gray);
            font-size: 0.85rem;
            line-height: 1.45;
        }
        #cpPaletteCountValue, #cpGradAngleValue {
            min-width: 52px;
            text-align: center;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 6px 8px;
            font-weight: 700;
            color: var(--dark);
        }
        @media (max-width: 760px) {
            .cp-row {
                align-items: flex-start;
            }
            .cp-row label {
                width: 100%;
                min-width: 100%;
                margin-bottom: 2px;
            }
            .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea, .cp-row input[type="range"] {
                min-width: 100%;
            }
            .cp-alpha-row {
                display: grid;
                grid-template-columns: 1fr auto auto;
                gap: 8px;
                align-items: center;
            }
            .cp-alpha-row label {
                grid-column: 1 / -1;
                width: auto;
                min-width: 0;
                margin-bottom: 0;
            }
            .cp-alpha-row input[type="range"] {
                min-width: 0;
                width: 100%;
            }
            .cp-alpha-row #cpAlphaValue {
                width: 56px;
                min-width: 56px;
                padding: 6px 6px;
                font-size: 0.8rem;
            }
            .cp-alpha-row .cp-alpha-preview {
                width: 68px;
                height: 28px;
                border-radius: 8px;
            }
            .cp-row .btn-outline:not([data-copy-target]), .cp-row .btn-primary {
                min-width: 100%;
                flex: 1 1 100%;
            }
        }
        @media (min-width: 960px) {
            .cp-grid { grid-template-columns: 1.2fr 1fr; }
        }


/* Migrated from image-utilities/index.html */
.category-intro { margin: 40px 0 24px; text-align: center; }
        .category-intro h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
        .category-intro p { color: var(--gray); max-width: 760px; margin: 0 auto; }
        .category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 20px 0 60px; }
        .category-card { text-decoration: none; color: inherit; background: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.85); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transition: all .25s ease; }
        .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .category-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--dark); }
        .category-card p { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.5; }


/* Migrated from index.html */
.encoder-links-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px 12px;
        }
        .encoder-links-list li a {
            text-decoration: none;
            color: var(--primary);
            font-size: 0.85rem;
            font-weight: 700;
        }
        .encoder-links-list li a:hover {
            text-decoration: underline;
        }
        @media (max-width: 560px) {
            .encoder-links-list {
                grid-template-columns: 1fr;
            }
        }


/* Migrated from json-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; flex-wrap: wrap; }
        .swap-btn { background: var(--dark); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
        .swap-btn:hover { transform: rotate(180deg) scale(1.05); }
        body { overflow-x: hidden; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from jwt-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .mode-selector { display: flex; gap: 10px; margin-bottom: 25px; background: rgba(255, 255, 255, 0.5); padding: 5px; border-radius: 12px; backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); overflow-x: auto; }
        .mode-btn { flex: 0 0 auto; padding: 10px 20px; border-radius: 10px; border: none; background: transparent; color: var(--gray); font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 0.85rem; white-space: nowrap; }
        .mode-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(15, 109, 255, 0.2); }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from md5-hash-generator/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .mode-selector { display: flex; gap: 10px; margin-bottom: 25px; background: rgba(255, 255, 255, 0.5); padding: 5px; border-radius: 12px; backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); overflow-x: auto; }
        .mode-btn { flex: 0 0 auto; padding: 10px 20px; border-radius: 10px; border: none; background: transparent; color: var(--gray); font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 0.85rem; white-space: nowrap; }
        .mode-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(15, 109, 255, 0.2); }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 150px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; }
        .hash-result { font-size: 1.25rem; font-weight: 700; color: var(--primary); font-family: monospace; word-break: break-all; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from morse-code-translator/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .mode-selector { display: flex; gap: 10px; margin-bottom: 25px; background: rgba(255, 255, 255, 0.5); padding: 5px; border-radius: 12px; backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); overflow-x: auto; }
        .mode-btn { flex: 0 0 auto; padding: 10px 20px; border-radius: 10px; border: none; background: transparent; color: var(--gray); font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 0.85rem; white-space: nowrap; }
        .mode-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(15, 109, 255, 0.2); }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 160px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1.25rem; font-weight: 700; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from password-generator/index.html */
.pass-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        @media (max-width: 768px) {
            .pass-grid { grid-template-columns: 1fr; }
        }
        .pass-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            padding: 30px;
            border-radius: 20px;
            border: 1px solid rgba(15, 109, 255, 0.1);
        }
        .pass-card label {
            display: block;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 12px;
            font-size: 0.95rem;
        }
        .slider-container {
            margin-bottom: 25px;
        }
        .slider-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }
        #passLengthVal {
            color: var(--primary);
            font-weight: 800;
        }
        .options-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .option-item {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            user-select: none;
        }
        .option-item input[type="checkbox"] {
            width: 20px;
            height: 20px;
            accent-color: var(--primary);
            cursor: pointer;
        }
        .result-container {
            grid-column: 1 / -1;
            background: #fff;
            padding: 40px;
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.04);
            text-align: center;
            overflow-wrap: break-word;
        }
        @media (max-width: 580px) {
            .result-container { padding: 25px 20px; }
        }
        .pass-display-wrap {
            display: flex;
            gap: 15px;
            align-items: center;
            max-width: 600px;
            margin: 0 auto 20px;
        }
        @media (max-width: 580px) {
            .pass-display-wrap {
                flex-direction: column;
                max-width: 100%;
            }
            #generatedPassword { font-size: 1.1rem !important; }
            .pass-display-wrap .btn-copy { width: 100%; justify-content: center; }
        }
        #generatedPassword {
            flex: 1;
            padding: 18px;
            border-radius: 14px;
            border: 2px solid #e2e8f0;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 1.4rem;
            text-align: center;
            color: var(--dark);
            letter-spacing: 2px;
            width: 100%;
            word-break: break-all;
        }
        .strength-meter-wrap {
            max-width: 400px;
            margin: 0 auto;
        }
        .strength-bar {
            height: 8px;
            background: #e2e8f0;
            border-radius: 10px;
            margin-bottom: 10px;
            overflow: hidden;
        }
        .strength-fill {
            height: 100%;
            width: 0%;
            transition: all 0.4s ease;
        }
        .strength-text {
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }


/* Migrated from pdf-utilities/index.html */
.category-intro { margin: 40px 0 24px; text-align: center; }
        .category-intro h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
        .category-intro p { color: var(--gray); max-width: 760px; margin: 0 auto; }
        .category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 20px 0 60px; }
        .category-card { text-decoration: none; color: inherit; background: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.85); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transition: all .25s ease; }
        .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .category-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--dark); }
        .category-card p { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.5; }


/* Migrated from qr-code-generator/index.html */
.tool-layout {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 30px;
            align-items: start;
        }

        .control-panel {
            background: rgba(255, 255, 255, 0.7);
            padding: 30px;
            border-radius: 18px;
            border: 1px solid rgba(229, 231, 235, 0.5);
        }

        .preview-panel {
            position: sticky;
            top: 100px;
            background: white;
            padding: 30px;
            border-radius: 18px;
            box-shadow: var(--shadow-lg);
            text-align: center;
            border: 1px solid var(--border);
        }

        .setting-group {
            margin-bottom: 24px;
        }

        .setting-group label {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 0.9rem;
            font-weight: 700;
            color: #475569;
            letter-spacing: 0.01em;
        }

        .setting-group label i {
            color: var(--primary);
            font-size: 1rem;
            width: 24px;
            height: 24px;
            background: rgba(15, 109, 255, 0.08);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Modern & Realistic Input Fields */
        .setting-group textarea,
        .setting-group select,
        .setting-group input[type="color"] {
            width: 100%;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 14px 18px;
            font-size: 0.95rem;
            color: var(--dark);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            appearance: none;
            -webkit-appearance: none;
        }

        .setting-group textarea {
            min-height: 120px;
            line-height: 1.5;
            resize: vertical;
        }

        .setting-group select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 18px;
            padding-right: 45px;
            cursor: pointer;
        }

        /* Input Focus State */
        .setting-group textarea:focus,
        .setting-group select:focus {
            outline: none;
            background: #fff;
            border-color: var(--primary);
            box-shadow: 
                0 0 0 4px rgba(15, 109, 255, 0.1),
                0 10px 15px -3px rgba(15, 109, 255, 0.05);
            transform: translateY(-1px);
        }

        /* Premium Color Picker */
        .setting-group input[type="color"] {
            padding: 8px;
            height: 52px;
            cursor: pointer;
            border: 1px solid #e2e8f0;
        }

        .setting-group input[type="color"]::-webkit-color-swatch-wrapper {
            padding: 0;
        }

        .setting-group input[type="color"]::-webkit-color-swatch {
            border: none;
            border-radius: 8px;
            box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
        }

        /* Modern Range Slider */
        input[type="range"] {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 6px;
            background: #e2e8f0;
            border-radius: 10px;
            outline: none;
            margin: 20px 0;
            cursor: pointer;
        }

        /* Webkit (Chrome, Safari, Edge) Track */
        input[type="range"]::-webkit-slider-runnable-track {
            width: 100%;
            height: 6px;
            cursor: pointer;
            background: #e2e8f0;
            border-radius: 10px;
        }

        /* Firefox Track */
        input[type="range"]::-moz-range-track {
            width: 100%;
            height: 6px;
            cursor: pointer;
            background: #e2e8f0;
            border-radius: 10px;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: var(--primary);
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 0 4px rgba(15, 109, 255, 0.2);
            transition: transform 0.2s;
            margin-top: -7px; /* Center thumb on a 6px track */
        }

        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.15);
        }

        .color-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .style-picker {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
            gap: 15px;
            margin-top: 10px;
            max-height: 400px;
            overflow-y: auto;
            padding: 10px;
            background: rgba(0,0,0,0.02);
            border-radius: 16px;
        }

        .style-option {
            background: #fff;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            padding: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .style-option:hover {
            border-color: var(--primary);
            background: rgba(15, 109, 255, 0.02);
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .style-option.selected {
            border-color: var(--primary);
            background: rgba(15, 109, 255, 0.05);
            box-shadow: 0 8px 20px rgba(15, 109, 255, 0.12);
        }

        .style-option.selected::after {
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            top: -8px;
            right: -8px;
            background: white;
            color: var(--primary);
            border-radius: 50%;
            font-size: 16px;
            line-height: 1;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .mini-qr {
            width: 50px;
            height: 50px;
            pointer-events: none;
        }

        .style-label {
            font-size: 0.65rem;
            font-weight: 600;
            color: #64748b;
            text-align: center;
            line-height: 1.2;
            text-transform: capitalize;
        }

        .style-option.selected .style-label {
            color: var(--primary);
        }


        .qr-placeholder {
            width: 100%;
            aspect-ratio: 1;
            background: #f8fafc;
            border: 2px dashed #e2e8f0;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: #94a3b8;
            gap: 10px;
        }

        .qr-placeholder i {
            font-size: 3rem;
        }

        .download-options {
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .tag-badge {
            display: inline-block;
            padding: 4px 12px;
            background: rgba(15, 109, 255, 0.1);
            color: var(--primary);
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 12px;
        }

        @media (max-width: 992px) {
            .tool-layout {
                grid-template-columns: 1fr;
            }
            .preview-panel {
                position: static;
                order: 0;
            }
        }

        .logo-upload-box {
            border: 2px dashed var(--border);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            background: #fff;
        }

        .logo-upload-box:hover {
            border-color: var(--primary);
            background: rgba(15, 109, 255, 0.02);
        }

        .logo-upload-box i {
            font-size: 1.5rem;
            color: var(--gray);
            margin-bottom: 8px;
        }

        .logo-upload-box p {
            font-size: 0.85rem;
            color: var(--gray);
            margin: 0;
        }

        input[type="range"] {
            accent-color: var(--primary);
        }


/* Migrated from rgb-to-hex-converter/index.html */
.cp-grid { display: grid; gap: 18px; margin-top: 24px; }
        .cp-card { background: rgba(255,255,255,0.85); border: 1px solid rgba(15,109,255,0.15); border-radius: 14px; padding: 16px; }
        .cp-card h3 { margin-bottom: 10px; }
        .cp-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
        .cp-row label { font-weight: 700; min-width: 90px; color: var(--dark); }
        .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.95rem;
            color: var(--dark);
        }
        .cp-row input[type="color"] {
            width: 58px;
            height: 42px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            padding: 2px;
            cursor: pointer;
        }
        .cp-row input[type="range"] {
            flex: 1;
            min-width: 160px;
        }
        .cp-row textarea { min-height: 42px; resize: vertical; }
        .cp-row input:focus, .cp-row select:focus, .cp-row textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.12);
        }
        .cp-row .btn-outline[data-copy-target] {
            flex: 0 0 auto;
            min-width: 64px;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.1;
            border: 1px solid rgba(15, 109, 255, 0.35);
            background: #f8fbff;
            color: var(--primary);
            box-shadow: none;
        }
        .cp-row .btn-outline[data-copy-target]:hover {
            background: #eef5ff;
            border-color: rgba(15, 109, 255, 0.55);
        }
        .cp-swatch { width: 56px; height: 56px; border-radius: 10px; border: 2px solid #e2e8f0; box-shadow: var(--shadow); }
        .cp-alpha-preview {
            width: 82px;
            height: 32px;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
            background-image:
                linear-gradient(45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(-45deg, #d9e2ef 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #d9e2ef 75%),
                linear-gradient(-45deg, transparent 75%, #d9e2ef 75%);
            background-size: 16px 16px;
            background-position: 0 0, 0 8px, 8px -8px, -8px 0;
            overflow: hidden;
            position: relative;
        }
        .cp-alpha-row {
            flex-wrap: nowrap;
            gap: 8px;
            align-items: center;
        }
        .cp-alpha-row label {
            min-width: 48px;
            width: 48px;
        }
        .cp-alpha-row input[type="range"] {
            min-width: 120px;
            flex: 1 1 auto;
        }
        .cp-alpha-row #cpAlphaValue {
            flex: 0 0 auto;
            width: 62px;
            min-width: 62px;
            text-align: center;
            padding: 7px 8px;
            font-size: 0.85rem;
        }
        .cp-alpha-row .cp-alpha-preview {
            flex: 0 0 auto;
        }
        .cp-alpha-preview::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--cp-alpha-color, rgba(15,109,255,1));
        }
        .cp-format-grid { display: grid; gap: 8px; }
        .cp-chip-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
        .cp-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dfeb; border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; width: 100%; }
        .cp-chip-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #c9d5e4; flex: 0 0 auto; }
        .cp-chip-label { font-size: 0.8rem; color: var(--dark); overflow-wrap: anywhere; }
        .cp-muted { color: var(--gray); font-size: 0.88rem; }
        .cp-grad-preview { height: 110px; border-radius: 12px; border: 1px solid #d7dfeb; }
        .cp-contrast-result {
            flex: 1;
            min-width: 180px;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        .cp-pass {
            color: #15803d;
            font-weight: 800;
        }
        .cp-fail {
            color: #b91c1c;
            font-weight: 800;
        }
        .cp-contrast-help {
            margin-top: 8px;
            padding: 10px 12px;
            border: 1px solid #d7dfeb;
            border-radius: 10px;
            background: #f8fafc;
            color: var(--gray);
            font-size: 0.85rem;
            line-height: 1.45;
        }
        #cpPaletteCountValue, #cpGradAngleValue {
            min-width: 52px;
            text-align: center;
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 6px 8px;
            font-weight: 700;
            color: var(--dark);
        }
        @media (max-width: 760px) {
            .cp-row {
                align-items: flex-start;
            }
            .cp-row label {
                width: 100%;
                min-width: 100%;
                margin-bottom: 2px;
            }
            .cp-row input[type="text"], .cp-row input[type="number"], .cp-row select, .cp-row textarea, .cp-row input[type="range"] {
                min-width: 100%;
            }
            .cp-alpha-row {
                display: grid;
                grid-template-columns: 1fr auto auto;
                gap: 8px;
                align-items: center;
            }
            .cp-alpha-row label {
                grid-column: 1 / -1;
                width: auto;
                min-width: 0;
                margin-bottom: 0;
            }
            .cp-alpha-row input[type="range"] {
                min-width: 0;
                width: 100%;
            }
            .cp-alpha-row #cpAlphaValue {
                width: 56px;
                min-width: 56px;
                padding: 6px 6px;
                font-size: 0.8rem;
            }
            .cp-alpha-row .cp-alpha-preview {
                width: 68px;
                height: 28px;
                border-radius: 8px;
            }
            .cp-row .btn-outline:not([data-copy-target]), .cp-row .btn-primary {
                min-width: 100%;
                flex: 1 1 100%;
            }
        }
        @media (min-width: 960px) {
            .cp-grid { grid-template-columns: 1.2fr 1fr; }
        }


/* Migrated from rot13-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 180px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .action-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0; flex-wrap: wrap; }
        .swap-btn { background: var(--dark); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
        .swap-btn:hover { transform: rotate(180deg) scale(1.05); }
        body { overflow-x: hidden; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from sha256-hash-generator/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .mode-selector { display: flex; gap: 10px; margin-bottom: 25px; background: rgba(255, 255, 255, 0.5); padding: 5px; border-radius: 12px; backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); overflow-x: auto; }
        .mode-btn { flex: 0 0 auto; padding: 10px 20px; border-radius: 10px; border: none; background: transparent; color: var(--gray); font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 0.85rem; white-space: nowrap; }
        .mode-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(15, 109, 255, 0.2); }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 150px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from sitemap/index.html */
.sm-container {
            max-width: 800px;
            margin: 40px auto;
            background: #fff;
            padding: 50px;
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
        }
        .sm-header {
            text-align: center;
            margin-bottom: 50px;
        }
        .sm-header h1 {
            font-size: 2.2rem;
            color: var(--dark);
            margin-bottom: 15px;
        }
        .sm-header p {
            color: var(--gray);
            font-size: 1.1rem;
        }
        .sm-section {
            margin-bottom: 45px;
        }
        .sm-section h2 {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 25px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(15, 109, 255, 0.1);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .sm-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        .sm-item a {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
            padding: 18px;
            background: #f8fafc;
            border-radius: 16px;
            border: 1px solid rgba(0,0,0,0.02);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .sm-item a:hover {
            background: #fff;
            box-shadow: 0 10px 25px rgba(15, 109, 255, 0.12);
            border-color: var(--primary);
            transform: translateY(-3px);
        }
        .sm-item i {
            width: 42px;
            height: 42px;
            background: #fff;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.2rem;
            box-shadow: 0 4px 10px rgba(0,0,0,0.04);
        }
        .sm-item span {
            color: var(--dark);
            font-weight: 600;
            font-size: 1.05rem;
        }
        .sm-item small {
            display: block;
            color: var(--gray);
            font-weight: 400;
            font-size: 0.85rem;
            margin-top: 3px;
        }
        @media (max-width: 600px) {
            .sm-container { padding: 30px 20px; border-radius: 0; }
            .sm-list { grid-template-columns: 1fr; }
        }


/* Migrated from text-time-utilities/index.html */
.category-intro { margin: 40px 0 24px; text-align: center; }
        .category-intro h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
        .category-intro p { color: var(--gray); max-width: 760px; margin: 0 auto; }
        .category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 20px 0 60px; }
        .category-card { text-decoration: none; color: inherit; background: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.85); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transition: all .25s ease; }
        .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .category-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--dark); }
        .category-card p { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.5; }


/* Migrated from timestamp-converter/index.html */
.ts-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        @media (max-width: 768px) {
            .ts-grid { grid-template-columns: 1fr; }
        }
        .ts-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            padding: 30px;
            border-radius: 20px;
            border: 1px solid rgba(15, 109, 255, 0.1);
        }
        .ts-card label {
            display: block;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 12px;
            font-size: 0.95rem;
        }
        .ts-card input {
            width: 100%;
            padding: 15px;
            border-radius: 12px;
            border: 2px solid #e2e8f0;
            font-size: 1.1rem;
            margin-bottom: 20px;
            transition: all 0.2s ease;
        }
        .ts-card input:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 4px rgba(15, 109, 255, 0.1);
        }
        .result-box {
            grid-column: 1 / -1;
            margin-top: 20px;
            text-align: center;
        }
        .result-box input {
            background: var(--light);
            text-align: center;
            font-weight: 700;
            color: var(--primary);
            max-width: 500px;
        }


/* Migrated from tool-categories/index.html */
.category-intro { margin: 40px 0 24px; text-align: center; }
        .category-intro h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
        .category-intro p { color: var(--gray); max-width: 760px; margin: 0 auto; }
        .category-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 20px 0 60px; }
        .category-card { text-decoration:none; color:inherit; background: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.85); border-radius:16px; padding:22px; box-shadow: var(--shadow); transition: all .25s ease; }
        .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .category-card h2 { margin:0 0 8px; font-size: 1.08rem; }
        .category-card p { margin:0; color: var(--gray); font-size: .92rem; }


/* Migrated from url-encoder-decoder/index.html */
.enc-wrap { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
        .mode-selector { display: flex; gap: 10px; margin-bottom: 25px; background: rgba(255, 255, 255, 0.5); padding: 5px; border-radius: 12px; backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); overflow-x: auto; }
        .mode-btn { flex: 0 0 auto; padding: 10px 20px; border-radius: 10px; border: none; background: transparent; color: var(--gray); font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 0.85rem; white-space: nowrap; }
        .mode-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(15, 109, 255, 0.2); }
        .textarea-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); padding: 30px; border-radius: 20px; border: 1px solid rgba(15, 109, 255, 0.1); }
        .textarea-card label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
        textarea { width: 100%; height: 160px; background: #fff; border: 2px solid #e2e8f0; border-radius: 15px; padding: 20px; font-family: 'Consolas', 'Monaco', monospace; font-size: 1rem; resize: vertical; transition: border-color 0.3s ease; }
        textarea:focus { border-color: var(--primary); outline: none; }
        .other-encoders { margin-top: 50px; }
        .other-encoders h2 { margin-bottom: 18px; }
        .other-encoders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
        .other-encoder-link { text-decoration: none; color: inherit; }
        .other-encoder-card { background: rgba(255,255,255,0.72); border: 1px solid rgba(15,109,255,0.12); border-radius: 14px; padding: 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
        .other-encoder-link:hover .other-encoder-card { transform: translateY(-2px); border-color: rgba(15,109,255,0.35); box-shadow: 0 8px 20px rgba(15,109,255,0.12); }
        .other-encoder-card i { color: var(--primary); margin-right: 8px; }
        .other-encoder-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
        .other-encoder-card p { margin: 0; font-size: 0.85rem; color: var(--gray); }


/* Migrated from word-counter/index.html */
.wc-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }
        .wc-stat-card {
            background: #fff;
            padding: 24px;
            border-radius: 18px;
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid rgba(0,0,0,0.03);
            transition: all 0.3s ease;
        }
        .wc-stat-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: var(--shadow-lg);
        }
        .wc-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 8px;
            line-height: 1;
        }
        .wc-label {
            font-size: 0.9rem;
            color: var(--gray);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }
        textarea.wc-input {
            width: 100%;
            min-height: 400px;
            padding: 24px;
            border-radius: 20px;
            border: 2px solid #e2e8f0;
            font-family: inherit;
            font-size: 1.1rem;
            line-height: 1.6;
            resize: vertical;
            transition: all 0.3s ease;
            background: #fff;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
        }
        textarea.wc-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 5px rgba(15, 109, 255, 0.1), inset 0 2px 4px rgba(0,0,0,0.01);
        }

        @media (max-width: 600px) {
            .wc-grid { grid-template-columns: 1fr; }
        }


/* Migrated inline style attributes */
.mst-inline-2000 { margin-top: 24px !important; }
.mst-inline-2001 { display:flex !important; justify-content:flex-end !important; margin-top:10px !important; }
.mst-inline-2002 { display:flex !important; justify-content:center !important; gap:20px !important; margin: 10px 0 !important; }
.mst-inline-2003 { display:inline-block !important; margin-bottom:20px !important; font-size:0.85rem !important; font-weight:700 !important; color:var(--gray) !important; background:rgba(0,0,0,0.03) !important; padding:6px 14px !important; border-radius:100px !important; }
.mst-inline-2004 { background:#6366f1 !important; }
.mst-inline-2005 { margin-top:25px !important; border-top:1px solid rgba(15,109,255,0.1) !important; padding-top:25px !important; }
.mst-inline-2006 { margin-bottom:15px !important; }
.mst-inline-2007 { display:flex !important; gap:10px !important; align-items:center !important; }
.mst-inline-2008 { margin-bottom:0 !important; }
.mst-inline-2009 { display:flex !important; gap:10px !important; margin-top:5px !important; align-items:center !important; }
.mst-inline-2010 { display:block !important; margin-top:10px !important; color:var(--gray) !important; }
.mst-inline-2011 { margin-top:50px !important; }
.mst-inline-2012 { padding:20px !important; margin:0 0 40px !important; }
.mst-inline-2013 { font-size:1.1rem !important; margin-bottom:10px !important; }
.mst-inline-2014 { text-align:center !important; padding: 10px !important; }
.mst-inline-2015 { padding: 15px 60px !important; }
.mst-inline-2016 { font-size: 1.1rem !important; height: 100px !important; color: var(--primary) !important; }
.mst-inline-2017 { border: 2px dashed rgba(15, 109, 255, 0.2) !important; background: rgba(15, 109, 255, 0.02) !important; }
.mst-inline-2018 { font-size: 0.85rem !important; color: var(--gray) !important; margin-bottom: 15px !important; }
.mst-inline-2019 { width: 100% !important; padding: 15px !important; border-radius: 12px !important; border: 2px solid #e2e8f0 !important; font-family: monospace !important; }
.mst-inline-2020 { margin-top: 15px !important; padding: 15px !important; border-radius: 12px !important; display: none !important; text-align: center !important; font-weight: 700 !important; }
.mst-inline-2021 { font-size: 0.8rem !important; color: var(--gray) !important; margin-bottom: 8px !important; }
.mst-inline-2022 { min-height: 100px !important; font-family: inherit !important; font-size: 0.95rem !important; margin-bottom: 0 !important; }
.mst-inline-2023 { display: none !important; color: #ef4444 !important; font-size: 0.85rem !important; margin-top: 8px !important; font-weight: 600 !important; }
.mst-inline-2024 { margin-bottom: 30px !important; }
.mst-inline-2025 { font-size: 0.75rem !important; color: var(--gray) !important; margin-bottom: 10px !important; }
.mst-inline-2026 { height: 52px !important; padding: 5px !important; cursor: pointer !important; }
.mst-inline-2027 { justify-content: space-between !important; }
.mst-inline-2028 { font-weight: 700 !important; color: var(--primary) !important; }
.mst-inline-2029 { margin-top: 10px !important; }
.mst-inline-2030 { width: 100% !important; padding: 18px !important; border-radius: 14px !important; font-size: 1.1rem !important; box-shadow: 0 4px 15px rgba(15, 109, 255, 0.3) !important; }
.mst-inline-2031 { margin-right: 8px !important; }
.mst-inline-2032 { margin-bottom: 20px !important; font-size: 1.1rem !important; }
.mst-inline-2033 { width: 100% !important; border-radius: 12px !important; }
.mst-inline-2034 { font-size: 0.75rem !important; color: var(--gray) !important; margin-top: 10px !important; }
.mst-inline-2035 { margin-bottom: 15px !important; }
.mst-inline-2036 { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; gap: 20px !important; margin-top: 25px !important; }
.mst-inline-2037 { color: var(--dark) !important; margin-bottom: 8px !important; }
.mst-inline-2038 { color: var(--primary) !important; margin-right: 8px !important; }
.mst-inline-2039 { background: rgba(15, 109, 255, 0.1) !important; color: var(--primary) !important; }
.mst-inline-2040 { width:100% !important; }
.mst-inline-2041 { margin-top:5px !important; border-top:1px solid rgba(0,0,0,0.05) !important; padding-top:15px !important; }
.mst-inline-2042 { font-size:0.85rem !important; color:var(--primary) !important; font-weight:800 !important; }
.mst-inline-2043 { display:flex !important; flex-direction:column !important; justify-content:center !important; align-items:center !important; text-align:center !important; }
.mst-inline-2044 { font-size:4rem !important; color:var(--primary) !important; margin-bottom:25px !important; opacity:0.1 !important; }
.mst-inline-2045 { color:var(--gray) !important; margin-bottom:30px !important; }
.mst-inline-2046 { flex-direction:column !important; width:100% !important; }
.mst-inline-2047 { padding:15px 40px !important; font-size:1.1rem !important; width:100% !important; }
.mst-inline-2048 { margin-top:10px !important; width:100% !important; }
.mst-inline-2049 { color:var(--gray) !important; }
.mst-inline-2050 { margin-bottom:20px !important; color:var(--primary) !important; }
.mst-inline-2051 { display:flex !important; justify-content:flex-end !important; align-items:center !important; margin-top:10px !important; }
.mst-inline-2052 { padding: 15px 50px !important; }
.mst-inline-2053 { height: 100px !important; }
.mst-inline-2054 { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 15px !important; margin-bottom: 20px !important; }
.mst-inline-2055 { font-size: 0.8rem !important; margin-bottom: 5px !important; }
.mst-inline-2056 { width: 100% !important; padding: 12px !important; border-radius: 8px !important; border: 2px solid #e2e8f0 !important; font-weight: 700 !important; background: #fff !important; }
.mst-inline-2057 { width: 100% !important; padding: 12px !important; border-radius: 8px !important; border: 2px solid #e2e8f0 !important; font-weight: 700 !important; }
.mst-inline-2058 { display: none !important; grid-template-columns: 1fr 1fr !important; gap: 15px !important; margin-bottom: 20px !important; }
.mst-inline-2059 { height: 120px !important; font-size: 0.8rem !important; padding: 10px !important; }
.mst-inline-2060 { display:flex !important; justify-content:flex-end !important; margin-top:15px !important; padding-top:15px !important; border-top: 1px solid rgba(0,0,0,0.05) !important; }
.mst-inline-2061 { background: rgba(15, 109, 255, 0.1) !important; color: var(--primary) !important; border: none !important; padding: 10px 20px !important; border-radius: 10px !important; cursor: pointer !important; }
.mst-inline-2062 { font-weight: 800 !important; font-size: 0.9rem !important; margin-left: 15px !important; }
.mst-inline-2063 { margin-left: auto !important; }
.mst-inline-2064 { height: 350px !important; }
.mst-inline-2065 { padding:22px !important; margin:0 0 28px !important; }
.mst-inline-2066 { margin-bottom:12px !important; font-size:1.2rem !important; }
.mst-inline-2067 { margin-top: 60px !important; }
.mst-inline-2068 { max-width: 900px !important; text-align: center !important; }
.mst-inline-2069 { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 20px !important; margin: 40px 0 !important; }
.mst-inline-2070 { margin-bottom:10px !important; font-size:0.9rem !important; }
