    .qr-hero {
        background: linear-gradient(135deg, #1a5e5c 0%, #2d8a7a 100%);
        padding: 50px 0 40px;
        color: #fff;
        position: relative;
        overflow: hidden;
    }
    .qr-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
        border-radius: 50%;
    }
    .qr-hero h1 {
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 8px;
    }
    .qr-hero p {
        color: rgba(255,255,255,0.85);
        font-size: 16px;
        max-width: 550px;
        line-height: 1.6;
        margin: 0 auto 12px;
    }
    .qr-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.15);
        border: 1px solid rgba(255,255,255,0.2);
        padding: 8px 18px;
        border-radius: 30px;
        font-size: 13px;
        font-weight: 500;
    }

    .qr-wrapper {
        padding: 40px 0 60px;
        background: #f8fafc;
    }

    .qr-card {
        background: #fff;
        border-radius: 14px;
        padding: 26px;
        border: 1px solid #e8ecf1;
        box-shadow: 0 4px 20px rgba(0,0,0,0.03);
        margin-bottom: 22px;
    }
    .qr-card-title {
        font-size: 15px;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 18px;
        padding-bottom: 12px;
        border-bottom: 2px solid #f1f3f5;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .qr-card-title i { color: #1a5e5c; }

    /* Presets */
    .preset-strip {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
    }
    .preset-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 14px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 30px;
        font-size: 13px;
        font-weight: 600;
        color: #475569;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }
    .preset-chip:hover {
        background: #f0fdfa;
        border-color: #1a5e5c;
        color: #1a5e5c;
    }
    .preset-chip i { color: #1a5e5c; font-size: 12px; }

    /* Type tabs */
    .type-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 20px;
    }
    .type-tab {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        border: 1px solid #e2e8f0;
        background: #fff;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        color: #475569;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .type-tab:hover {
        border-color: #1a5e5c;
        color: #1a5e5c;
    }
    .type-tab.active {
        background: #1a5e5c;
        border-color: #1a5e5c;
        color: #fff;
    }
    .type-tab i { font-size: 12px; }

    /* Fields */
    .field-group {
        margin-bottom: 14px;
    }
    .field-group label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 5px;
    }
    .field-group .form-control {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.2s ease;
    }
    .field-group .form-control:focus {
        outline: none;
        border-color: #1a5e5c;
        box-shadow: 0 0 0 3px rgba(26,94,92,0.1);
    }
    .field-group textarea.form-control {
        resize: vertical;
        min-height: 80px;
        font-family: inherit;
    }
    .field-help {
        font-size: 11px;
        color: #94a3b8;
        margin-top: 4px;
    }
    .field-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    @media (max-width: 640px) {
        .field-row { grid-template-columns: 1fr; }
    }

    /* Type-specific panels */
    .type-panel { display: none; }
    .type-panel.active { display: block; }

    /* Style controls */
    .style-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .style-grid .full { grid-column: 1 / -1; }
    .color-input-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
    }
    .color-input-wrap input[type="color"] {
        width: 36px;
        height: 34px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        padding: 0;
        background: transparent;
    }
    .color-input-wrap input[type="text"] {
        flex: 1;
        border: none;
        outline: none;
        font-family: monospace;
        font-size: 13px;
        color: #475569;
        background: transparent;
        padding: 0;
    }

    /* Preview panel */
    .qr-preview-card {
        background: #fff;
        border-radius: 14px;
        padding: 26px;
        border: 1px solid #e8ecf1;
        box-shadow: 0 4px 20px rgba(0,0,0,0.03);
        position: sticky;
        top: 20px;
    }
    .qr-preview-stage {
        background:
            linear-gradient(45deg, #f1f5f9 25%, transparent 25%) 0 0 / 20px 20px,
            linear-gradient(-45deg, #f1f5f9 25%, transparent 25%) 0 10px / 20px 20px,
            linear-gradient(45deg, transparent 75%, #f1f5f9 75%) 10px -10px / 20px 20px,
            linear-gradient(-45deg, transparent 75%, #f1f5f9 75%) -10px 0 / 20px 20px;
        border-radius: 12px;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 320px;
        margin-bottom: 16px;
    }
    .qr-preview-stage canvas {
        max-width: 100%;
        height: auto !important;
        border-radius: 8px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
    .qr-preview-note {
        text-align: center;
        font-size: 12px;
        color: #94a3b8;
        margin-bottom: 16px;
        min-height: 18px;
    }
    .qr-action-stack {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .btn-qr {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 14px;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
    }
    .btn-qr:disabled { opacity: 0.5; cursor: not-allowed; }
    .btn-qr-primary { background: #1a5e5c; color: #fff; }
    .btn-qr-primary:hover:not(:disabled) { background: #0f4a48; }
    .btn-qr-secondary { background: #f1f5f9; color: #475569; }
    .btn-qr-secondary:hover:not(:disabled) { background: #e2e8f0; }

    /* Recent history */
    .recent-strip {
        margin-top: 24px;
    }
    .recent-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }
    .recent-clear {
        background: transparent;
        border: none;
        color: #94a3b8;
        font-size: 11px;
        cursor: pointer;
        text-decoration: underline;
    }
    .recent-clear:hover { color: #dc2626; }
    .recent-list {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    .recent-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 12px;
        color: #475569;
        cursor: pointer;
        transition: all 0.2s ease;
        max-width: 220px;
    }
    .recent-item:hover {
        border-color: #1a5e5c;
        color: #1a5e5c;
    }
    .recent-item i { color: #1a5e5c; }
    .recent-item span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    @media (max-width: 992px) {
        .qr-preview-card { position: static; }
    }
    @media (max-width: 768px) {
        .qr-hero h1 { font-size: 26px; }
        .qr-hero p { font-size: 14px; }
        .qr-card, .qr-preview-card { padding: 20px; }
        .type-tab { font-size: 12px; padding: 6px 10px; }
    }