/* Genesis Motors - Design System DRIVO - 02/07/2026 sidebar layout @filipemontt */
/* 01/09/2026 19:20 - menu mobile: drawer z-index 80, backdrop 70 @filipemontt */
/* 02/07/2026 - tema primary: vermelho sutil @filipemontt */
:root {
    --gm-primary: #C46161;
    --gm-primary-dark: #A84F4F;
    --gm-primary-light: #FDEAEA;
    --gm-primary-muted: #F5D4D4;
    --gm-mint: #A8E6CF;
    --gm-blue: #B8D4F0;
    --gm-bg: #F5F6FA;
    --gm-card: #FFFFFF;
    --gm-text: #1E293B;
    --gm-muted: #64748B;
    --gm-radius: 1rem;
}

.gm-body { background: var(--gm-bg); color: var(--gm-text); font-family: 'Inter', system-ui, sans-serif; }
.gm-text-primary { color: var(--gm-primary); }
.text-gm-primary { color: var(--gm-primary); }
.text-gm-primary-dark { color: var(--gm-primary-dark); }
.bg-gm-primary { background-color: var(--gm-primary); }
.bg-gm-primary-light { background-color: var(--gm-primary-light); }
.bg-gm-primary-muted { background-color: var(--gm-primary-muted); }
.border-gm-primary-light { border-color: var(--gm-primary-light); }
.hover\:bg-gm-primary-light:hover { background-color: var(--gm-primary-light); }
.hover\:bg-gm-primary-muted:hover { background-color: var(--gm-primary-muted); }
.hover\:border-gm-primary:hover { border-color: var(--gm-primary); }
.hover\:text-gm-primary:hover { color: var(--gm-primary); }
.bg-gm-primary-light\/40 { background-color: color-mix(in srgb, var(--gm-primary-light) 40%, transparent); }
.bg-gm-primary-light\/50 { background-color: color-mix(in srgb, var(--gm-primary-light) 50%, transparent); }
.hover\:bg-gm-primary-light\/40:hover { background-color: color-mix(in srgb, var(--gm-primary-light) 40%, transparent); }
.gm-accent { accent-color: var(--gm-primary); }

/* Logo Genesis Motors — 02/07/2026 @filipemontt */
.gm-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.gm-logo--header { height: 2.25rem; max-width: 11rem; }
.gm-logo--login { height: 4rem; max-width: 18rem; margin-left: auto; margin-right: auto; }
.gm-logo--print { height: 3.25rem; max-width: 15rem; }
.gm-logo--print-sm { height: 2rem; max-width: 10rem; margin: 0 auto; }
.gm-logo--inline {
    display: inline-block;
    height: 1.125rem;
    max-width: 7rem;
    vertical-align: middle;
    margin: 0 .2rem;
}

/* Autocomplete endereço Mapbox — 02/07/2026 @filipemontt */
.gm-address-wrap { position: relative; }
.gm-address-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 60;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    max-height: 220px;
    overflow-y: auto;
}
.gm-address-suggest.hidden { display: none; }
.gm-address-suggest-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: .625rem .875rem;
    font-size: .8125rem;
    line-height: 1.35;
    color: #334155;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}
.gm-address-suggest-item:last-child { border-bottom: none; }
.gm-address-suggest-item:hover,
.gm-address-suggest-item:focus {
    background: #f8fafc;
    outline: none;
}

