<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Temperature Converter Tool Styles */

/* Tool Container - Full Page Layout */
.temperature-converter-tool {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0;
    margin: 0;
}

.tool-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Tool Header */
.tool-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.tool-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(34, 33, 33);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

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

.tool-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Converter Interface */
.converter-interface {
    margin-bottom: 3rem;
}

.converter-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

/* Input Section */
.input-section {
    margin-bottom: 2rem;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.temperature-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.temperature-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    font-size: 1.125rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: all 0.2s ease-in-out;
    text-align: center;
    font-weight: 500;
}

.temperature-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(50, 146, 109, 0.1);
}

.clear-btn {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.clear-btn:hover {
    color: #ef4444;
    background-color: #fef2f2;
}

/* Conversion Controls */
.conversion-controls {
    margin-bottom: 2rem;
}

.scale-selectors {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.scale-group {
    display: flex;
    flex-direction: column;
}

.scale-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scale-select {
    padding: 0.75rem;
    font-size: 0.9rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}

.scale-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(50, 146, 109, 0.1);
}

.swap-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.swap-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.swap-btn:active {
    transform: scale(0.95);
}

.convert-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.convert-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15);
}

.convert-btn:active {
    transform: translateY(0);
}

/* Result Section */
.result-section {
    background: linear-gradient(135deg, #dcfce7 0%, #c9f4fc 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid #86efac;
}

.result-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.result-header {
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.primary-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.temperature-qualifier {
    font-size: 1rem;
    font-weight: 600;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: fadeInScale 0.5s ease-out;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease-in-out;
}

.temperature-qualifier:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15);
}

/* Temperature qualifier color variations */
.temperature-qualifier[data-temp="extreme-cold"], .temperature-qualifier[data-temp="very-cold"] {
    color: #1e40af;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(29, 78, 216, 0.15) 100%);
    border-color: rgba(30, 64, 175, 0.3);
}

.temperature-qualifier[data-temp="freezing"], .temperature-qualifier[data-temp="cold"] {
    color: #0ea5e9;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(2, 132, 199, 0.15) 100%);
    border-color: rgba(14, 165, 233, 0.3);
}

.temperature-qualifier[data-temp="cool"], .temperature-qualifier[data-temp="comfortable"] {
    color: #059669;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.temperature-qualifier[data-temp="warm"] {
    color: #d97706;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(180, 83, 9, 0.15) 100%);
    border-color: rgba(217, 119, 6, 0.3);
}

.temperature-qualifier[data-temp="hot"], .temperature-qualifier[data-temp="very-hot"] {
    color: #dc2626;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.15) 100%);
    border-color: rgba(220, 38, 38, 0.3);
}

.temperature-qualifier[data-temp="extremely-hot"], .temperature-qualifier[data-temp="dangerous-heat"] {
    color: #7c2d12;
    background: linear-gradient(135deg, rgba(124, 45, 18, 0.1) 0%, rgba(92, 25, 2, 0.15) 100%);
    border-color: rgba(124, 45, 18, 0.3);
}

.result-value-container {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease-in-out;
    line-height: 1;
    display: inline-block;
}

.result-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Courier New', monospace;
    margin-left: 0;
    line-height: 1;
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.formula-display {
    font-size: 0.9rem;
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Conversion Info */
.conversion-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    word-wrap: break-word;
    transition: opacity 0.4s ease-in-out;
}

.conversion-header {
    margin-bottom: 1rem;
}

.conversion-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.conversion-header i {
    color: #3b82f6;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-label i {
    color: #6b7280;
    font-size: 0.75rem;
}

.info-value {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
    word-break: break-word;
    max-width: 60%;
    text-align: right;
}

/* Quick Conversions */
.quick-conversions {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.quick-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-title i {
    color: #f59e0b;
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.quick-btn {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.quick-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Related Tools Section */
.related-tools-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.related-tools-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.related-tools-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.related-tools-header h3 i {
    color: var(--primary-color);
}

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

.related-tool-link {
    background: #f8fafc;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border: 1px solid #e5e7eb;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.related-tool-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.related-tool-link i {
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tool-container {
        padding: 1rem;
    }

    .converter-card {
        padding: 1.5rem;
    }

    .tool-header h1 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .scale-selectors {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .swap-btn {
        order: 3;
        justify-self: center;
        margin-top: 1rem;
    }

    .result-value {
        font-size: 2rem;
    }

    .result-unit {
        font-size: 1.25rem;
    }

    .temperature-qualifier {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }

    .quick-buttons {
        grid-template-columns: 1fr;
    }

    .related-tools-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .related-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .related-tool-link {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Fix conversion info layout on mobile */
    .conversion-info {
        padding: 1rem;
    }

    .info-grid {
        gap: 0.75rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 6px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .info-label {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        font-weight: 700;
    }

    .info-value {
        font-size: 0.8rem;
        word-break: break-all;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .result-value {
        font-size: 1.75rem;
    }

    .result-unit {
        font-size: 1.125rem;
    }

    .temperature-qualifier {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }

    .result-value-container {
        flex-direction: row;
        gap: 0.125rem;
        flex-wrap: nowrap;
    }

    /* Enhanced conversion info mobile styles */
    .conversion-info {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .info-grid {
        gap: 0.5rem;
    }

    .info-item {
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .info-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.25rem;
    }

    .info-value {
        font-size: 0.75rem;
        margin-top: 0.25rem;
        line-height: 1.4;
        max-width: 100%;
        text-align: left;
    }

    .related-tools-section {
        padding: 1rem;
        margin-top: 1rem;
    }

    .related-tools-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .related-tool-link {
        padding: 0.75rem;
        font-size: 0.875rem;
        flex-direction: row;
        gap: 0.5rem;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .tool-container {
        padding: 1.5rem;
    }

    .quick-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
</pre></body></html>