﻿* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body {
    background: #f4f6f9;
    color: #161b22;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}


/* =========================================================
   KIOSK
   ========================================================= */

.kiosk-body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(20, 106, 255, .08),
            transparent 28%
        ),
        #f5f7fa;
}

.kiosk-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 42%) 1fr;
}

.assistant-panel {
    min-height: 100vh;
    padding: 34px 42px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid #e7eaf0;
}

.assistant-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.brand-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 12px;
    color: #89919f;
}

.language-switch {
    display: flex;
    padding: 4px;
    background: #f1f3f6;
    border-radius: 12px;
}

.language-button {
    border: 0;
    padding: 8px 12px;
    background: transparent;
    border-radius: 9px;
    cursor: pointer;
    color: #7d8590;
    font-weight: 700;
}

.language-button.active {
    background: white;
    color: #111827;
    box-shadow: 0 3px 10px rgba(0,0,0,.06);
}

.assistant-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.assistant-status,
.projects-kicker,
.admin-kicker {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
    color: #77808e;
}

.voice-orb {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 34px 0 32px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle,
            rgba(39, 113, 255, .13) 0,
            rgba(39, 113, 255, .07) 45%,
            rgba(39, 113, 255, .02) 70%
        );
    box-shadow:
        0 0 0 18px rgba(42, 119, 255, .035),
        0 20px 60px rgba(27, 88, 201, .12);
}

.voice-orb-inner {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            #5c9cff,
            #1265f3
        );
    box-shadow:
        0 10px 35px rgba(18, 101, 243, .35);
}

.assistant-title {
    max-width: 560px;
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
}

.assistant-description {
    max-width: 480px;
    margin: 16px 0 24px;
    color: #6f7782;
    font-size: 16px;
    line-height: 1.7;
}

.assistant-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 100px;
    color: #667085;
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3c82ff;
    box-shadow: 0 0 0 5px rgba(60,130,255,.10);
}

.assistant-footer {
    display: flex;
    justify-content: flex-start;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.powered-by span,
.powered-by strong {
    display: block;
}

.powered-by span {
    font-size: 10px;
    color: #a0a7b1;
}

.powered-by strong {
    font-size: 13px;
}

.ya-logo {
    width: 37px;
    height: 37px;
    border-radius: 10px;
    background: #111827;
    color: white;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
}

.projects-panel {
    padding: 54px;
    overflow: auto;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 34px;
}

.projects-header h2 {
    margin: 8px 0 0;
    font-size: 30px;
}

.project-count {
    padding: 9px 13px;
    background: white;
    border-radius: 10px;
    color: #747d89;
    font-size: 12px;
}

.projects-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.project-card {
    overflow: hidden;
    border-radius: 22px;
    background: white;
    box-shadow: 0 10px 32px rgba(16,24,40,.06);
}

.project-image {
    height: 210px;
    background: #e9edf3;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #8992a0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.project-card-content {
    padding: 22px;
}

.project-location {
    font-size: 11px;
    color: #7c8592;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.project-card h3 {
    margin: 7px 0 10px;
    font-size: 20px;
}

.project-card p {
    color: #737b87;
    line-height: 1.6;
    font-size: 13px;
}

.empty-projects,
.admin-empty {
    min-height: 420px;
    border: 1px dashed #d6dbe3;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255,255,255,.55);
    padding: 40px;
}

.empty-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #edf3ff;
    color: #276ff5;
    font-size: 28px;
    margin-bottom: 16px;
}

.empty-projects h3,
.admin-empty h2 {
    margin: 0 0 8px;
}

.empty-projects p,
.admin-empty p {
    max-width: 440px;
    color: #7b8490;
    line-height: 1.6;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 18px;
    border-radius: 11px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}

.primary-button {
    background: #1769f5;
    color: white;
    box-shadow: 0 8px 20px rgba(23,105,245,.20);
}

.secondary-button {
    background: #eef1f5;
    color: #242a32;
}


/* =========================================================
   ADMIN
   ========================================================= */

.admin-body {
    min-height: 100vh;
    background: #f5f6f8;
}

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 245px 1fr;
}

.admin-sidebar {
    background: #11151b;
    color: white;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    padding: 0 12px 30px;
    display: flex;
    flex-direction: column;
}

.admin-logo strong {
    letter-spacing: 2px;
    font-size: 19px;
}

.admin-logo span {
    color: #737d8b;
    font-size: 10px;
    margin-top: 3px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-nav-item {
    padding: 12px 14px;
    border-radius: 10px;
    color: #8e97a5;
    font-size: 13px;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: #1c222b;
    color: white;
}

.admin-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid #252c35;
    padding: 22px 12px 0;
}

.admin-sidebar-footer a {
    color: #8f99a6;
    font-size: 12px;
}

.admin-main {
    padding: 42px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    margin: 7px 0 0;
    font-size: 31px;
}

.admin-header-brand {
    color: #89919c;
    font-size: 12px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    min-height: 135px;
    padding: 23px;
    background: white;
    border-radius: 18px;
    border: 1px solid #eceef2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card span {
    color: #808895;
    font-size: 12px;
}

.stat-card strong {
    font-size: 34px;
}

.admin-welcome {
    margin-top: 24px;
    padding: 38px;
    border-radius: 22px;
    background: white;
    border: 1px solid #eceef2;
}

.admin-welcome h2 {
    margin: 10px 0;
    max-width: 660px;
    font-size: 27px;
}

.admin-welcome p {
    max-width: 700px;
    color: #737c88;
    line-height: 1.7;
}

.admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.admin-project-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.admin-project-card {
    background: white;
    border: 1px solid #e8ebef;
    border-radius: 17px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-project-card h3 {
    margin: 5px 0 0;
}

.project-status {
    font-size: 11px;
    font-weight: 800;
    padding: 7px 10px;
    border-radius: 100px;
    background: #eaf8f0;
    color: #298754;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .kiosk-shell {
        grid-template-columns: 1fr;
    }

    .assistant-panel {
        min-height: 650px;
        border-right: 0;
        border-bottom: 1px solid #e7eaf0;
    }

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

}


/* =========================================================
   FORMS
   ========================================================= */

.form-card {
    background: white;
    border: 1px solid #e8ebef;
    border-radius: 20px;
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #525b67;
}

.full-width {
    grid-column: 1 / -1;
}

.form-control {
    width: 100%;
    border: 1px solid #dce1e7;
    border-radius: 11px;
    padding: 12px 13px;
    outline: none;
    background: #ffffff;
    transition: .15s ease;
}

.form-control:focus {
    border-color: #1769f5;
    box-shadow: 0 0 0 3px rgba(23,105,245,.08);
}

.textarea-medium {
    min-height: 110px;
    resize: vertical;
}

.textarea-large {
    min-height: 180px;
    resize: vertical;
}

.checkbox-group {
    justify-content: center;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
}

.project-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-card-actions form {
    margin: 0;
}

.project-slug {
    display: block;
    margin-top: 5px;
    color: #939aa4;
}

.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: #fff0f0;
    color: #c43a3a;
    font-weight: 700;
    cursor: pointer;
}

.validation-summary,
.field-error {
    color: #c43a3a;
    font-size: 12px;
}

@media (max-width: 900px) {

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

}

.form-help {
    margin-top: 2px;
    color: #9098a4;
    font-size: 11px;
}