.gm-card {
    background: var(--gm-card);
    border-radius: var(--gm-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
}

.gm-card-purple { background: linear-gradient(135deg, #FFF8F8 0%, #FDEAEA 100%); }
.gm-card-mint { background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%); }
.gm-card-blue { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%); }

.gm-label { display: block; font-size: .8125rem; font-weight: 500; color: var(--gm-muted); margin-bottom: .375rem; }
.gm-input {
    width: 100%; padding: .625rem 1rem; border: 1px solid #E2E8F0; border-radius: .75rem;
    font-size: .875rem; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.gm-input:focus { outline: none; border-color: var(--gm-primary); box-shadow: 0 0 0 3px rgba(196, 97, 97, .15); }

.gm-btn-primary {
    background: var(--gm-primary); color: #fff; padding: .625rem 1.25rem; border-radius: .75rem;
    font-weight: 600; font-size: .875rem; transition: opacity .2s; border: none; cursor: pointer;
}
.gm-btn-primary:hover { opacity: .9; }
.gm-btn-secondary {
    background: #fff; color: var(--gm-text); padding: .625rem 1.25rem; border-radius: .75rem;
    font-weight: 500; font-size: .875rem; border: 1px solid #E2E8F0; cursor: pointer;
}
.gm-btn-danger { background: #FEE2E2; color: #DC2626; padding: .5rem 1rem; border-radius: .75rem; font-size: .8125rem; border: none; cursor: pointer; }
.gm-btn-success {
    background: #10B981; color: #fff; padding: .625rem 1.25rem; border-radius: .75rem;
    font-weight: 600; font-size: .875rem; transition: opacity .2s; border: none; cursor: pointer;
}
.gm-btn-success:hover { opacity: .9; }
.gm-btn-danger-solid {
    background: #DC2626; color: #fff; padding: .625rem 1.25rem; border-radius: .75rem;
    font-weight: 600; font-size: .875rem; transition: opacity .2s; border: none; cursor: pointer;
}
.gm-btn-danger-solid:hover { opacity: .9; }

.gm-pill { display: inline-flex; align-items: center; padding: .25rem .75rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; }
.gm-pill-up { background: #D1FAE5; color: #059669; }
.gm-pill-down { background: #FEE2E2; color: #DC2626; }
.gm-pill-neutral { background: #F1F5F9; color: #64748B; }

.gm-nav-pill { padding: .5rem .75rem; border-radius: .75rem; transition: background .2s; }
.gm-nav-pill.active { background: var(--gm-primary-light); color: var(--gm-primary); }

/* Layout app — sidebar + topbar 02/07/2026 @filipemontt */
.gm-app { background: var(--gm-bg); }
.gm-topbar {
    margin: .75rem .75rem 0;
    border-radius: var(--gm-radius);
    z-index: 30;
    position: relative;
}
.gm-layout {
    gap: 0;
    padding: .75rem;
    padding-top: .75rem;
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
}
.gm-main {
    max-width: 100%;
}

.gm-sidebar {
    width: 15.5rem;
    flex-shrink: 0;
    align-self: flex-start;
    position: sticky;
    top: .75rem;
    max-height: calc(100vh - 5.5rem);
    z-index: 20;
}
.gm-sidebar-inner {
    background: var(--gm-card);
    border-radius: var(--gm-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
    padding: 1rem .75rem;
    overflow-y: auto;
    max-height: calc(100vh - 5.5rem);
}
.gm-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: 0 0 .75rem;
}
.gm-sidebar-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gm-muted);
    padding: 0 .5rem;
    margin: 0;
}
.gm-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: transparent;
    border-radius: .75rem;
    color: var(--gm-muted);
    cursor: pointer;
}
.gm-sidebar-close:hover { background: #F8FAFC; color: var(--gm-text); }
.gm-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.gm-sidebar-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .85rem;
    border-radius: .75rem;
    font-size: .875rem;
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.gm-sidebar-link i { font-size: 1.2rem; width: 1.35rem; text-align: center; flex-shrink: 0; }
.gm-sidebar-link:hover { background: #F8FAFC; color: var(--gm-text); }
.gm-sidebar-link.active {
    background: var(--gm-primary-light);
    color: var(--gm-primary);
    font-weight: 600;
}
.gm-sidebar-backdrop {
    display: none;
}

@media (max-width: 767px) {
    .gm-layout { padding: .5rem; }
    .gm-topbar { margin: .5rem .5rem 0; }
    /* 01/09/2026 19:20 - drawer acima do backdrop; 100dvh evita painel no fundo @filipemontt */
    .gm-sidebar-toggle { touch-action: manipulation; }
    .gm-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 17rem;
        height: 100dvh;
        max-height: 100dvh;
        align-self: stretch;
        z-index: 80;
        transform: translate3d(-100%, 0, 0);
        transition: transform .25s ease;
        padding: 0;
    }
    .gm-sidebar.open { transform: translate3d(0, 0, 0); }
    .gm-sidebar-inner {
        height: 100%;
        max-height: none;
        border-radius: 0;
        padding-top: 1.25rem;
    }
    .gm-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,.4);
        z-index: 70;
        pointer-events: none;
    }
    .gm-sidebar-backdrop.is-armed { pointer-events: auto; }
    .gm-main { padding: .5rem !important; }
}

@media (min-width: 768px) {
    .gm-sidebar-toggle { display: none !important; }
}

.gm-offcanvas-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 40; }
.gm-offcanvas {
    position: fixed; top: 0; right: 0; height: 100%; width: 50%; min-width: 400px; max-width: 700px;
    background: #fff; z-index: 50; box-shadow: -4px 0 24px rgba(0,0,0,.1);
    transform: translateX(100%); transition: transform .3s ease;
}
.gm-offcanvas.open { transform: translateX(0); }
.gm-offcanvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    padding-bottom: 3.5rem;
    -webkit-overflow-scrolling: touch;
}
/* 02/09/2026 01:35 - abas sticky no offcanvas da OS @filipemontt */
.os-tabs-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    margin: -1.25rem -1.25rem 1rem;
    padding: .75rem 1.25rem .75rem;
    border-bottom: 1px solid #E2E8F0;
}
.os-tabs-nav .os-tab-btn { white-space: nowrap; }
.gm-offcanvas { display: flex; flex-direction: column; }

