.tateco-help-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tateco-help-fab__launcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.35),
        0 0 0 0 rgba(250, 204, 21, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tateco-help-fab__launcher:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 14px 30px rgba(37, 99, 235, 0.4),
        0 0 0 4px rgba(250, 204, 21, 0.25);
}

.tateco-help-fab__launcher:focus-visible {
    outline: 2px solid #facc15;
    outline-offset: 3px;
}

.tateco-help-fab__launcher-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.tateco-help-fab__launcher-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 9999px;
    border: 2px solid rgba(250, 204, 21, 0.55);
    animation: tateco-help-fab-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

.tateco-help-fab__launcher.is-open .tateco-help-fab__launcher-pulse {
    display: none;
}

@keyframes tateco-help-fab-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.tateco-help-fab__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.75rem);
    width: min(20rem, calc(100vw - 2rem));
    transform-origin: bottom right;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.92) translateY(8px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.tateco-help-fab__panel.is-open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.tateco-help-fab__header {
    padding: 1rem 1.125rem 0.875rem;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #1d4ed8 100%);
    color: #fff;
}

.tateco-help-fab__header-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.tateco-help-fab__header-subtitle {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
}

.tateco-help-fab__body {
    padding: 0.875rem;
}

.tateco-help-fab__guide-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.875rem;
    border: 1px solid #bfdbfe;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tateco-help-fab__guide-btn:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.tateco-help-fab__guide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 0.95rem;
}

.tateco-help-fab__guide-copy {
    min-width: 0;
}

.tateco-help-fab__guide-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.2;
}

.tateco-help-fab__guide-desc {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1.3;
}

.tateco-help-fab__section-label {
    margin: 0.875rem 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.tateco-help-fab__links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tateco-help-fab__link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    color: #334155;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tateco-help-fab__link:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.tateco-help-fab__link-icon {
    width: 1.125rem;
    text-align: center;
    color: #64748b;
}

.tateco-help-fab__link:hover .tateco-help-fab__link-icon {
    color: #2563eb;
}

.tateco-help-fab__address {
    margin-top: 0.5rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.625rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #475569;
}

.tateco-help-fab__address i {
    color: #2563eb;
    margin-right: 0.375rem;
}

@media (prefers-reduced-motion: reduce) {
    .tateco-help-fab__launcher-pulse {
        animation: none;
    }

    .tateco-help-fab__panel,
    .tateco-help-fab__launcher,
    .tateco-help-fab__guide-btn,
    .tateco-help-fab__link {
        transition: none;
    }
}
