.tp-section-title,
.tp-sidebar-heading,
.tp-treatment__name,
.tp-concern__title {
    font-size: 1.15rem;
    margin: 0 0 10px;
    font-weight: 600;
}

.tp-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tp-step-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
    opacity: 0.5;
}
.tp-step-circle.is-active {
    opacity: 1;
}
.tp-planner {
    margin: 24px 0;
}

.tp-layout {
    display: flex;
    align-items: stretch;
}

.tp-layout__body {
    flex: 2;
}

.tp-layout__sidebar {
    flex: 1;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    padding: 16px;
    background: #fff;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.tp-body-image-wrapper {
    position: relative;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    background: #fafafa;
    overflow: hidden;
}

.tp-body-image-wrapper img,
.tp-body-image-wrapper svg {
    display: block;
    width: 100%;
    height: auto;
}

.tp-marker {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.tp-marker__dot {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid #111;
    background: #ffb347;
    display: inline-flex;
}

.tp-marker.is-active .tp-marker__dot {
    background: #111;
    border-color: #ffb347;
}

.tp-marker__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 42px;
    max-height: 42px;
}

.tp-marker__icon img {
    display: block;
    max-width: 42px;
    max-height: 42px;
    height: auto;
    width: auto;
}

.tp-marker__icon--hover {
    display: none;
}

.tp-marker--has-hover.is-active .tp-marker__icon:not(.tp-marker__icon--hover) {
    display: none;
}

.tp-marker--has-hover.is-active .tp-marker__icon--hover {
    display: inline-flex;
}

.tp-sidebar-heading {
    margin-top: 0;
    font-size: 1.125rem;
}

.tp-area-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tp-area-button {
    width: 100%;
    text-align: left;
    border: 1px solid #e2e4e7;
    background: #f6f7f9;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tp-area-button.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.tp-sidebar-result {
    margin-top: 16px;
}

.tp-area-details {
    display: none;
    border-top: 1px solid #eaecee;
    padding-top: 16px;
    margin-top: 16px;
}

.tp-area-details.is-active {
    display: block;
}

.tp-stepper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-stepper__progress {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.tp-stepper__progress-item {
    display: none;
    align-items: center;
    gap: 6px;
    color: #4a4f55;
    font-weight: 600;
    font-size: 0.95rem;
}

.tp-stepper__progress-item.is-active {
    display: inline-flex;
}

.tp-stepper__progress-item .tp-step-circle {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
}

.tp-stepper__progress-label {
    display: none;
}

.tp-stepper__progress-item.is-active .tp-stepper__progress-label {
    color: #111;
    display: inline;
}

.tp-stepper__header {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-left: 44px;
}

.tp-stepper__back {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s ease;
}
.tp-stepper__back[hidden] {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.tp-stepper__title {
    font-weight: 700;
    font-size: 1rem;
}

.tp-stepper__slides {
    display: block;
    width: 100%;
    overflow: hidden;
}

.tp-stepper__slide {
    padding-right: 6px;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tp-stepper__slide.is-active {
    display: block;
    opacity: 1;
}

.tp-concern__title--plain {
    margin: 0 0 8px;
    font-weight: 600;
}


.tp-concern-list ul,
.tp-concern-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.tp-concern-list li {
    margin-bottom: 6px;
}

.tp-concern-button {
    width: 100%;
    text-align: left;
    border: 1px solid #e2e4e7;
    background: #f6f7f9;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tp-concern-button.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.tp-concern-panels {
    border-top: 1px solid #eceef1;
    padding-top: 12px;
}

.tp-concern {
    display: none;
    padding: 10px 0;
}

.tp-concern.is-active {
    display: block;
}

.tp-concern__title {
    margin: 0 0 6px;
}

.tp-concern__description {
    margin-bottom: 10px;
    color: #4a4f55;
}

.tp-treatment {
    border-bottom: 1px solid #eceef1;
    padding: 16px 0;
}

.tp-treatment__header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.tp-treatment__toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.tp-treatment__toggle:before {
    content: '';
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: #111 transparent transparent transparent;
    transition: transform 0.2s ease;
}

.tp-treatment.is-collapsed .tp-treatment__toggle:before {
    transform: rotate(-90deg);
}

.tp-treatment__title {
    flex: 1;
}

.tp-treatment:last-child {
    border-bottom: none;
}

.tp-treatment__body[hidden] {
    display: none;
}

.tp-treatment.is-collapsed .tp-treatment__body {
    display: none;
}

.tp-treatment__name {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.tp-treatment__body {
    margin-top: 12px;
}

.tp-treatment__buttons {
    display: flex;
    flex-wrap: row;
    gap: 10px;
    margin-top: 12px;
}

.tp-treatment-button {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #111;
    color: #111;
    transition: background 0.2s ease, color 0.2s ease;
}

.tp-treatment-button:hover,
.tp-treatment-button:focus {
    background: #111;
    color: #fff;
}

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

    .tp-layout__sidebar {
        width: 100%;
    }
}