input[type="file"].form-control {
    padding: 9px;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    border: 0;
    border-radius: 8px;
    background: #eef3fb;
    color: #2d5f9f;
    padding: 8px 13px;
    margin-right: 12px;
    font-weight: 700;
    cursor: pointer;
}

.current-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    background: #f8fafc;
}

.current-cover-preview {
    width: 90px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.current-upload span {
    color: #6f7782;
    font-size: 12px;
}

.current-file-link {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    color: #1769f5;
    font-size: 12px;
    font-weight: 700;
}


.error-box {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff1f2;
    color: #b42318;
    font-size: 13px;
}

.error-box strong {
    display: block;
    margin-bottom: 8px;
}

.error-box ul {
    margin: 5px 0 0;
    padding-left: 18px;
}

.success-box {
    margin-bottom: 22px;
    padding: 14px 18px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    color: #18794e;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   GELISMIS PROJE FORMU
   ========================================================= */

.project-form-section {
    margin-bottom: 24px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 20px;
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #edf0f4;
}

.form-section-header h2 {
    margin: 0 0 5px;
    font-size: 18px;
}

.form-section-header p {
    margin: 0;
    color: #88919d;
    font-size: 12px;
    line-height: 1.5;
}

.form-section-number {
    flex: 0 0 39px;
    height: 39px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #eef4ff;
    color: #1769f5;
    font-size: 11px;
    font-weight: 800;
}

.four-column {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}

.upload-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.upload-card {
    min-height: 145px;
    padding: 20px;
    border: 1px dashed #cfd6df;
    border-radius: 15px;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.upload-card strong {
    font-size: 13px;
}

.upload-card span {
    min-height: 34px;
    color: #8a929d;
    font-size: 11px;
    line-height: 1.5;
}

.upload-card input[type=file] {
    margin-top: auto;
    font-size: 12px;
}

.unit-type-card {
    padding: 22px;
    margin-bottom: 16px;
    border: 1px solid #e3e7ed;
    border-radius: 16px;
    background: #fafbfc;
}

.unit-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.unit-type-header strong {
    font-size: 14px;
}

.unit-remove-button {
    border: 0;
    padding: 7px 10px;
    border-radius: 8px;
    background: #fff0f0;
    color: #bd3c3c;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.add-unit-button {
    width: 100%;
    min-height: 48px;
    border: 1px dashed #b9c8df;
    border-radius: 12px;
    background: #f6f9ff;
    color: #1769f5;
    font-weight: 700;
    cursor: pointer;
}

.add-unit-button:hover {
    background: #edf4ff;
}

.sticky-form-actions {
    position: sticky;
    bottom: 15px;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px;
    margin-top: 20px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    border: 1px solid #e4e8ed;
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(15,23,42,.10);
}

@media (max-width: 1200px) {

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

}

@media (max-width: 750px) {

    .upload-grid,
    .four-column {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   EXISTING MEDIA
   ========================================================= */

.existing-media-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.existing-media-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e9ef;
    border-radius: 14px;
    background: #ffffff;
}

.existing-media-card img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.existing-media-card form {
    padding: 9px;
}

.media-delete-button {
    width: 100%;
    border: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff0f0;
    color: #c03939;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.media-upload-bottom {
    min-height: 100px;
}

.media-preview-large {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px 0;
}

.unit-image-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    background: #ffffff;
}

.unit-image-preview img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}


/* =========================================================
   ADMIN MENU GROUPS
   ========================================================= */

.admin-menu-group {
    margin-bottom: 20px;
}

.admin-menu-title {
    padding: 0 14px 7px;
    color: #525e6d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* =========================================================
   NEXT RENTALS
   ========================================================= */

.next-rental-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(310px, 1fr));
    gap: 20px;
}

.next-rental-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
}

.next-rental-image {
    height: 210px;
    background: #edf0f4;
}

.next-rental-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.next-rental-content {
    padding: 20px;
}

.next-rental-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.next-rental-content h3 {
    margin: 10px 0 7px;
    font-size: 18px;
}

.next-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.next-property-meta span {
    padding: 5px 8px;
    background: #f3f5f8;
    border-radius: 7px;
    color: #707985;
    font-size: 10px;
}

.next-rental-price {
    margin-top: 5px;
    font-size: 20px;
    font-weight: 800;
}

.next-rental-price small {
    color: #8c949f;
    font-size: 10px;
    font-weight: 500;
}

.empty-price {
    color: #949ca6;
    font-size: 12px;
    font-weight: 600;
}

.next-rental-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.next-rental-actions form {
    margin: 0;
}


.prompt-textarea {
    min-height: 220px;
    resize: vertical;
    line-height: 1.65;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size: 12px;
}


/* =========================================================
   AI ROUTER DEBUG
   ========================================================= */

.ai-router-result-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.ai-router-card {
    padding: 17px;
    border: 1px solid #e5e9ef;
    border-radius: 13px;
    background: #f8fafc;
}

.ai-router-card span {
    display: block;
    margin-bottom: 7px;
    color: #8a929e;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-router-card strong {
    font-size: 14px;
}

.ai-debug-block {
    margin-top: 20px;
}

.ai-debug-block pre {
    max-height: 430px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 8px 0 0;
    padding: 18px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #111827;
    color: #d8e1ee;
    font-size: 11px;
    line-height: 1.65;
}

@media (max-width: 900px) {

    .ai-router-result-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   OPENAI SETTINGS
   ========================================================= */

.openai-security-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid #e4e8ee;
    border-radius: 16px;
    background: #ffffff;
}

.openai-security-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eef4ff;
    font-size: 20px;
}

.openai-security-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
}

.openai-security-card p {
    margin: 9px 0 0;
    max-width: 720px;
    color: #7b8490;
    font-size: 12px;
    line-height: 1.6;
}

.openai-key-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
}

.openai-key-status.success {
    background: #eaf8f0;
    color: #268151;
}

.openai-key-status.danger {
    background: #fff0f0;
    color: #be3b3b;
}

.openai-test-result {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.openai-test-result small {
    opacity: .7;
}

.input-with-suffix {
    position: relative;
}

.input-with-suffix .form-control {
    padding-right: 75px;
}

.input-with-suffix span {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c949f;
    font-size: 11px;
}

.primary-button:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}


/* =========================================================
   VOICE REALTIME
   ========================================================= */

.voice-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.voice-start-button,
.voice-stop-button {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .15s ease,
        opacity .15s ease,
        box-shadow .15s ease;
}

.voice-start-button {
    background: #1769f5;
    color: #ffffff;
    box-shadow:
        0 10px 25px rgba(23,105,245,.23);
}

.voice-stop-button {
    background: #eef1f5;
    color: #343b45;
}

.voice-start-button:hover:not(:disabled),
.voice-stop-button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.voice-start-button:disabled,
.voice-stop-button:disabled {
    opacity: .45;
    cursor: default;
    box-shadow: none;
}

.live-transcript {
    width: 100%;
    max-width: 580px;
    min-height: 24px;
    margin-top: 22px;
    color: #707986;
    font-size: 12px;
    line-height: 1.65;
    text-align: left;
}

.voice-wave {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 34px;
}

.voice-wave span {
    width: 4px;
    height: 12px;
    border-radius: 100px;
    background: #ffffff;
    animation:
        voiceWave 900ms ease-in-out infinite;
}

.voice-wave span:nth-child(2) {
    animation-delay: 100ms;
}

.voice-wave span:nth-child(3) {
    animation-delay: 200ms;
}

.voice-wave span:nth-child(4) {
    animation-delay: 300ms;
}