.gm-table { width: 100%; border-collapse: collapse; }
.gm-table th { text-align: left; padding: .75rem 1rem; font-size: .75rem; font-weight: 600; color: var(--gm-muted); text-transform: uppercase; letter-spacing: .05em; }
.gm-table td { padding: .875rem 1rem; border-top: 1px solid #F1F5F9; font-size: .875rem; }
.gm-table tr:hover td { background: #FAFBFC; cursor: pointer; }
/* 07/08/2026 20:04 - OS canceladas transparentes + greyscale na lista @filipemontt */
.gm-table tr.os-row-cancelado td { opacity: .45; filter: grayscale(1); }
.gm-table tr.os-row-cancelado:hover td { background: #F8FAFC; }

.status-agendado { background: #DBEAFE; color: #2563EB; }

/* 01/09/2026 18:10 - dia bloqueado na Agenda de vistoria (calendário vermelho) @filipemontt */
.gm-cal-day-blocked,
.gm-cal-day-blocked .fc-daygrid-day-frame {
    background: repeating-linear-gradient(-45deg, #fee2e2 0 8px, #fecaca 8px 16px) !important;
}
.gm-cal-day-blocked .fc-daygrid-day-number {
    color: #b91c1c !important;
    font-weight: 700;
}
.status-em_andamento { background: #FEF3C7; color: #D97706; }
.status-efetuado { background: #D1FAE5; color: #059669; }
.status-atrasado { background: #FEE2E2; color: #DC2626; }
.status-cancelado { background: #F1F5F9; color: #64748B; }
.status-recomendado { background: #FDEAEA; color: #A84F4F; }
.status-pendente { background: #FEF3C7; color: #D97706; }
.status-pago, .status-recebido { background: #D1FAE5; color: #059669; }

.gm-badge { padding: .2rem .6rem; border-radius: 9999px; font-size: .7rem; font-weight: 600; }

input.gm-money { text-align: right; font-variant-numeric: tabular-nums; }
input.gm-money::placeholder { text-align: right; }

@media (max-width: 768px) {
    .gm-offcanvas { width: 100%; min-width: unset; }
}

.os-btn-print {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.25rem;
    border-radius: .75rem;
    font-weight: 600;
    font-size: .875rem;
    border: 1px solid #F5E6A8;
    background: #FFF9E6;
    color: #8B6914;
    cursor: pointer;
    transition: opacity .15s, background .15s;
}
.os-btn-print:hover { background: #FFF3CC; }
.os-btn-history {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.25rem;
    border-radius: .75rem;
    font-weight: 600;
    font-size: .875rem;
    border: 1px solid #B8D9F0;
    background: #E8F4FC;
    color: #2563A8;
    cursor: pointer;
    transition: opacity .15s, background .15s;
}
.os-btn-history:hover { background: #D6EBFA; }
/* 01/09/2026 18:30 - Pedir ajuda à IA no header da OS @filipemontt */
.os-btn-ai {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.25rem;
    border-radius: .75rem;
    font-weight: 600;
    font-size: .875rem;
    border: 1px solid #F5C6C6;
    background: #FDEAEA;
    color: #A84F4F;
    cursor: pointer;
    transition: opacity .15s, background .15s;
}
.os-btn-ai:hover { background: #F8D4D4; }

/* 02/07/2026 - OS itens estilo receipt + botões peça/serviço @filipemontt */
.os-items-section { margin-top: .25rem; }
.os-items-toolbar {
    display: flex;
    flex-wrap: nowrap;
    gap: .625rem;
    margin: 0;
    padding: .75rem 1rem;
    border-top: none;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
}
.os-items-toolbar .os-btn-add-peca,
.os-items-toolbar .os-btn-add-serv {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    width: 100%;
}
.os-btn-add-peca,
.os-btn-add-serv {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    min-height: 3rem;
    padding: .75rem 1rem;
    border-radius: .625rem;
    font-size: .875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: opacity .15s, transform .1s;
}
.os-btn-add-peca { background: #111827; }
.os-btn-add-serv { background: #2563EB; }
.os-btn-add-peca:hover,
.os-btn-add-serv:hover { opacity: .92; }
.os-btn-add-peca:active,
.os-btn-add-serv:active { transform: scale(.98); }

.os-receipt {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: .5rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 3px rgba(0,0,0,.04);
    overflow: hidden;
    font-variant-numeric: tabular-nums;
}
.os-receipt-head {
    text-align: center;
    padding: .75rem 1rem .5rem;
    border-bottom: 1px dashed #d1d5db;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.os-receipt-head-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #111111;
}
.os-section-title {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #111111;
}
.os-receipt-head-rule {
    margin-top: .5rem;
    height: 1px;
    background: repeating-linear-gradient(90deg, #d1d5db 0, #d1d5db 4px, transparent 4px, transparent 8px);
}
.os-receipt-lines {
    min-height: 2.5rem;
    padding: .75rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    background: #f3f4f6;
}
.os-receipt-lines:empty {
    padding: 0;
    background: #fff;
}
.os-receipt-lines:empty::before {
    content: 'Nenhum item — use os botões acima para adicionar';
    display: block;
    padding: 1.25rem 1rem;
    text-align: center;
    font-size: .75rem;
    color: #9ca3af;
    font-style: italic;
    background: #fff;
}
/* 07/08/2026 20:02 - cada peça/serviço em card separado @filipemontt */
.os-receipt-line,
.os-item-card {
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    overflow: hidden;
}
.os-item-card + .os-item-card { border-top: none; }
.os-item-card .os-item-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .5rem .75rem;
    border-bottom: 1px solid #f3f4f6;
}
.os-item-card.os-item--peca .os-item-card-head {
    background: #f9fafb;
    border-left: 3px solid #111827;
}
.os-item-card.os-item--servico .os-item-card-head {
    background: #eff6ff;
    border-left: 3px solid #2563eb;
}
.os-item-card .os-item-card-body {
    padding: .75rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.os-receipt-line .os-line-kind,
.os-item-card .os-line-kind {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .55rem;
    border-radius: .375rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.os-item--peca .os-line-kind {
    background: #111827;
    color: #fff;
    border: none;
}
.os-item--servico .os-line-kind {
    background: #2563eb;
    color: #fff;
    border: none;
}
.os-receipt-line select.item-kind,
.os-receipt-line select.item-serv {
    font-weight: 700;
}
.os-item-card .gm-input {
    border-color: #e5e7eb;
    background: #fff;
    border-radius: .5rem;
    font-size: .8125rem;
}
.os-item-card .gm-input:focus {
    background: #fff;
    border-color: #9ca3af;
    box-shadow: 0 0 0 2px rgba(156,163,175,.15);
}
.os-item-card .item-rm {
    opacity: .7;
    transition: opacity .15s, background .15s;
    border-radius: .5rem;
    padding: .35rem .5rem;
}
.os-item-card .item-rm:hover {
    opacity: 1;
    background: #fef2f2;
}
/* 07/08/2026 19:58 - TOTAL: fundo preto, texto branco, valor verde @filipemontt */
.os-receipt-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .875rem 1rem;
    border-top: none;
    background: #111111;
    font-size: .9375rem;
    font-weight: 700;
    color: #ffffff;
}
/* 07/08/2026 19:53 - valor total vermelho bem mais claro no fundo preto @filipemontt */
.os-receipt-total-val {
    font-size: 1.125rem;
    color: #E8A8A8;
    font-variant-numeric: tabular-nums;
}
.os-btn-save {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.25rem;
    padding: .9rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
}

/* 13/07/2026 17:50 - Assistente IA diagnóstico @filipemontt */
.gm-ai-hero {
    background: linear-gradient(135deg, #FDEAEA 0%, #fff 55%, #f8fafc 100%);
    border: 1px solid #f0d4d4;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}
.gm-ai-md {
    font-size: .9375rem;
    line-height: 1.65;
    color: #1f2937;
}
.gm-ai-md h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gm-primary-dark);
    margin: 1.25rem 0 .5rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid #f0d4d4;
}
.gm-ai-md h2:first-child { margin-top: 0; }
.gm-ai-md h3 {
    font-size: .9375rem;
    font-weight: 600;
    color: #374151;
    margin: .9rem 0 .35rem;
}
.gm-ai-md p { margin: .4rem 0; }
.gm-ai-md ul, .gm-ai-md ol {
    margin: .4rem 0 .6rem 1.1rem;
    padding: 0;
}
.gm-ai-md li { margin: .25rem 0; }
.gm-ai-md strong { color: #111827; }
.gm-ai-md blockquote {
    margin: .75rem 0;
    padding: .65rem .85rem;
    border-left: 3px solid var(--gm-primary);
    background: var(--gm-primary-light);
    border-radius: 0 .75rem .75rem 0;
    color: #5b3a3a;
}
.gm-ai-md code {
    font-size: .8125rem;
    background: #f3f4f6;
    padding: .1rem .35rem;
    border-radius: .35rem;
}
.gm-ai-case {
    border: 1px solid #e5e7eb;
    border-radius: .9rem;
    padding: .85rem 1rem;
    background: #fff;
}
.gm-ai-case + .gm-ai-case { margin-top: .65rem; }
.gm-ai-loading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    min-height: 320px;
    padding: .25rem 0 1rem;
    color: #4b5563;
}
.gm-ai-orb-wrap {
    position: relative;
    width: 112px;
    height: 112px;
    margin: .5rem auto 0;
}
.gm-ai-orb {
    position: absolute;
    inset: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff, #F5D4D4 45%, #C46161 100%);
    box-shadow: 0 0 0 0 rgba(196,97,97,.35);
    animation: gm-ai-orb-pulse 1.8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gm-ai-orb i { font-size: 1.75rem; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.15)); }
.gm-ai-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid transparent;
    border-top-color: #C46161;
    border-right-color: #F5D4D4;
    animation: gm-ai-spin 1.1s linear infinite;
}
.gm-ai-ring.delay {
    inset: 8px;
    border-top-color: #A84F4F;
    border-right-color: transparent;
    border-bottom-color: #FDEAEA;
    animation-duration: 1.7s;
    animation-direction: reverse;
}
.gm-ai-loading-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1f2937;
    min-height: 1.5rem;
    transition: opacity .25s ease;
}
.gm-ai-loading-sub {
    text-align: center;
    font-size: .75rem;
    color: #9ca3af;
    margin-top: -.6rem;
}
.gm-ai-steps { display: flex; flex-direction: column; gap: .55rem; }
.gm-ai-step {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .9rem;
    border-radius: .85rem;
    background: #f9fafb;
    border: 1px solid #eef2f7;
    opacity: .45;
    transform: translateX(0);
    transition: all .35s ease;
}
.gm-ai-step.active {
    opacity: 1;
    background: linear-gradient(90deg, #FDEAEA, #fff);
    border-color: #f0d4d4;
    box-shadow: 0 6px 18px rgba(196,97,97,.08);
}
.gm-ai-step.done {
    opacity: .85;
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.gm-ai-step-icon {
    width: 2rem;
    height: 2rem;
    border-radius: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #9ca3af;
    flex-shrink: 0;
}
.gm-ai-step.active .gm-ai-step-icon { color: var(--gm-primary); background: #fff; }
.gm-ai-step.done .gm-ai-step-icon { color: #059669; }
.gm-ai-step-label { font-size: .875rem; font-weight: 550; color: #374151; }
.gm-ai-scanline {
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #C46161, #F5D4D4, transparent);
    background-size: 200% 100%;
    animation: gm-ai-scan 1.4s linear infinite;
}
@keyframes gm-ai-spin { to { transform: rotate(360deg); } }
@keyframes gm-ai-orb-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(196,97,97,.35); }
    50% { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(196,97,97,0); }
}
@keyframes gm-ai-scan {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
