/* Mapa vnútorného sveta — preview pilot (DEV) */
.srt-inner-map-section {
    background: linear-gradient(165deg, #f8fafc 0%, #ede9fe 35%, #e0f2fe 70%, #fdfbf7 100%);
    padding: 4.5rem 1rem;
    border-top: 1px solid #e2e8f0;
}

.srt-inner-map-hero-card {
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(91, 33, 182, 0.08);
    position: relative;
    overflow: hidden;
}

.srt-inner-map-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #9333ea 0%, #0284c7 50%, #059669 100%);
}

.srt-inner-map-preview-svg {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
}

.srt-inner-map-badge {
    background: #f3e8ff;
    color: #7e22ce;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.srt-inner-map-overlay {
    position: fixed;
    inset: 0;
    z-index: 200000;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.srt-inner-map-overlay.is-open {
    display: flex;
}

.srt-inner-map-panel {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 94vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: srtMapSlideUp 0.35s ease;
}

@keyframes srtMapSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.srt-inner-map-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.srt-inner-map-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.srt-inner-map-close {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.4rem;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}

.srt-inner-map-close:active {
    transform: scale(0.96);
    opacity: 0.85;
}

.srt-inner-map-progress {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.srt-inner-map-progress-seg {
    flex: 1;
    height: 6px;
    border-radius: 99px;
    background: #e2e8f0;
    transition: background 0.3s, transform 0.3s;
}

.srt-inner-map-progress-seg.is-active {
    transform: scaleY(1.15);
}

.srt-inner-map-progress-seg.heart.is-done,
.srt-inner-map-progress-seg.heart.is-active { background: #9333ea; }
.srt-inner-map-progress-seg.mind.is-done,
.srt-inner-map-progress-seg.mind.is-active { background: #0284c7; }
.srt-inner-map-progress-seg.body.is-done,
.srt-inner-map-progress-seg.body.is-active { background: #059669; }

.srt-inner-map-body {
    padding: 20px 18px 24px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.srt-inner-map-step-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.srt-inner-map-step-sub {
    color: #64748b;
    font-size: 0.92rem;
    margin: 0 0 18px;
    line-height: 1.5;
}

.srt-inner-map-pillar-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.srt-inner-map-pillar-tag.heart { background: #f3e8ff; color: #7e22ce; }
.srt-inner-map-pillar-tag.mind { background: #e0f2fe; color: #0369a1; }
.srt-inner-map-pillar-tag.body { background: #d1fae5; color: #047857; }
.srt-inner-map-pillar-tag.roots { background: #fef3c7; color: #b45309; }

.srt-inner-map-lineage-tag {
    display: inline-block;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    margin-left: 6px;
}

.srt-inner-map-progress-seg.roots.is-done,
.srt-inner-map-progress-seg.roots.is-active { background: #b45309; }

.srt-inner-map-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

@media (max-width: 720px) {
    .srt-inner-map-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .srt-inner-map-grid {
        grid-template-columns: 1fr;
    }
}

.srt-inner-map-question {
    margin-bottom: 22px;
}

.srt-inner-map-question-text {
    font-size: 0.98rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 12px;
    line-height: 1.45;
}

.srt-inner-map-scale-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srt-inner-map-scale-text-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    touch-action: manipulation;
}

.srt-inner-map-scale-text-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.srt-inner-map-scale-text-btn.is-selected {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.srt-inner-map-scale-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.srt-inner-map-scale-text-btn.is-selected .srt-inner-map-scale-num {
    background: #0284c7;
    color: #fff;
}

.srt-inner-map-scale-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}

.srt-inner-map-child-tag {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.srt-inner-map-origin-box {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.srt-inner-map-origin-box strong {
    display: block;
    color: #6b21a8;
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.srt-inner-map-origin-box p {
    margin: 0;
    font-size: 0.88rem;
    color: #5b21b6;
    line-height: 1.55;
}

.srt-inner-map-insight-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.srt-inner-map-insight-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.srt-inner-map-insight-card p {
    margin: 0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
}

.srt-inner-map-scale {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.srt-inner-map-scale-btn {
    flex: 1;
    min-width: 52px;
    min-height: 52px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.15s;
    touch-action: manipulation;
}

.srt-inner-map-scale-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.srt-inner-map-scale-btn.is-selected {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
    transform: scale(1.04);
}

.srt-inner-map-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 6px;
    gap: 8px;
}

.srt-inner-map-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.srt-inner-map-btn {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    touch-action: manipulation;
    transition: transform 0.15s, opacity 0.15s;
}

.srt-inner-map-btn:active {
    transform: scale(0.98);
    opacity: 0.88;
}

.srt-inner-map-btn-primary {
    flex: 1;
    background: #0284c7;
    color: #fff;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.srt-inner-map-btn-primary:disabled {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

.srt-inner-map-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.srt-inner-map-disclaimer {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 16px;
    line-height: 1.45;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #e2e8f0;
}

.srt-inner-map-result-map {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 16px;
    display: block;
}

.srt-inner-map-visual-wrap {
    margin-bottom: 16px;
}

.srt-inner-map-howto {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 0.84rem;
    color: #78350f;
    line-height: 1.5;
}

.srt-inner-map-howto strong {
    display: block;
    color: #92400e;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.srt-inner-map-howto ol {
    margin: 0 0 8px 1.1rem;
    padding: 0;
}

.srt-inner-map-howto-colors {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.srt-inner-map-howto-colors li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.srt-inner-map-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.srt-inner-map-dot.live { background: #f59e0b; }
.srt-inner-map-dot.balanced { background: #10b981; }
.srt-inner-map-dot.quiet { background: #818cf8; }

.srt-inner-map-howto-note {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: #a16207;
}


.srt-inner-map-column {
    border: 2px solid;
    border-radius: 14px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.srt-inner-map-column-head {
    font-weight: 800;
    font-size: 0.88rem;
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    margin-bottom: 2px;
}

.srt-inner-map-cell {
    border: 2px solid;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 44px;
}

.srt-inner-map-cell-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.srt-inner-map-cell-state {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.2;
}

.srt-inner-map-cell-pulse {
    animation: srtMapPulse 1.2s ease 2;
}

.srt-inner-map-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.5;
}

.srt-inner-map-summary p {
    margin: 6px 0 0;
}

@media (max-width: 520px) {
    .srt-inner-map-grid {
        grid-template-columns: 1fr;
    }
}

.srt-inner-map-landing-banner {
    background: #f0f9ff;
    border: 1px dashed #7dd3fc;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.84rem;
    color: #0369a1;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: center;
}

.srt-inner-map-cell--empty {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.srt-inner-map-cell--empty .srt-inner-map-cell-label {
    color: #475569 !important;
}

.srt-inner-map-cell--empty .srt-inner-map-cell-state {
    color: #94a3b8 !important;
    font-size: 0.65rem;
    font-weight: 600;
}

.srt-inner-map-landing-legend {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    line-height: 1.45;
}

.srt-inner-map-grid--placeholder {
    opacity: 0.95;
}

.srt-inner-map-result-headline {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.4;
}

.srt-inner-map-result-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 14px;
}

.srt-inner-map-tip {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #fcd34d;
}

.srt-inner-map-tip strong {
    color: #92400e;
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.srt-inner-map-tip p {
    margin: 0;
    color: #78350f;
    font-size: 0.88rem;
    line-height: 1.5;
}

.srt-inner-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.srt-inner-map-legend-item {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.srt-inner-map-legend-item.balanced { background: #d1fae5; color: #047857; }
.srt-inner-map-legend-item.live { background: #fef3c7; color: #b45309; }
.srt-inner-map-legend-item.quiet { background: #e0e7ff; color: #4338ca; }

.srt-inner-map-cta-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 12px;
}

.srt-inner-map-cta-box p {
    margin: 0 0 10px;
    font-size: 0.88rem;
    color: #0369a1;
    line-height: 1.5;
}

.srt-inner-map-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.srt-inner-map-share-row .srt-inner-map-btn {
    flex: 1;
    min-width: 140px;
}

.srt-inner-map-benefits {
    margin-top: 2rem;
    padding: 1.75rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.srt-inner-map-benefits-head {
    text-align: center;
    margin-bottom: 1.25rem;
}

.srt-inner-map-benefits-head h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.srt-inner-map-benefits-head p {
    margin: 0;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

.srt-inner-map-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 720px) {
    .srt-inner-map-benefits-grid {
        grid-template-columns: 1fr;
    }
}

.srt-inner-map-benefit-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.srt-inner-map-benefit-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.srt-inner-map-benefit-card strong {
    display: block;
    font-size: 0.92rem;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.35;
}

.srt-inner-map-benefit-card span {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

.srt-inner-map-seo {
    margin-top: 2.5rem;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.srt-inner-map-seo h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.srt-inner-map-seo h2:not(:first-child) {
    margin-top: 1.75rem;
}

.srt-inner-map-seo p,
.srt-inner-map-seo li {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
}

.srt-inner-map-seo ul {
    margin: 0 0 0.5rem;
    padding-left: 1.2rem;
}

.srt-inner-map-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.25rem;
}

.srt-inner-map-seo-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
}

.srt-inner-map-seo-links a:hover {
    background: #e0f2fe;
}

.srt-inner-map-page-footer {
    max-width: 1050px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
}

.srt-inner-map-page-footer a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
}

.srt-inner-map-zone-node {
    transition: fill 0.5s ease, stroke 0.5s ease, filter 0.5s ease;
}

.srt-inner-map-zone-node.pulse {
    animation: srtMapPulse 1.2s ease 2;
}

@keyframes srtMapPulse {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    50% { filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6)); }
}

@media (max-width: 480px) {
    .srt-inner-map-hero-card {
        padding: 1.75rem 1.25rem;
    }
    .srt-inner-map-scale-btn {
        min-width: 44px;
        min-height: 48px;
    }
}