.voice-orb.listening .voice-wave,
.voice-orb.thinking .voice-wave,
.voice-orb.speaking .voice-wave {
    display: flex;
}

.voice-orb.listening .voice-orb-inner {
    animation:
        orbListen 1.8s ease-in-out infinite;
}

.voice-orb.thinking .voice-orb-inner {
    animation:
        orbThinking 1s linear infinite;
}

.voice-orb.speaking .voice-orb-inner {
    animation:
        orbSpeak .7s ease-in-out infinite;
}

.assistant-state.listening .status-dot {
    background: #2f80ed;
}

.assistant-state.thinking .status-dot {
    background: #7c5cff;
}

.assistant-state.speaking .status-dot {
    background: #15a36d;
}

.assistant-state.error .status-dot {
    background: #d34141;
}

@keyframes voiceWave {

    0%,
    100% {
        height: 8px;
        opacity: .6;
    }

    50% {
        height: 28px;
        opacity: 1;
    }

}

@keyframes orbListen {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 10px 35px rgba(18,101,243,.35);
    }

    50% {
        transform: scale(1.08);
        box-shadow:
            0 14px 55px rgba(18,101,243,.48);
    }

}

@keyframes orbThinking {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes orbSpeak {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.13);
    }

}


/* =========================================================
   CUSTOMER LEADS
   ========================================================= */

.lead-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 18px;
}

.lead-table {
    width: 100%;
    border-collapse: collapse;
}

.lead-table th,
.lead-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid #edf0f4;
    font-size: 12px;
}

.lead-table th {
    color: #858e9a;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.lead-table tbody tr:last-child td {
    border-bottom: 0;
}

.lead-status-pending {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 100px;
    background: #fff6e6;
    color: #a76817;
    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   BITRIX FIELD MAPPING
   ========================================================= */

.bitrix-standard-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bitrix-standard-grid > div {
    padding: 17px;
    border: 1px solid #e5e9ef;
    border-radius: 13px;
    background: #f8fafc;
}

.bitrix-standard-grid span,
.bitrix-standard-grid small {
    display: block;
}

.bitrix-standard-grid span {
    margin-bottom: 6px;
    color: #8b949f;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.bitrix-standard-grid strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.bitrix-standard-grid small {
    color: #858e99;
    font-size: 10px;
}

.bitrix-field-row {
    display: grid;
    grid-template-columns:
        minmax(190px, 1fr)
        minmax(190px, 1fr)
        minmax(180px, 1fr)
        auto
        auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
    padding: 17px;
    border: 1px solid #e5e9ef;
    border-radius: 14px;
    background: #fafbfc;
}

.bitrix-active-field {
    display: flex;
    align-items: center;
    min-height: 43px;
}

.bitrix-remove-field {
    min-height: 43px;
}

@media (max-width: 1100px) {

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

    .bitrix-field-row {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   NEXT FULL EDIT
   ========================================================= */

.next-current-cover {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #e4e8ee;
    border-radius: 15px;
    background: #fafbfc;
}

.next-current-cover img {
    width: 220px;
    height: 145px;
    border-radius: 12px;
    object-fit: cover;
}

.media-empty-state {
    margin-bottom: 16px;
    padding: 18px;
    border: 1px dashed #d7dce4;
    border-radius: 12px;
    background: #fafbfc;
    color: #8a929d;
    font-size: 11px;
}


/* =========================================================
   KIOSK LIVE PRESENTATION ENGINE
   ========================================================= */

.presentation-stage {
    display: none;
    animation:
        presentationAppear .28s ease;
}

.projects-panel.presentation-active {
    padding: 34px;
}

.projects-panel.presentation-active
.projects-header,
.projects-panel.presentation-active
.projects-grid {
    display: none;
}

.projects-panel.presentation-active
.presentation-stage {
    display: block;
}

.presentation-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.presentation-back-button {
    border: 0;
    padding: 9px 13px;
    border-radius: 10px;
    background: #ffffff;
    color: #515a66;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    box-shadow:
        0 3px 12px rgba(15,23,42,.05);
}

.presentation-toolbar-brand {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #9aa2ad;
}

.presentation-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.presentation-heading h2 {
    margin: 7px 0 0;
    font-size: 31px;
}

.presentation-catalog-button {
    border: 0;
    min-height: 43px;
    padding: 0 17px;
    border-radius: 11px;
    background: #1769f5;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 8px 20px rgba(23,105,245,.18);
}

.presentation-main {
    position: relative;
    width: 100%;
    height: min(54vh, 560px);
    min-height: 360px;
    overflow: hidden;
    border-radius: 23px;
    background: #e9edf3;
    box-shadow:
        0 14px 40px rgba(15,23,42,.08);
}

.presentation-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #10141b;
}

.presentation-pdf {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.presentation-empty {
    height: 100%;
    display: grid;
    place-items: center;
    padding: 30px;
    color: #929aa5;
    font-size: 12px;
    text-align: center;
}

.presentation-description {
    max-width: 950px;
    margin: 20px 0 0;
    color: #6e7783;
    font-size: 13px;
    line-height: 1.7;
}

.presentation-section {
    margin-top: 28px;
}

.presentation-section-title {
    margin-bottom: 13px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #606a77;
    text-transform: uppercase;
}

.presentation-assets {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(155px, 1fr));
    gap: 11px;
}

.presentation-asset-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid #e3e8ef;
    border-radius: 13px;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.presentation-asset-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(15,23,42,.08);
}

.presentation-thumb {
    height: 100px;
    background: #e9edf2;
}

.presentation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.presentation-asset-meta {
    padding: 10px;
}

.presentation-asset-meta span,
.presentation-asset-meta strong {
    display: block;
}

.presentation-asset-meta span {
    margin-bottom: 3px;
    color: #9aa1ab;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.presentation-asset-meta strong {
    overflow: hidden;
    color: #373e48;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.presentation-units {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}

.presentation-unit-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid #e4e8ed;
    border-radius: 14px;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
}

.presentation-unit-card img,
.presentation-unit-placeholder {
    width: 100%;
    height: 130px;
}

.presentation-unit-card img {
    object-fit: contain;
    background: #f3f5f7;
}

.presentation-unit-placeholder {
    display: grid;
    place-items: center;
    background: #f1f4f8;
    color: #9aa2ad;
    font-size: 13px;
    font-weight: 800;
}

.presentation-unit-content {
    padding: 13px;
}

.presentation-unit-content strong {
    display: block;
    font-size: 12px;
}

.presentation-unit-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.presentation-unit-meta span {
    padding: 4px 6px;
    border-radius: 6px;
    background: #f2f4f7;
    color: #727b87;
    font-size: 8px;
}

.presentation-project-card {
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.presentation-project-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 36px rgba(16,24,40,.10);
}

@keyframes presentationAppear {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

}

@media (max-width: 900px) {

    .presentation-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .presentation-main {
        height: 420px;
    }

}


/* =========================================================
   HANDS-FREE KIOSK
   ========================================================= */

.voice-actions {
    display: none !important;
}


/* =========================================================
   WAKE PHRASE KIOSK
   ========================================================= */

.assistant-state.idle {
    background: rgba(255,255,255,.8);
}

.voice-orb.idle .voice-orb-inner {
    animation:
        wakePulse 2.4s ease-in-out infinite;
}

@keyframes wakePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

}


/* =========================================================
   AI LIVE PRESENTATION SLIDES
   ========================================================= */

