.tutorial-guide__highlight {
    outline: 2px dashed #3b82f6;
    outline-offset: 4px;
    transition: outline-offset 0.2s ease;
}

.tg-topbar {
    position: fixed;
    top: 16px;
    right:80px;
    z-index: 9000;
}

.tg-top-icon {
    position: relative;
    border: none;
    border-radius: 999px;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}

.tg-top-icon__symbol {
 
    display: inline-flex;
    align-items: center;
    justify-content: center; 
}

.tg-top-icon__symbol svg {
     width: 35px;
    height: 100%;
}

.tg-top-icon__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.tg-panel {
    position: absolute;
    top: 44px;
    right: 0;
    width: min(820px, calc(100vw - 32px));
    max-height: calc(100vh - 120px);
    background: transparent;
    border-radius: 14px; 
    overflow: scroll;
    display: none;
}

.tg-panel.is-open {
    display: block;
}

.tg-panel--help {
    width: min(320px, calc(100vw - 32px));
}

.tg-panel--wide {
    width: min(820px, calc(100vw - 32px));
}

.tg-mega {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px; 
}

.tg-panel--help .tg-mega {
    grid-template-columns: 1fr;
}

.tg-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.tg-card.is-focus {
    box-shadow: 0 0 0 3px rgba(12, 159, 180, 0.2), 0 16px 30px rgba(15, 23, 42, 0.15);
}

.tg-card__head {
    background: #0c9fb4;
    color: #ffffff;
    padding: 0.85rem 1rem;
}

.tg-card__head h3 {
    margin: 0;
    font-size: 0.95rem!important;
    font-weight: 600;
}

.tg-card__body {
    padding: 0;
    overflow-y: auto;
}

.tg-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tg-card__item + .tg-card__item {
    border-top: 1px solid #e2e8f0;
}

.tg-row {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.75rem 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
    cursor: pointer;
    color: #0f172a;
    font-weight: 600;
    font-size: 12px;
}

.tg-row:hover {
    background: #f0f9fb;
}

.tg-row.is-active {
    background: #e0f2f1;
    color: #0f172a;
}

.tg-row.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tg-row__label {
    flex: 1;
}

.tg-card--help .tg-row__icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #0c9fb4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0c9fb4;
    flex-shrink: 0;
}

.tg-card--help .tg-row__icon::after {
    content: '✓';
    font-size: 0.6rem;
    line-height: 1;
}

.tg-card--help .tg-row__label {
    /* flex: 0; */
}

.tg-card--help .tg-row__spacer {
    /* flex: 1; */
}

.tg-row__badge {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tg-card--help .tg-row__badge {
    margin-left: 8px;
}

.tg-row__arrow {
    color: #94a3b8;
    font-weight: 700;
}

.tg-card--help .tg-row__arrow {
    margin-left: 8px;
}

.tg-panel__empty {
    margin: 0.9rem 1rem;
    color: #64748b;
}

.tg-todo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tg-todo-list__item + .tg-todo-list__item {
    border-top: 1px solid #e2e8f0;
}

.tg-todo-list__button {
    width: 100%;
    border: none;
    background: none;
    padding: 0.85rem 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tg-todo-list__button:hover {
    background: #f0f9fb;
}

.tg-todo-list__status {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #0c9fb4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0c9fb4;
    flex-shrink: 0;
}

.tg-todo-list__status::after {
    content: '✓';
    font-size: 0.65rem;
    line-height: 1;
}

.tg-todo-list__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.tg-todo-list__title {
    font-weight: 600;
    color: #0f172a;
    font-size: 12px;
}

.tg-todo-list__meta {
    font-size: 0.85rem;
    color: #0c9fb4;
    font-weight: 600;
    font-size: 12px;
}

.tg-todo-list__arrow {
    color: #94a3b8;
    font-weight: 700;
    flex-shrink: 0;
}

.tg-tours-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tg-tours-sidebar__head {
    background: #0c9fb4;
    padding: 1rem 1.25rem;
    border-radius: 10px 10px 0 0;
    color: #ffffff;
}

.tg-tours-sidebar__head h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.tg-tours-sidebar__body {
    padding: 0;
    overflow-y: auto;
}

.tg-tours-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tg-tours-sidebar__item + .tg-tours-sidebar__item {
    border-top: 1px solid #e2e8f0;
}

.tg-tours-sidebar__button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0.85rem 1rem;
    cursor: pointer;
    text-align: left;
}

.tg-tours-sidebar__button:hover {
    background: #f0f9fb;
}

.tg-tours-sidebar__name {
    font-weight: 600;
    color: #0f172a;
    font-size: 12px;
}

.tg-tours-sidebar__progress {
    font-size: 0.85rem;
    color: #0c9fb4;
    font-weight: 600;
    white-space: nowrap;
}

.tg-tours-sidebar__arrow {
    color: #94a3b8;
    font-weight: 700;
}

.tg-tours-sidebar__footer {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid #e2e8f0;
}

.tg-tours-sidebar__master {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    background: #0c9fb4;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(12, 159, 180, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tg-tours-sidebar__master:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(12, 159, 180, 0.26);
}

.tg-tours-sidebar__empty {
    margin: 0;
    color: #475569;
}

.tg-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9998;
    pointer-events: none;
}

.tg-overlay.is-visible {
    display: block;
}

.tg-overlay__backdrop {
    position: absolute;
    background: rgba(15, 23, 42, 0.45);
    pointer-events: auto;
}

.tg-overlay__backdrop--top,
.tg-overlay__backdrop--left,
.tg-overlay__backdrop--right,
.tg-overlay__backdrop--bottom {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.tg-callout {
    position: absolute;
    max-width: 360px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.2);
    padding: 1.25rem 1.5rem;
    border: 1px solid #e2e8f0;
    z-index: 9999;
    pointer-events: auto;
}

.tg-callout__head h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem!important;
    font-weight: 600;
}

.tg-callout__body {
    font-size: 0.9rem;
    color: #0f172a;
}

.tg-callout__notice {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #e11d48;
    font-weight: 600;
}

.tg-callout__footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.tg-callout__next,
.tg-callout__end {
    border: none;
    border-radius: 6px;
    font-size: 12px;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.tg-callout__next {
    background: #0c9fb4;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(12, 159, 180, 0.2);
}

.tg-callout__end {
    background: #e2e8f0;
    color: #0f172a;
}

.tg-callout__end.is-hidden {
    display: none;
}

[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .tg-topbar {
        right: 16px;
    }

    .tg-panel {
        width: calc(100vw - 32px);
        right: 0;
    }

    .tg-callout {
        max-width: calc(100vw - 48px);
    }
}

@media (max-width: 900px) {
    .tg-mega {
        grid-template-columns: 1fr;
    }
}
