.tile-speci {

            padding: 200px 0;

        }

        .app-container {
            display: flex;
            height: 100vh;
            width: 99vw;
            position: relative;
        }

        #canvas-container {
            flex: 1;
            height: 100%;
            position: relative;
        }

        .control-panel {
            width: 400px;
            background: #fff;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-left: 1px solid var(--border-color);
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            overflow-y: auto;
            z-index: 10;
            box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
            box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px 0px inset
        }

        .panel-title {
            font-size: 1.5rem;
            font-weight: 700;
            background: #000;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .panel-subtitle {
            font-size: 0.875rem;
            color: var(--text-muted);
            line-height: 1.5;
            margin-top: -1.5rem;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

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

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

        .input-wrapper input {
            width: 100%;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid #bc9052;
            color: var(--text-main);
            padding: 0.75rem 1rem;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.2s ease;
            outline: none;
        }

        .input-wrapper input:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px var(--highlight-bg);
        }

        .input-wrapper .unit {
            position: absolute;
            right: 1rem;
            color: var(--text-muted);
            font-size: 0.875rem;
            pointer-events: none;
        }

        .tile-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }

        .tile-btn {
            background: #fff;
            border: 1px solid #bc9052;
            border-radius: 8px;
            padding: 1rem;
            color: var(--text-muted);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
        }

        .tile-btn:hover {
            background: rgba(0, 0, 0, 0.05);
            color: var(--text-main);
        }

        .tile-btn.active {
            background: #f4f3ef;
            border-color: #bc9052;
            color: var(--text-main);
        }

        .tile-icon {
            width: 40px;
            background: #000;
            border-radius: 2px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.2s ease;
        }

        .tile-btn.active .tile-icon {
            background: #bc9052;
            border-color: #bc9052;
            /* box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); */
        }

        .results-panel {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: auto;
            /* Push to bottom */
            border: 1px solid var(--border-color);
            box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        }

        .results-panel h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        .result-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .result-row.highlight {
            font-weight: 700;
            color: var(--text-main);
            font-size: 1rem;
            margin-top: 0.5rem;
            padding-top: 1rem;
            border-top: 1px dashed var(--border-color);
        }

        .result-value {
            color: #bc9052;
            font-weight: 600;
        }

        .result-row.highlight .result-value {
            color: #bc9052;
            font-size: 1.25rem;
        }

        /* Loading overlay */
        #loading {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-color);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 50;
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
            transition: opacity 0.5s ease;
        }

        @media (max-width: 768px) {
            .app-container {
                flex-direction: column;
            }

            .control-panel {
                width: 100%;
                height: 50vh;
                border-left: none;
                border-top: 1px solid var(--border-color);
                order: 2;
                /* Move below canvas */
            }

            #canvas-container {
                height: 50vh;
                order: 1;
            }
        }