.ai-slide-admin-card {
    display: grid;
    grid-template-columns:
        260px minmax(0, 1fr);
    gap: 22px;
}

.ai-slide-admin-preview {
    width: 100%;
}

.ai-slide-admin-preview img,
.ai-slide-no-image {
    width: 100%;
    height: 190px;
    border-radius: 15px;
}

.ai-slide-admin-preview img {
    object-fit: cover;
    background: #eef1f5;
}

.ai-slide-no-image {
    display: grid;
    place-items: center;
    background: #f2f4f7;
    color: #9ba3ad;
    font-size: 11px;
}

.ai-slide-admin-form {
    min-width: 0;
}

.ai-slide-admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.live-slide-overlay {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 5;
    max-width: min(520px, 70%);
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(7,13,24,.82);
    backdrop-filter: blur(12px);
    color: #ffffff;
    box-shadow:
        0 12px 35px rgba(0,0,0,.22);
}

.live-slide-overlay span,
.live-slide-overlay strong,
.live-slide-overlay p {
    display: block;
}

.live-slide-overlay span {
    margin-bottom: 6px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.4px;
    opacity: .6;
}

.live-slide-overlay strong {
    font-size: 20px;
    line-height: 1.2;
}

.live-slide-overlay p {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.55;
    opacity: .8;
}

