:root {
        --wz-blue: #0175b5;
        --wz-blue-dark: #005684;
        --wz-blue-tint: #eaf6fd;
        --wz-green: #39b228;
        --wz-green-tint: #eefbe9;
        --wz-amber: #f5a524;
        --wz-amber-tint: #fff6e6;
        --wz-ink: #1f2a37;
        --wz-muted: #6b7787;
        --wz-line: #e7ebf0;
        --wz-bg: #eef2f6;
        --wz-danger: #e0433d;
    }

    body {
        background: var(--wz-bg);
    }

    .wz-shell {
        max-width: 720px;
        margin: 40px auto 60px;
        padding: 0 16px;
    }

    .wz-card {
        background: #fff;
        border-radius: 22px;
        box-shadow: 0 20px 50px rgba(20, 40, 60, 0.08);
        padding: 28px 28px 26px;
        position: relative;
        overflow: hidden;
    }

    .wz-topbar {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 22px;
    }

    .wz-back {
        border: none;
        background: var(--wz-blue-tint);
        color: var(--wz-blue);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        transition: 0.15s;
    }

    .wz-back:hover {
        background: #dcf0fa;
    }

    .wz-back:disabled {
        opacity: 0;
        pointer-events: none;
    }

    .wz-segments {
        flex: 1;
        display: flex;
        gap: 6px;
    }

    .wz-seg {
        height: 6px;
        border-radius: 4px;
        flex: 1;
        background: var(--wz-line);
        overflow: hidden;
    }

    .wz-seg-fill {
        height: 100%;
        width: 0%;
        border-radius: 4px;
        background: linear-gradient(90deg, var(--wz-blue), var(--wz-green));
        transition: width 0.35s ease;
    }

    .wz-skip {
        border: none;
        background: transparent;
        color: var(--wz-muted);
        font-weight: 600;
        font-size: 0.85rem;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .wz-skip:hover {
        color: var(--wz-ink);
    }

    .wz-skip.wz-hidden {
        visibility: hidden;
    }

    .wz-eyebrow {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        color: var(--wz-blue);
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .wz-headline {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 1.5rem;
        line-height: 1.3;
        color: var(--wz-ink);
        text-align: center;
        margin-bottom: 6px;
    }

    .wz-subline {
        text-align: center;
        color: var(--wz-muted);
        font-size: 0.92rem;
        margin-bottom: 26px;
    }

    .wz-step {
        display: none;
        animation: wzIn 0.35s ease;
    }

    .wz-step.active {
        display: block;
    }

    @keyframes wzIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .wz-type-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 6px;
    }

    @media (min-width: 480px) {
        .wz-type-grid.cols-3plus {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    .wz-type-card {
        border: 2px solid var(--wz-line);
        border-radius: 14px;
        padding: 16px 10px;
        text-align: center;
        cursor: pointer;
        transition: 0.15s;
        position: relative;
        background: #fff;
    }

    .wz-type-card:hover {
        border-color: #bfe0f2;
        background: var(--wz-blue-tint);
    }

    .wz-type-card.active {
        border-color: var(--wz-blue);
        background: var(--wz-blue-tint);
    }

    .wz-type-card .wz-icon-circle {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: var(--wz-blue-tint);
        color: var(--wz-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
        font-size: 1.05rem;
        transition: 0.15s;
    }
    
    

    

    .wz-type-card.active .wz-icon-circle {
        background: var(--wz-blue);
        color: #fff;
    }

    .wz-type-card .wz-type-label {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--wz-ink);
    }

    .wz-check-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--wz-green);
        color: #fff;
        font-size: 0.6rem;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .wz-type-card.active .wz-check-badge {
        display: flex;
    }

    .wz-field-label {
        font-weight: 700;
        font-size: 0.85rem;
        color: var(--wz-ink);
        margin-bottom: 6px;
        display: block;
    }

    .wz-input {
        width: 100%;
        border: 2px solid var(--wz-line);
        border-radius: 12px;
        padding: 13px 14px;
        font-size: 0.95rem;
        background: #fbfcfd;
        transition: 0.15s;
    }

    .wz-input:focus {
        outline: none;
        border-color: var(--wz-blue);
        background: #fff;
        box-shadow: 0 0 0 4px var(--wz-blue-tint);
    }

    textarea.wz-input {
        resize: vertical;
        min-height: 150px;
    }

    .wz-char-count {
        text-align: right;
        font-size: 0.78rem;
        color: var(--wz-muted);
        margin-top: 6px;
    }

    .wz-char-count.ok {
        color: var(--wz-green);
    }

    .ck-editor__editable_inline {
        min-height: 150px;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
        border: 2px solid var(--wz-line) !important;
        border-top: none !important;
    }

    .ck-editor__editable_inline.ck-focused {
        border-color: var(--wz-blue) !important;
        box-shadow: none !important;
    }

    .ck-toolbar {
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
        background: #fbfcfd !important;
        border: 2px solid var(--wz-line) !important;
    }

    .ck-editor {
        margin-bottom: 6px;
    }

    .wz-switch-card {
        display: flex;
        align-items: center;
        gap: 12px;
        border: 2px dashed var(--wz-line);
        border-radius: 12px;
        padding: 12px 14px;
        margin-top: 16px;
        cursor: pointer;
    }

    .wz-switch-card .form-check-input {
        width: 2.4em;
        height: 1.3em;
        cursor: pointer;
        flex: 0 0 auto;
    }

    .wz-switch-card .wz-switch-text {
        font-size: 0.85rem;
        color: var(--wz-muted);
    }

    .wz-switch-card .wz-switch-text b {
        color: var(--wz-ink);
    }

    .wz-dropzone {
        border: 2px dashed #c9d3dc;
        border-radius: 16px;
        padding: 34px 16px;
        text-align: center;
        background: #fafcfe;
        cursor: pointer;
        position: relative;
        transition: 0.15s;
    }

    .wz-dropzone:hover,
    .wz-dropzone.dragover {
        border-color: var(--wz-blue);
        background: var(--wz-blue-tint);
    }

    .wz-dropzone input[type=file] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        width: 100%;
        height: 100%;
    }

    .wz-dropzone .wz-icon-circle {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .wz-preview-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
    }

    .wz-preview-item {
        position: relative;
        width: 84px;
        height: 84px;
    }

    .wz-preview-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid var(--wz-line);
    }

    .wz-preview-remove {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--wz-danger);
        color: #fff;
        border: none;
        font-size: 0.65rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }

    .wz-boost-card {
        display: flex;
        align-items: center;
        gap: 14px;
        border: 2px solid var(--wz-line);
        border-radius: 14px;
        padding: 14px 16px;
        margin-bottom: 12px;
        cursor: pointer;
        transition: 0.15s;
    }

    .wz-boost-card:hover {
        border-color: #ffe3ad;
    }

    .wz-boost-card.active {
        border-color: var(--wz-amber);
        background: var(--wz-amber-tint);
    }

    .wz-boost-card .wz-icon-circle {
        background: var(--wz-amber-tint);
        color: var(--wz-amber);
        flex: 0 0 auto;
    }

    .wz-boost-card.active .wz-icon-circle {
        background: var(--wz-amber);
        color: #fff;
    }

    .wz-boost-body {
        flex: 1;
    }

    .wz-boost-title {
        font-weight: 700;
        font-size: 0.9rem;
        color: var(--wz-ink);
    }

    .wz-boost-desc {
        font-size: 0.78rem;
        color: var(--wz-muted);
    }

    .wz-boost-price {
        font-weight: 700;
        color: var(--wz-blue);
        font-size: 0.9rem;
        flex: 0 0 auto;
    }

    .wz-boost-card input[type=checkbox] {
        display: none;
    }

    .wz-free-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--wz-green-tint);
        color: #1e7a12;
        border-radius: 12px;
        padding: 12px 14px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 14px;
        width: 100%;
    }

    .wz-review-row {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 0;
        border-bottom: 1px solid var(--wz-line);
        font-size: 0.88rem;
    }

    .wz-review-row:last-child {
        border-bottom: none;
    }

    .wz-review-label {
        color: var(--wz-muted);
        flex: 0 0 40%;
    }

    .wz-review-value {
        color: var(--wz-ink);
        font-weight: 600;
        text-align: right;
        flex: 1;
    }

    .wz-review-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 2px solid var(--wz-ink);
        font-weight: 700;
        font-size: 1.05rem;
        color: var(--wz-ink);
    }

    .wz-review-total span.wz-price {
        color: var(--wz-blue);
    }

    .credit-dashboard {
        display: flex;
        background: #f8fafe;
        border-radius: 16px;
        padding: 20px;
        gap: 15px;
        align-items: center;
        border: 1px solid #e7ebf0;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .credit-item {
        flex: 1;
        text-align: center;
        min-width: 100px;
    }

    .credit-item label {
        display: block;
        font-size: 0.85rem;
        color: var(--wz-muted);
        margin-bottom: 5px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .credit-item span {
        font-size: 1.4rem;
        font-weight: 800;
        display: block;
    }

    .credit-item span.balance {
        color: var(--wz-green);
    }

    .credit-item span.cost {
        color: var(--wz-danger);
    }

    .alert-box {
        padding: 15px 20px;
        border-radius: 12px;
        font-size: 0.95rem;
        margin-top: 15px;
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .alert-bad {
        background: #ffe4e8;
        color: #d63354;
        border: 1px solid #ffb3c1;
    }

    .wz-actions {
        margin-top: 26px;
    }

    .wz-btn-primary {
        width: 100%;
        background: var(--wz-blue);
        color: #fff;
        border: none;
        padding: 15px;
        font-weight: 700;
        font-size: 1rem;
        border-radius: 30px;
        transition: 0.15s;
    }

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

    .wz-btn-primary:disabled {
        background: #b9c4cd;
        cursor: not-allowed;
    }

    .wz-error-msg {
        color: var(--wz-danger);
        font-size: 0.82rem;
        font-weight: 600;
        text-align: center;
        margin-top: 10px;
        display: none;
    }

    .wz-pending-banner {
        border-radius: 14px;
    }
    .wz-actions {
        display: flex;
        gap: 1rem;
    }
    button#wzBackBottom {
        border-radius: 500px;
        border: 1px solid;
        background: white;
        display: flex;
        align-items: center;
        align-content: center;
    }

    
    @media (max-width: 480px) {
        .wz-card {
            padding: 22px 16px 20px;
            border-radius: 0;
        }

        .wz-shell {
            margin: 0 auto;
            padding: 0;
        }

        body {
            background: #fff;
        }
    }

    div#login-prompt {
        background: #fdfdfd;
        border: 1px solid #e2e2e2;
        border-radius: 8px;
    }

    @media (max-width: 480px) {
        .d-flex.gap-2 {
            display: flex;
            flex-direction: column;
        }

        div#login-prompt {
            background: #fdfdfd;
            border: 0px solid #e2e2e2;
            border-radius: 0px;
            padding: 0 !important;
        }
    }

    .adsForm img {
        height: 36px !important;
    }

    .wz-close {
        display: none;
        border: none;
        background: var(--wz-line);
        color: var(--wz-ink);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        transition: 0.15s;
        cursor: pointer;
    }

    .wz-close:hover {
        background: #dcdfe4;
    }

    @media (max-width: 480px) {
        button#wzBackBottom {
            width: 60px;
            height: 60px;
            justify-content: center;
        }
        body.wz-overlay-active {
            overflow: hidden;
        }

        .wz-shell {
            position: fixed;
            z-index: 999999;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            height: 100dvh;
            max-width: none;
            margin: 0;
            padding: 0;
            background: #fff;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .wz-card {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .wz-close {
            display: flex;
            position: fixed;
            top: 14px;
            right: 14px;
            z-index: 1000000;
            background: #fff;
            box-shadow: 0 2px 10px rgba(20, 40, 60, .18);
        }

        .wz-topbar {
            position: sticky;
            top: -22px;
            margin: -22px -16px 22px;
            padding: 22px 44px 14px 16px;
            background: #fff;
            z-index: 2;
            border-bottom: 1px solid var(--wz-line);
        }

        .wz-actions {
            position: sticky;
            bottom: -20px;
            margin: 26px -16px -20px;
            padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
            background: #fff;
            z-index: 2;
            border-top: 1px solid var(--wz-line);
        }

        .wz-shell.wz-closed {
            position: static;
            display: block;
            height: auto;
            width: auto;
            margin: 0 auto;
            padding: 0;
            background: none;
            overflow: visible;
        }

        .wz-shell.wz-closed .wz-card {
            flex: none;
            min-height: 0;
            overflow: hidden;
            height: auto;
            padding: 22px 16px 20px;
            border-radius: 0;
        }

        .wz-shell.wz-closed .wz-close {
            display: none;
        }

        .wz-shell.wz-closed .wz-topbar {
            position: static;
            margin: 0 0 22px;
            padding: 0;
            background: none;
            border-bottom: none;
        }

        .wz-shell.wz-closed .wz-actions {
            position: static;
            margin: 26px 0 0;
            padding: 0;
            background: none;
            border-top: none;
        }
    }
    .voiceOption {
        display: flex !important;
        flex-direction: row !important;
    }
   
       
       /* Same CSS as rip_francex.php */
    .choice-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; width: 100% !important; margin: 8px 0 0 !important; }
    .choice-grid--3col { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .choice-option { position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; min-height: 56px !important; padding: 10px 12px !important; border: 1.5px solid #d7d7d7 !important; border-radius: 10px !important; background: #fff !important; cursor: pointer !important; transition: border-color .15s ease, background .15s ease; }
    .choice-option input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; pointer-events: none !important; }
    .choice-option span { font-size: 14px !important; line-height: 1.3 !important; word-break: break-word !important; color: #333 !important; display: block !important; }
    .choice-option:hover { border-color: #28a745 !important; }
    .choice-option.is-selected, .choice-option:has(input:checked) { background: #28a745 !important; border-color: #28a745 !important; }
    .choice-option.is-selected span, .choice-option:has(input:checked) span { color: #fff !important; }
    
    .rip-layout { --rip-ink: #2b2b2b; --rip-ink-soft: #6b6b6b; --rip-paper: #faf7f2; --rip-line: #e6e1d8; --rip-card: #ffffff; --rip-accent: #28a745; --rip-accent-deep: #1f7a37; --rip-red: #e0433d; max-width: 720px; margin: 0 auto; padding: 28px 16px 60px; box-sizing: border-box; color: var(--rip-ink); }
    .bigOne .stitle { font-size: 1.6rem; font-weight: 700; margin: 0 0 24px; color: var(--rip-ink); }
    
    #adsForm fieldset { border: none; margin: 0; padding: 0; counter-reset: rip-section; display: flex; flex-direction: column; gap: 18px; }
    .rip-card { background: var(--rip-card); border: 1px solid var(--rip-line); border-radius: 14px; padding: 20px 20px 22px; box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 24px -16px rgba(0,0,0,.12); counter-increment: rip-section; }
    .rip-card > h4:first-child { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rip-line); font-size: 1.05rem; font-weight: 700; }
    .rip-card > h4:first-child::before { content: counter(rip-section, decimal-leading-zero); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rip-accent); color: #fff; font-size: 0.72rem; font-weight: 700; }
    
    #adsForm label { display: block; font-size: 0.92rem; font-weight: 600; color: var(--rip-ink-soft); margin-bottom: 4px; }
    #adsForm input[type="text"], #adsForm input[type="date"], #adsForm input[type="number"], #adsForm textarea, #adsForm select { width: 100%; box-sizing: border-box; font-size: 0.95rem; padding: 10px 12px; margin-top: 6px; border: 1.5px solid var(--rip-line); border-radius: 10px; background: #fff; }
    #adsForm input:focus, #adsForm textarea:focus, #adsForm select:focus { outline: none; border-color: var(--rip-accent); box-shadow: 0 0 0 3px rgba(40,167,69,.12); }
    
    .rip-card .entry { background: var(--rip-paper); border: 1px solid var(--rip-line); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
    .rip-card .addnew { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 9px 16px; border-radius: 8px; border: 1.5px solid var(--rip-accent); background: #fff; color: var(--rip-accent-deep); font-size: 0.88rem; font-weight: 700; cursor: pointer; }
    .rip-card .addnew:hover { background: var(--rip-accent); color: #fff; }
    
    #adsForm details.useTamil { border: 1px solid var(--rip-line); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; background: var(--rip-paper); }
    #adsForm details.useTamil summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--rip-accent-deep); }
    
    #adsForm .btnSubmit { width: 100%; box-sizing: border-box; padding: 16px 20px; margin-top: 4px; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; color: #fff; cursor: pointer; background: var(--primary); transition: transform .1s ease, box-shadow .15s ease;}
    #adsForm .btnSubmit:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.4); }

    .existing-images-box { background: #eaf6fd; padding: 15px; border-radius: 10px; margin-bottom: 15px; border: 1px solid #bfe0f2; font-size: 0.85rem; color: #005684; }
    .existing-images-gallery { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
    .existing-images-gallery img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #ccc; }
   
   /* CSS Scoping and Layout */
    .simpleLockMe { background: #d2c72233; padding: 1rem; margin-bottom: 1rem; border-radius: 5px; border: 1px dashed #bc8f22; }
    .simpleLockMe p { font-size: 0.8rem; margin: 0; }
    .choice-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; margin: 8px 0 0 !important; }
    .choice-grid--3col { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .choice-option { position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; min-height: 56px !important; padding: 10px 12px !important; border: 1.5px solid #d7d7d7 !important; border-radius: 10px !important; background: #fff !important; cursor: pointer !important; box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; float: none !important; transition: border-color .15s ease, background .15s ease; }
    .choice-option input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; pointer-events: none !important; }
    .choice-option span { font-size: 14px !important; line-height: 1.3 !important; word-break: break-word !important; overflow-wrap: break-word !important; white-space: normal !important; color: #333 !important; display: block !important; }
    .choice-option:hover { border-color: #28a745 !important; }
    .choice-option.is-selected, .choice-option:has(input:checked) { background: #28a745 !important; border-color: #28a745 !important; }
    .choice-option.is-selected span, .choice-option:has(input:checked) span { color: #fff !important; }
    .choice-option input:focus-visible ~ span { outline: 2px solid #28a745; outline-offset: 2px; }
    
    #start_button.is-recording { background: #d92626 !important; border-color: #d92626 !important; color: #fff !important; animation: ax-pulse 1.4s ease-in-out infinite; }
    @keyframes ax-pulse { 0% { box-shadow: 0 0 0 0 rgba(217,38,38,.4); } 70% { box-shadow: 0 0 0 8px rgba(217,38,38,0); } 100% { box-shadow: 0 0 0 0 rgba(217,38,38,0); } }
    
    .lang-btn { padding: 8px 16px; margin: 5px; border: 1px solid #ccc; background: #f9f9f9; cursor: pointer; border-radius: 5px; transition: all 0.3s ease; }
    .lang-btn:hover { background: #eee; }
    .lang-btn.active { background-color: #007bff; color: white; border-color: #007bff; font-weight: bold; }
    .error-alert { font-weight: bold; color: #721c24; margin-bottom: 1rem;}

    .credit-dashboard { display: flex; background: #f8fafe; border-radius: 16px; padding: 20px; gap: 15px; align-items: center; border: 1px solid #e7ebf0; flex-wrap: wrap; margin-top: 20px; margin-bottom: 20px; }
    .credit-item { flex: 1; text-align: center; min-width: 100px; }
    .credit-item label { display: block; font-size: 0.85rem; color: #6b7787; margin-bottom: 5px; font-weight: 600; text-transform: uppercase; }
    .credit-item span { font-size: 1.4rem; font-weight: 800; display: block; }
    .credit-item span.balance { color: #39b228; }
    .credit-item span.cost { color: #e0433d; }
    .alert-box { padding: 15px 20px; border-radius: 12px; font-size: 0.95rem; margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; }
    .alert-bad { background: #ffe4e8; color: #d63354; border: 1px solid #ffb3c1; }

    .bigOne .stitle { font-size: 1.6rem; font-weight: 700; margin: 0 0 4px; color: var(--rip-ink); }
    .bigOne .shortPrice { margin-bottom: 18px; }
    .bigOne .simpleLockMe { margin-bottom: 24px; }
    
    .rip-tip-btn { flex: 0 0 auto; margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--rip-accent); background: #fff; color: var(--rip-accent-deep); font-size: 0.8rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background .15s ease, color .15s ease; }
    .rip-tip-btn:hover, .rip-tip-btn[aria-expanded="true"] { background: var(--rip-accent); color: #fff; }
    .rip-tip-popover { display: none; position: relative; margin: -6px 0 14px; padding: 12px 14px; background: var(--rip-paper); border: 1px solid var(--rip-line); border-radius: 10px; font-size: 0.85rem; line-height: 1.5; color: var(--rip-ink); }
    .rip-tip-popover.is-open { display: block; }
    
    #adsForm fieldset { border: none; margin: 0; padding: 0; counter-reset: rip-section; display: flex; flex-direction: column; gap: 18px; }
    .rip-card { background: var(--rip-card); border: 1px solid var(--rip-line); border-radius: 14px; padding: 20px 20px 22px; box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 24px -16px rgba(0,0,0,.12); box-sizing: border-box; counter-increment: rip-section; }
    .rip-card > h4:first-child { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rip-line); font-size: 1.05rem; font-weight: 700; color: var(--rip-ink); }
    .rip-card > h4:first-child::before { content: counter(rip-section, decimal-leading-zero); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rip-accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; }
    
    #adsForm label { display: block; font-size: 0.92rem; font-weight: 600; color: var(--rip-ink-soft); margin-bottom: 4px; }
    #adsForm input[type="text"], #adsForm input[type="date"], #adsForm input[type="number"], #adsForm textarea, #adsForm select { width: 100%; box-sizing: border-box; font-size: 0.95rem; padding: 10px 12px; margin-top: 6px; border: 1.5px solid var(--rip-line); border-radius: 10px; background: #fff; }
    #adsForm input:focus, #adsForm textarea:focus, #adsForm select:focus { outline: none; border-color: var(--rip-accent); box-shadow: 0 0 0 3px rgba(40,167,69,.12); }
    #adsForm label:has(input[required])::after { content: ' *'; color: var(--rip-red); font-weight: 700; }
    
    .rip-card .entry { background: var(--rip-paper); border: 1px solid var(--rip-line); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
    .rip-card .addnew { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 9px 16px; border-radius: 8px; border: 1.5px solid var(--rip-accent); background: #fff; color: var(--rip-accent-deep); font-size: 0.88rem; font-weight: 700; cursor: pointer; }
    .rip-card .addnew:hover { background: var(--rip-accent); color: #fff; }
    
    #adsForm details.useTamil { border: 1px solid var(--rip-line); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; background: var(--rip-paper); }
    #adsForm details.useTamil summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--rip-accent-deep); }
    
    #adsForm .btnSubmit { width: 100%; box-sizing: border-box; padding: 16px 20px; margin-top: 4px; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; color: #fff; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); background: #28a745; transition: transform .1s ease, box-shadow .15s ease;}
    #adsForm .btnSubmit:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.4); }

    @media (max-width: 560px) {
        .rip-layout { padding: 18px 12px 48px; }
        .rip-card { padding: 16px 14px 18px; border-radius: 12px; }
    }

    textarea, input {
    background: #f1f1f1 !important;
    margin: 0 !important;
}
#adsForm label {
    margin-top: 1rem;
}

.entry.lived-place-item {
    position: relative;
}
button.toRemove {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 5000px;
    border: 0;
    background: #c50000;
    color: #fff;
    font-size: 11px;
}