@media (max-width: 1000px) {

    .ai-slide-admin-card {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   PROJECT STORYBOARD
   ========================================================= */

.presentation-stage.storyboard-running
.presentation-main {
    box-shadow:
        0 18px 48px rgba(15,23,42,.14);
}

.presentation-stage.storyboard-running
.live-slide-overlay {
    animation:
        storyboardOverlayIn .32s ease;
}

@keyframes storyboardOverlayIn {

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

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

}


/* =========================================================
   WAKE DEBUG
   ========================================================= */

.wake-debug {
    margin-top: 12px;
    color: #8b94a1;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}


/* ========================================================================
   INVERTA ADMIN DESIGN SYSTEM V2
   ======================================================================== */

:root {

    --ia-bg:
        #ffffff;

    --ia-surface:
        #ffffff;

    --ia-soft:
        #f6f7f9;

    --ia-soft-2:
        #f0f2f5;

    --ia-border:
        #e8eaee;

    --ia-border-strong:
        #dfe2e7;

    --ia-text:
        #0b0d10;

    --ia-muted:
        #747b86;

    --ia-muted-2:
        #9aa1aa;

    --ia-blue:
        #2375f5;

    --ia-blue-soft:
        #edf4ff;

    --ia-red:
        #d93025;

    --ia-radius:
        14px;

    --ia-shadow:
        0 8px 32px rgba(20, 27, 38, .06);
}


/* =========================================================
   BASE
   ========================================================= */

body.admin-body,
.admin-body {

    margin:
        0 !important;

    min-height:
        100vh;

    background:
        var(--ia-bg) !important;

    color:
        var(--ia-text) !important;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif !important;
}


.admin-body *,
.inverta-login-page * {

    box-sizing:
        border-box;

}


.admin-layout {

    min-height:
        100vh;

    display:
        grid !important;

    grid-template-columns:
        248px minmax(0, 1fr) !important;

    background:
        #ffffff !important;

}


/* =========================================================
   SIDEBAR
   ========================================================= */

.inverta-admin-sidebar,
.admin-sidebar {

    position:
        sticky;

    top:
        0;

    height:
        100vh;

    display:
        flex;

    flex-direction:
        column;

    width:
        248px !important;

    padding:
        0 !important;

    background:
        #ffffff !important;

    border-right:
        1px solid var(--ia-border) !important;

    color:
        #111111 !important;

    box-shadow:
        none !important;

    z-index:
        50;

}


.admin-sidebar-brand {

    height:
        88px;

    display:
        flex;

    align-items:
        center;

    padding:
        0 24px;

    border-bottom:
        1px solid var(--ia-border);

}


.admin-brand-link {

    display:
        flex;

    flex-direction:
        column;

    gap:
        4px;

    color:
        #000000 !important;

    text-decoration:
        none !important;

}


.admin-brand-link strong {

    font-size:
        20px;

    line-height:
        1;

    font-weight:
        900;

    letter-spacing:
        4px;

    color:
        #000000;

}


.admin-brand-link span {

    font-size:
        9px;

    font-weight:
        500;

    color:
        #8b929d;

    letter-spacing:
        .2px;

}


.admin-sidebar-scroll {

    flex:
        1;

    overflow-y:
        auto;

    padding:
        22px 14px;

}


.admin-nav-section {

    margin-bottom:
        26px;

}


.admin-nav-caption {

    padding:
        0 10px;

    margin-bottom:
        7px;

    color:
        #a1a7af;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        1.6px;

}


.admin-nav-link {

    width:
        100%;

    min-height:
        42px;

    display:
        flex;

    align-items:
        center;

    gap:
        11px;

    padding:
        0 11px;

    margin:
        2px 0;

    border-radius:
        10px;

    color:
        #17191d !important;

    background:
        transparent !important;

    text-decoration:
        none !important;

    font-size:
        12px;

    font-weight:
        600;

    transition:
        background .16s ease,
        color .16s ease,
        transform .16s ease;

}


.admin-nav-link:hover {

    background:
        #f5f6f8 !important;

    color:
        #000000 !important;

}


.admin-nav-link.active {

    background:
        #f0f4fb !important;

    color:
        #101820 !important;

    font-weight:
        750;

}


.admin-nav-link svg {

    width:
        17px;

    height:
        17px;

    flex:
        0 0 17px;

    fill:
        currentColor;

    opacity:
        .82;

}


.admin-nav-link.active svg {

    color:
        var(--ia-blue);

    opacity:
        1;

}


.admin-nav-badge {

    margin-left:
        auto;

    padding:
        3px 6px;

    border-radius:
        6px;

    background:
        #f0f2f5;

    color:
        #7d858f;

    font-size:
        8px;

    font-weight:
        700;

}


.admin-sidebar-footer {

    min-height:
        76px;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        14px;

    border-top:
        1px solid var(--ia-border);

    background:
        #ffffff;

}


.admin-user {

    min-width:
        0;

    flex:
        1;

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


.admin-user-avatar {

    width:
        34px;

    height:
        34px;

    flex:
        0 0 34px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        10px;

    background:
        #111722;

    color:
        #ffffff;

    font-size:
        11px;

    font-weight:
        800;

}


.admin-user-info {

    min-width:
        0;

    display:
        flex;

    flex-direction:
        column;

    gap:
        2px;

}


.admin-user-info strong {

    color:
        #111111;

    font-size:
        11px;

    font-weight:
        750;

}


.admin-user-info span {

    color:
        #999fa7;

    font-size:
        9px;

}


.admin-sidebar-footer form {

    margin:
        0;

}


.admin-logout-button {

    width:
        34px;

    height:
        34px;

    display:
        grid;

    place-items:
        center;

    border:
        1px solid var(--ia-border);

    border-radius:
        9px;

    background:
        #ffffff;

    color:
        #565d66;

    cursor:
        pointer;

}


.admin-logout-button:hover {

    color:
        #000000;

    background:
        #f6f7f8;

}


.admin-logout-button svg {

    width:
        16px;

    height:
        16px;

    fill:
        currentColor;

}


/* =========================================================
   MAIN
   ========================================================= */

.admin-main {

    min-width:
        0;

    width:
        auto !important;

    max-width:
        none !important;

    margin:
        0 !important;

    padding:
        38px 44px 80px !important;

    background:
        #ffffff !important;

    color:
        #111111 !important;

}


.admin-header {

    min-height:
        72px;

    display:
        flex !important;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        24px;

    margin:
        0 0 30px !important;

    padding:
        0 0 25px !important;

    border-bottom:
        1px solid var(--ia-border);

    background:
        transparent !important;

}


.admin-header h1 {

    margin:
        4px 0 0 !important;

    color:
        #07090c !important;

    font-size:
        clamp(25px, 2vw, 34px) !important;

    line-height:
        1.1 !important;

    letter-spacing:
        -.7px !important;

    font-weight:
        800 !important;

}


.admin-kicker {

    display:
        block;

    margin-bottom:
        6px;

    color:
        #888f98 !important;

    font-size:
        9px !important;

    font-weight:
        800 !important;

    letter-spacing:
        1.8px !important;

}


.admin-header-description {

    max-width:
        720px;

    margin:
        9px 0 0;

    color:
        #747b84;

    font-size:
        12px;

    line-height:
        1.6;

}


/* =========================================================
   CARDS / SECTIONS
   ========================================================= */

.project-form-section,
.admin-card,
.settings-card,
.integration-card,
.prompt-card,
.brand-card {

    margin-bottom:
        20px !important;

    padding:
        24px !important;

    border:
        1px solid var(--ia-border) !important;

    border-radius:
        var(--ia-radius) !important;

    background:
        #ffffff !important;

    color:
        #111111 !important;

    box-shadow:
        none !important;

}


.project-form-section:hover,
.admin-card:hover {

    border-color:
        #dfe3e8 !important;

}


.form-section-header {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        14px;

    margin-bottom:
        22px !important;

}


.form-section-number {

    width:
        34px;

    height:
        34px;

    display:
        grid;

    place-items:
        center;

    flex:
        0 0 34px;

    border:
        1px solid var(--ia-border);

    border-radius:
        9px;

    background:
        #f8f9fa !important;

    color:
        #15181c !important;

    font-size:
        9px !important;

    font-weight:
        800 !important;

}


.form-section-header h2 {

    margin:
        0 !important;

    color:
        #111111 !important;

    font-size:
        16px !important;

    font-weight:
        750 !important;

}


.form-section-header p {

    margin:
        5px 0 0 !important;

    color:
        #838a93 !important;

    font-size:
        11px !important;

    line-height:
        1.55 !important;

}


/* =========================================================
   FORMS
   ========================================================= */

.form-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        18px;

}


.form-group {

    min-width:
        0;

}


.form-group.full-width {

    grid-column:
        1 / -1;

}


.form-group label,
.admin-main label {

    display:
        block;

    margin-bottom:
        7px;

    color:
        #282c32 !important;

    font-size:
        10px !important;

    font-weight:
        700 !important;

}


.form-control,
.admin-main input[type="text"],
.admin-main input[type="number"],
.admin-main input[type="url"],
.admin-main input[type="email"],
.admin-main input[type="password"],
.admin-main select,
.admin-main textarea {

    width:
        100%;

    min-height:
        42px;

    padding:
        10px 12px;

    border:
        1px solid #dfe3e8 !important;

    border-radius:
        9px !important;

    outline:
        none;

    background:
        #ffffff !important;

    color:
        #111111 !important;

    font-size:
        12px !important;

    box-shadow:
        none !important;

    transition:
        border-color .16s ease,
        box-shadow .16s ease;

}


.admin-main textarea {

    min-height:
        110px;

    resize:
        vertical;

    line-height:
        1.55;

}


.form-control:focus,
.admin-main input:focus,
.admin-main textarea:focus,
.admin-main select:focus {

    border-color:
        #8db6f7 !important;

    box-shadow:
        0 0 0 3px rgba(35,117,245,.08) !important;

}


.form-help,
.admin-main small {

    color:
        #9198a1 !important;

    font-size:
        9px;

    line-height:
        1.5;

}


.checkbox-label {

    display:
        inline-flex !important;

    align-items:
        center;

    gap:
        8px;

    margin:
        0 !important;

    cursor:
        pointer;

}


/* =========================================================
   BUTTONS
   ========================================================= */

.primary-button,
.secondary-button,
.danger-button,
.admin-main button,
.admin-main .btn {

    min-height:
        40px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    padding:
        0 15px;

    border-radius:
        9px !important;

    font-size:
        10px !important;

    font-weight:
        750 !important;

    text-decoration:
        none !important;

    cursor:
        pointer;

    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease;

}


.primary-button {

    border:
        1px solid #111722 !important;

    background:
        #111722 !important;

    color:
        #ffffff !important;

}


.primary-button:hover {

    background:
        #000000 !important;

}


.secondary-button {

    border:
        1px solid var(--ia-border-strong) !important;

    background:
        #ffffff !important;

    color:
        #14171b !important;

}


.secondary-button:hover {

    background:
        #f7f8f9 !important;

}


.danger-button {

    border:
        1px solid #f0d0cd !important;

    background:
        #fff8f7 !important;

    color:
        #b3261e !important;

}


/* =========================================================
   TABLES
   ========================================================= */

.admin-main table {

    width:
        100%;

    border-collapse:
        separate;

    border-spacing:
        0;

    overflow:
        hidden;

    border:
        1px solid var(--ia-border);

    border-radius:
        12px;

    background:
        #ffffff;

}


.admin-main th {

    padding:
        12px 14px !important;

    border-bottom:
        1px solid var(--ia-border) !important;

    background:
        #f8f9fa !important;

    color:
        #737a84 !important;

    text-align:
        left;

    font-size:
        9px !important;

    font-weight:
        800 !important;

    letter-spacing:
        .6px;

}


.admin-main td {

    padding:
        13px 14px !important;

    border-bottom:
        1px solid #f0f1f3 !important;

    color:
        #202328 !important;

    font-size:
        11px !important;

}


.admin-main tr:last-child td {

    border-bottom:
        0 !important;

}


/* =========================================================
   FEEDBACK
   ========================================================= */

.success-box {

    margin-bottom:
        20px !important;

    padding:
        12px 14px !important;

    border:
        1px solid #d6eadc !important;

    border-radius:
        9px !important;

    background:
        #f5fbf7 !important;

    color:
        #24683b !important;

    font-size:
        11px !important;

}


/* =========================================================
   STICKY ACTIONS
   ========================================================= */

.sticky-form-actions {

    position:
        sticky;

    bottom:
        18px;

    z-index:
        20;

    display:
        flex;

    justify-content:
        flex-end;

    gap:
        10px;

    margin-top:
        25px;

    padding:
        12px;

    border:
        1px solid var(--ia-border);

    border-radius:
        12px;

    background:
        rgba(255,255,255,.94);

    backdrop-filter:
        blur(12px);

    box-shadow:
        var(--ia-shadow);

}


/* =========================================================
   LOGIN
   ========================================================= */

.inverta-login-page {

    margin:
        0;

    min-height:
        100vh;

    background:
        #ffffff;

    color:
        #111111;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

}


.inverta-login-shell {

    min-height:
        100vh;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, .95fr);

}


.inverta-login-brand {

    min-height:
        100vh;

    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    padding:
        42px 58px;

    background:
        #ffffff;

    border-right:
        1px solid var(--ia-border);

}


.inverta-login-logo {

    font-size:
        25px;

    font-weight:
        900;

    letter-spacing:
        6px;

}


.inverta-login-logo-sub {

    margin-top:
        5px;

    color:
        #969da7;

    font-size:
        9px;

}


.inverta-login-copy {

    max-width:
        600px;

    margin:
        auto 0;

}


.inverta-login-copy > span {

    color:
        #8f969f;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        1.8px;

}


.inverta-login-copy h1 {

    max-width:
        570px;

    margin:
        14px 0 18px;

    color:
        #06080a;

    font-size:
        clamp(34px, 4.2vw, 60px);

    line-height:
        1.03;

    letter-spacing:
        -2.5px;

    font-weight:
        820;

}


.inverta-login-copy p {

    max-width:
        480px;

    margin:
        0;

    color:
        #767e88;

    font-size:
        13px;

    line-height:
        1.75;

}


.inverta-login-panel {

    min-height:
        100vh;

    display:
        grid;

    place-items:
        center;

    padding:
        40px;

    background:
        #f8f9fa;

}


.inverta-login-card {

    width:
        min(420px, 100%);

    padding:
        34px;

    border:
        1px solid var(--ia-border);

    border-radius:
        18px;

    background:
        #ffffff;

    box-shadow:
        0 20px 60px rgba(17,24,39,.07);

}


.inverta-login-card-head {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    margin-bottom:
        30px;

}


.inverta-login-icon {

    width:
        44px;

    height:
        44px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        12px;

    background:
        #111722;

    color:
        #ffffff;

}


.inverta-login-icon svg {

    width:
        21px;

    height:
        21px;

    fill:
        currentColor;

}


.inverta-login-card-head span {

    display:
        block;

    margin-bottom:
        4px;

    color:
        #9ca2aa;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        1.4px;

}


.inverta-login-card-head h2 {

    margin:
        0;

    color:
        #090b0e;

    font-size:
        23px;

    letter-spacing:
        -.5px;

}


.inverta-login-error {

    margin-bottom:
        18px;

    padding:
        11px 12px;

    border:
        1px solid #f0d2cf;

    border-radius:
        9px;

    background:
        #fff8f7;

    color:
        #a62a23;

    font-size:
        11px;

}


.inverta-login-form {

    display:
        grid;

    gap:
        18px;

}


.inverta-login-field label {

    display:
        block;

    margin-bottom:
        7px;

    color:
        #292d32;

    font-size:
        10px;

    font-weight:
        700;

}


.inverta-login-field input {

    width:
        100%;

    height:
        46px;

    padding:
        0 13px;

    border:
        1px solid #dfe3e8;

    border-radius:
        10px;

    outline:
        none;

    background:
        #ffffff;

    color:
        #101215;

    font-size:
        13px;

}


.inverta-login-field input:focus {

    border-color:
        #8db6f7;

    box-shadow:
        0 0 0 3px rgba(35,117,245,.08);

}


.inverta-password-field {

    position:
        relative;

}


.inverta-password-field input {

    padding-right:
        48px;

}


.inverta-password-toggle {

    position:
        absolute;

    top:
        50%;

    right:
        7px;

    transform:
        translateY(-50%);

    width:
        34px;

    height:
        34px;

    display:
        grid;

    place-items:
        center;

    border:
        0;

    border-radius:
        8px;

    background:
        transparent;

    color:
        #858c95;

    cursor:
        pointer;

}


.inverta-password-toggle:hover {

    background:
        #f5f6f7;

    color:
        #111111;

}


.inverta-password-toggle svg {

    width:
        17px;

    height:
        17px;

    fill:
        currentColor;

}


.inverta-login-submit {

    height:
        46px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding:
        0 15px;

    border:
        0;

    border-radius:
        10px;

    background:
        #111722;

    color:
        #ffffff;

    font-size:
        11px;

    font-weight:
        750;

    cursor:
        pointer;

}


.inverta-login-submit:hover {

    background:
        #000000;

}


.inverta-login-submit svg {

    width:
        17px;

    height:
        17px;

    fill:
        currentColor;

}


.inverta-login-footer {

    margin-top:
        26px;

    padding-top:
        18px;

    border-top:
        1px solid var(--ia-border);

    color:
        #a0a6ae;

    text-align:
        center;

    font-size:
        9px;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .admin-layout {

        grid-template-columns:
            210px minmax(0, 1fr) !important;

    }


    .inverta-admin-sidebar,
    .admin-sidebar {

        width:
            210px !important;

    }


    .admin-main {

        padding:
            30px 28px 70px !important;

    }


    .inverta-login-shell {

        grid-template-columns:
            1fr;

    }


    .inverta-login-brand {

        display:
            none;

    }


    .inverta-login-panel {

        min-height:
            100vh;

    }

}


@media (max-width: 760px) {

    .admin-layout {

        display:
            block !important;

    }


    .inverta-admin-sidebar,
    .admin-sidebar {

        position:
            relative;

        width:
            100% !important;

        height:
            auto;

    }


    .admin-sidebar-scroll {

        max-height:
            none;

    }


    .admin-main {

        padding:
            24px 18px 60px !important;

    }


    .form-grid {

        grid-template-columns:
            1fr;

    }


    .form-group.full-width {

        grid-column:
            auto;

    }

}


/* =========================================================
   ADMIN SELECT CONTROLS
   ========================================================= */

.admin-main select.form-control,
.admin-main select {

    appearance: none;
    -webkit-appearance: none;

    min-height: 44px;

    padding:
        0 42px 0 13px !important;

    border:
        1px solid #dfe3e8 !important;

    border-radius:
        10px !important;

    background-color:
        #ffffff !important;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");

    background-repeat:
        no-repeat;

    background-position:
        right 13px center;

    background-size:
        16px;

    color:
        #111111 !important;

    font-size:
        12px !important;

    font-weight:
        600;

    cursor:
        pointer;

}

.admin-main select.form-control:hover,
.admin-main select:hover {

    border-color:
        #cbd1d8 !important;

}

.admin-main select.form-control:focus,
.admin-main select:focus {

    border-color:
        #8db6f7 !important;

    box-shadow:
        0 0 0 3px rgba(35,117,245,.08) !important;

    outline:
        none;

}


/* =========================================================
   ADMIN SELECT CONTROLS
   ========================================================= */

.admin-main select.form-control,
.admin-main select {

    appearance: none;
    -webkit-appearance: none;

    min-height: 44px;

    padding:
        0 42px 0 13px !important;

    border:
        1px solid #dfe3e8 !important;

    border-radius:
        10px !important;

    background-color:
        #ffffff !important;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");

    background-repeat:
        no-repeat;

    background-position:
        right 13px center;

    background-size:
        16px;

    color:
        #111111 !important;

    font-size:
        12px !important;

    font-weight:
        600;

    cursor:
        pointer;

}

.admin-main select.form-control:hover,
.admin-main select:hover {

    border-color:
        #cbd1d8 !important;

}

.admin-main select.form-control:focus,
.admin-main select:focus {

    border-color:
        #8db6f7 !important;

    box-shadow:
        0 0 0 3px rgba(35,117,245,.08) !important;

    outline:
        none;

}


/* =========================================================
   OPENAI SETTINGS SELECTS
   ========================================================= */

.admin-main select.form-control {

    width:
        100% !important;

    height:
        44px !important;

    min-height:
        44px !important;

    padding:
        0 42px 0 13px !important;

    border:
        1px solid #d8dde5 !important;

    border-radius:
        10px !important;

    background-color:
        #ffffff !important;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;

    background-repeat:
        no-repeat !important;

    background-position:
        right 13px center !important;

    background-size:
        16px 16px !important;

    appearance:
        none !important;

    -webkit-appearance:
        none !important;

    color:
        #111111 !important;

    font-size:
        12px !important;

    font-weight:
        600 !important;

    cursor:
        pointer !important;

}


.admin-main select.form-control:hover {

    border-color:
        #bcc4cf !important;

}


.admin-main select.form-control:focus {

    outline:
        none !important;

    border-color:
        #6da3f5 !important;

    box-shadow:
        0 0 0 3px rgba(35,117,245,.09) !important;

}


/* =========================================================
   KIOSK SETTINGS ADMIN
   ========================================================= */

.kiosk-logo-admin-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.kiosk-logo-preview {
    min-height: 180px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background:
        linear-gradient(135deg, #f8fafc, #eef2f7);
}

.kiosk-logo-preview img {
    display: block;
    max-width: 82%;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.kiosk-logo-preview-orb {
    background:
        radial-gradient(circle, #3b82f6 0%, #2563eb 47%, #eaf2ff 48%, #f8fafc 72%);
}

.kiosk-logo-preview-orb img {
    max-width: 86px;
    max-height: 86px;
}

.kiosk-powered-preview {
    min-height: 120px;
    background: #ffffff;
}

.kiosk-logo-empty {
    color: #9299a3;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 900px) {

    .kiosk-logo-admin-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   KIOSK COLOR SETTINGS
   ========================================================= */

.kiosk-color-setting {
    display: grid;
    grid-template-columns: 230px minmax(0,1fr);
    gap: 30px;
    align-items: center;
}

.kiosk-color-preview {
    min-height: 190px;
    display: grid;
    place-items: center;
    border: 1px solid #e7e9ed;
    border-radius: 20px;
    background:
        radial-gradient(circle at center,
            color-mix(in srgb, var(--preview-color) 7%, white),
            #ffffff 68%);
}

.kiosk-color-preview-ring {
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        color-mix(in srgb, var(--preview-color) 9%, white);
    box-shadow:
        0 20px 50px
        color-mix(in srgb, var(--preview-color) 18%, transparent);
}

.kiosk-color-preview-core {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background:
        var(--preview-color);
    box-shadow:
        0 16px 34px
        color-mix(in srgb, var(--preview-color) 34%, transparent);
}

.kiosk-color-controls {
    max-width: 600px;
}

.kiosk-color-picker-row {
    display: grid;
    grid-template-columns: 64px minmax(0,220px);
    gap: 10px;
    align-items: center;
}

.kiosk-color-picker-row input[type="color"] {
    width: 64px;
    height: 44px;
    padding: 4px;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
}

.kiosk-color-presets {
    display: flex;
    gap: 9px;
    margin: 14px 0 9px;
}

.kiosk-color-swatch {
    width: 32px !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: 3px solid #ffffff !important;
    outline: 1px solid #dfe3e8;
    border-radius: 50% !important;
    background: var(--swatch) !important;
}

@media (max-width:900px) {

    .kiosk-color-setting {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   KIOSK SETTINGS V4
   ========================================================= */

.kiosk-header-logo-list,
.kiosk-header-logo-manage {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.kiosk-header-logo-admin,
.kiosk-header-logo-manage-item {
    min-width: 150px;
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px;

    border: 1px solid #e7e9ed;
    border-radius: 13px;

    background: #ffffff;
}

.kiosk-header-logo-admin img,
.kiosk-header-logo-manage-item img {
    max-width: 130px;
    max-height: 48px;

    width: auto;
    height: auto;

    object-fit: contain;
}

.kiosk-header-logo-manage-item {
    flex-direction: column;
}

.kiosk-logo-setting-row {
    display: grid;
    grid-template-columns: 180px minmax(0,1fr);
    gap: 25px;
    align-items: center;
}

.kiosk-ai-logo-preview,
.kiosk-powered-logo-preview {
    min-height: 120px;

    display: grid;
    place-items: center;

    border: 1px solid #e7e9ed;
    border-radius: 16px;

    background: #f7f8fa;
}

.kiosk-ai-logo-preview img,
.kiosk-powered-logo-preview img {
    max-width: 130px;
    max-height: 70px;

    object-fit: contain;
}

.kiosk-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kiosk-color-row input[type="color"] {
    width: 60px;
    height: 44px;

    padding: 4px;

    border: 1px solid #dfe3e8;
    border-radius: 10px;

    background: white;

    cursor: pointer;
}

.kiosk-color-row .form-control {
    max-width: 180px;
}


/* =====================================================================
   INVERTA ADMIN SIMPLE FINAL
   ===================================================================== */

.simple-admin-main {
    max-width: 1380px !important;
}

.simple-admin-card {
    margin-bottom: 18px;
    padding: 26px;

    border: 1px solid #e8ebef;
    border-radius: 16px;

    background: #ffffff;

    box-shadow: none;
}

.simple-card-title {
    margin-bottom: 22px;
}

.simple-card-title h2 {
    margin: 0;

    color: #111318;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: -.3px;
}

.simple-card-title p {
    max-width: 750px;

    margin: 6px 0 0;

    color: #818994;

    font-size: 11px;
    line-height: 1.55;
}


.simple-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 17px 20px;
}

.simple-form-grid.four {
    grid-template-columns:
        repeat(4,minmax(0,1fr));
}

.simple-form-grid .full-width {
    grid-column: 1 / -1;
}


.simple-textarea {
    min-height: 105px !important;
}

.simple-textarea.large {
    min-height: 170px !important;
}

.simple-textarea.small {
    min-height: 75px !important;
}

.prompt-simple {
    min-height: 150px !important;
}


.simple-details {
    margin-top: 22px;

    border-top: 1px solid #eef0f2;
}

.simple-details summary {
    padding: 18px 0 0;

    color: #59616c;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.details-grid {
    margin-top: 18px;
}


.simple-toggle {
    display: inline-flex !important;

    align-items: center;

    gap: 10px;

    margin: 0 !important;

    color: #252a31 !important;

    font-size: 11px !important;

    cursor: pointer;
}

.simple-toggle input {
    width: 17px;
    height: 17px;
}


.simple-upload-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 14px;
}

.simple-upload-box {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 13px;

    min-height: 145px;

    padding: 18px;

    border: 1px solid #e5e8ec;
    border-radius: 13px;

    background: #fafbfc;
}

.simple-upload-box strong {
    color: #171a1f;

    font-size: 11px;
    font-weight: 750;
}

.simple-upload-box input[type="file"] {
    width: 100%;

    color: #646d78;

    font-size: 10px;
}

.simple-media-preview {
    width: 100%;

    max-height: 180px;

    object-fit: contain;

    border-radius: 9px;

    background: #f1f3f5;
}

.simple-file-link {
    color: #2563eb;

    font-size: 10px;

    font-weight: 700;

    text-decoration: none;
}


.nearby-map-layout {
    display: grid;

    grid-template-columns:
        minmax(260px,.7fr)
        minmax(380px,1.3fr);

    gap: 24px;

    align-items: start;
}


.simple-repeat-row {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        120px
        36px;

    gap: 8px;

    margin-bottom: 9px;

    align-items: center;
}

.repeat-small {
    text-align: center;
}


.simple-icon-delete {
    width: 36px !important;
    min-height: 36px !important;

    padding: 0 !important;

    display: grid !important;

    place-items: center;

    border: 1px solid #e8d6d4 !important;
    border-radius: 9px !important;

    background: #fffafa !important;

    color: #aa3028 !important;

    font-size: 18px !important;

    cursor: pointer;
}


.simple-add-button {
    min-height: 38px;

    margin-top: 8px;

    padding: 0 14px;

    border: 1px solid #dfe3e8;

    border-radius: 9px;

    background: #ffffff;

    color: #22262c;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}


.simple-existing-media {
    display: grid;

    grid-template-columns:
        repeat(auto-fill,minmax(130px,1fr));

    gap: 12px;

    margin-top: 20px;
}

.simple-existing-item {
    position: relative;

    overflow: hidden;

    border: 1px solid #e5e8ec;
    border-radius: 11px;

    background: #f8f9fa;
}

.simple-existing-item img {
    width: 100%;

    aspect-ratio: 1.2 / 1;

    object-fit: cover;
}

.simple-media-delete {
    position: absolute;

    top: 7px;
    right: 7px;

    min-height: 27px !important;

    padding: 0 9px !important;

    border: 0 !important;

    border-radius: 7px !important;

    background: rgba(15,23,42,.82) !important;

    color: white !important;

    font-size: 9px !important;

    cursor: pointer;
}


.simple-unit-card {
    margin-bottom: 13px;

    padding: 18px;

    border: 1px solid #e6e9ed;

    border-radius: 13px;

    background: #fafbfc;
}

.simple-unit-head {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 16px;
}

.simple-unit-head strong {
    font-size: 11px;
}

.simple-unit-head button {
    min-height: 30px !important;

    padding: 0 9px !important;

    border: 0 !important;

    background: transparent !important;

    color: #a13d35 !important;

    font-size: 9px !important;
}


.simple-save-bar {
    position: sticky;

    bottom: 16px;

    z-index: 30;

    display: flex;

    justify-content: flex-end;

    gap: 9px;

    margin-top: 20px;

    padding: 11px;

    border: 1px solid #e7e9ed;

    border-radius: 13px;

    background: rgba(255,255,255,.94);

    backdrop-filter: blur(14px);

    box-shadow:
        0 13px 35px rgba(15,23,42,.07);
}


.simple-connection-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;
}

.connection-state {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 0 11px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 750;
}

.connection-state.ok {
    background: #edf8f0;
    color: #28653b;
}

.connection-state.bad {
    background: #fff0ef;
    color: #a43a32;
}


.simple-connect-row {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    gap: 10px;
}


.bitrix-connected-state {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 18px;

    padding-top: 18px;

    border-top: 1px solid #edf0f2;

    color: #7b838e;

    font-size: 10px;
}


.bitrix-enable-toggle {
    margin-bottom: 22px !important;
}


.simple-mapping-list {
    display: grid;

    gap: 9px;
}

.simple-mapping-row {
    display: grid;

    grid-template-columns:
        minmax(190px,.8fr)
        28px
        minmax(300px,1.3fr)
        minmax(160px,.6fr)
        36px;

    gap: 8px;

    align-items: center;
}

.mapping-arrow {
    color: #a1a8b1;

    text-align: center;

    font-size: 16px;
}


@media (max-width: 1150px) {

    .simple-form-grid.four {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

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

    .simple-mapping-row {
        grid-template-columns:
            1fr;
    }

    .mapping-arrow {
        display: none;
    }

}


@media (max-width: 800px) {

    .simple-form-grid,
    .simple-form-grid.four,
    .simple-upload-grid,
    .nearby-map-layout {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   BITRIX PROJECT MAPPING
   ========================================================= */

.project-mapping-section {
    margin-top: 24px;
}


.project-field-selector {
    max-width: 720px;

    margin-bottom: 25px;

    padding: 18px;

    border: 1px solid #e8ebef;

    border-radius: 12px;

    background: #fafbfc;
}


.project-map-table {
    overflow: hidden;

    border: 1px solid #e6e9ed;

    border-radius: 13px;

    background: #ffffff;
}


.project-map-head {
    display: grid;

    grid-template-columns:
        minmax(220px,.8fr)
        minmax(300px,1.2fr);

    gap: 20px;

    padding:
        12px 18px;

    border-bottom:
        1px solid #e8ebef;

    background:
        #f8f9fa;

    color:
        #89919c;

    font-size:
        9px;

    font-weight:
        750;

    text-transform:
        uppercase;

    letter-spacing:
        .7px;
}


.project-map-row {
    display: grid;

    grid-template-columns:
        minmax(220px,.8fr)
        minmax(300px,1.2fr);

    gap: 20px;

    align-items: center;

    min-height: 72px;

    padding:
        13px 18px;

    border-bottom:
        1px solid #eef0f2;
}


.project-map-row:last-child {
    border-bottom:
        0;
}


.project-map-name {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.project-map-name strong {
    color:
        #171a1f;

    font-size:
        11px;

    font-weight:
        750;
}


.project-map-name small {
    color:
        #9199a4;

    font-size:
        9px;
}


.project-map-help {
    margin-top:
        15px;

    padding:
        13px 15px;

    border-radius:
        10px;

    background:
        #f8f9fb;

    color:
        #727b86;

    font-size:
        10px;
}


.empty-project-mappings {
    padding:
        24px;

    border:
        1px dashed #dfe3e8;

    border-radius:
        12px;

    color:
        #838c97;

    font-size:
        11px;

    text-align:
        center;
}


@media (max-width: 850px) {

    .project-map-head {
        display:
            none;
    }


    .project-map-row {
        grid-template-columns:
            1fr;

        gap:
            10px;
    }

}


/* =========================================================
   PRESENTATION FLOW ADMIN
   ========================================================= */

.simple-video-preview {
    width: 100%;

    max-height: 210px;

    display: block;

    border-radius: 10px;

    background: #111827;
}


/* =========================================================
   FINAL DYNAMIC BITRIX SOURCE
   ========================================================= */

.source-map-grid {
    display: grid;
    grid-template-columns:
        minmax(300px,1fr)
        40px
        minmax(300px,1fr);

    gap: 16px;
    align-items: end;

    max-width: 1000px;
}

.source-arrow {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 42px;

    color: #9ca3af;
    font-size: 17px;
}

@media (max-width: 900px) {

    .source-map-grid {
        grid-template-columns: 1fr;
    }

    .source-arrow {
        transform: rotate(90deg);
        min-height: 22px;
    }
}


/* =========================================================
   FINAL GUIDED PRESENTATION
   ========================================================= */

.guided-presentation-video {
    width: 100% !important;
    height: calc(100vh - 190px) !important;
    min-height: 600px;

    display: block;

    object-fit: contain;

    background: #030406;

    border-radius: 22px;
}

.presentation-main:has(.guided-presentation-video) {
    background: #030406 !important;
}

.presentation-pdf:not([hidden]) {
    width: 100% !important;
    height: calc(100vh - 195px) !important;
    min-height: 650px;

    display: block;

    border: 0;

    background: #fff;
}

.presentation-main-image:not([hidden]) {
    width: 100% !important;
    height: calc(100vh - 220px) !important;
    min-height: 580px;

    object-fit: contain !important;
}

.source-map-grid {
    display: grid;

    grid-template-columns:
        minmax(280px,1fr)
        40px
        minmax(280px,1fr);

    gap: 16px;

    align-items: end;

    max-width: 1000px;
}

.source-arrow {
    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;
}

