/* =====================================================================
   Editor MeetingTimer — /editor
   Prefixo .mte- em tudo para não colidir com style.css / Bootstrap.
   ===================================================================== */

@font-face {
    font-family: 'MT-Digital';
    src: url('../fonts/MT-Digital.otf') format('opentype');
    font-display: swap;
}

html.mte-locked { overflow: hidden; }

.mte {
    --ink: #1E1442;
    --text: #3E3F66;
    --muted: #7B7A9D;
    --faint: #A9A7C4;
    --line: rgba(50, 35, 111, .09);
    --purple: #6A49F2;
    --purple-2: #8C70FF;
    --deep: #32236F;
    --plum: #5B3C7E;
    --orange: #FC9400;
    --danger: #D64545;
    --stage: #EFEBFB;
    --field: #F4F2FB;
    --r-xl: 28px;
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 11px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --sh-1: 0 1px 2px rgba(30, 20, 66, .06), 0 4px 14px -4px rgba(30, 20, 66, .08);
    --sh-2: 0 1px 2px rgba(30, 20, 66, .05), 0 14px 34px -12px rgba(50, 35, 111, .22), 0 34px 70px -40px rgba(50, 35, 111, .30);
    --sh-3: 0 2px 6px rgba(30, 20, 66, .08), 0 24px 60px -18px rgba(30, 20, 66, .38);
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--text);
    background: var(--stage);
    -webkit-font-smoothing: antialiased;
}

/* Resets com especificidade de uma classe (.mte :where): vencem o Bootstrap e perdem para as classes declaradas depois. */
.mte *, .mte *::before, .mte *::after { box-sizing: border-box; }
.mte :where(ol, ul) { margin: 0; padding: 0; list-style: none; }
.mte :where(p, h1, h2, h3, label) { margin: 0; }
.mte :where(button) { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.mte :where(button:disabled) { cursor: not-allowed; }
.mte :where(input) { font: inherit; color: inherit; }
.mte button:focus-visible, .mte input:focus-visible, .mte .mte-choice:focus-within {
    outline: 3px solid rgba(106, 73, 242, .45);
    outline-offset: 2px;
}
.mte-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.mte-i { flex: none; display: inline-block; vertical-align: middle; }
.mte-container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.mte-kicker {
    display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--muted);
}
.mte-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; margin: 0 6px; vertical-align: middle; }
.mte-digital { font-family: 'MT-Digital', 'Poppins', monospace; letter-spacing: .02em; }

.mte-appicon {
    display: inline-block; flex: none;
    width: var(--size); height: var(--size);
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

/* ───────────── HERO ───────────── */
.mte-hero {
    --px: 0; --py: 0;
    position: relative; overflow: hidden; isolation: isolate;
    padding: 150px 0 120px;
    color: #fff;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(140, 112, 255, .55), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(252, 148, 0, .22), transparent 60%),
        linear-gradient(140deg, #23164F 0%, #4A2F7E 42%, #6A49F2 100%);
}
.mte-hero__aurora i {
    position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55;
    animation: mte-drift 18s ease-in-out infinite alternate;
}
.mte-hero__aurora i:nth-child(1) { width: 420px; height: 420px; left: 6%; top: 10%; background: #8C70FF; transform: translate(calc(var(--px) * -40px), calc(var(--py) * -30px)); }
.mte-hero__aurora i:nth-child(2) { width: 340px; height: 340px; right: 8%; top: 30%; background: #FC9400; opacity: .28; animation-duration: 22s; }
.mte-hero__aurora i:nth-child(3) { width: 300px; height: 300px; left: 45%; bottom: -10%; background: #3C88FF; opacity: .35; animation-duration: 26s; }
.mte-hero__grid {
    position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
    transform: translate(calc(var(--px) * 14px), calc(var(--py) * 14px));
}
.mte-hero__inner { position: relative; text-align: center; }
.mte-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.mte-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 12px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.mte-badge .mte-i { color: #FFD08A; }

.mte-lang {
    --w: 46px;
    position: relative; display: inline-flex; align-items: center; padding: 4px 4px 4px 36px;
    border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.mte-lang__globe { position: absolute; left: 12px; opacity: .8; }
.mte-lang__btn {
    position: relative; z-index: 1; width: var(--w); height: 32px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: rgba(255, 255, 255, .8) !important;
    transition: color .3s var(--ease);
}
.mte-lang__btn.is-active { color: var(--deep) !important; }
.mte-lang__thumb {
    position: absolute; left: 36px; top: 4px; width: var(--w); height: 32px; border-radius: 999px;
    background: #fff; box-shadow: 0 4px 14px rgba(20, 10, 60, .35);
    transform: translateX(calc(var(--i) * var(--w)));
    transition: transform .45s var(--spring);
}

.mte-hero__title {
    font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em;
    color: #fff;
    background: linear-gradient(180deg, #fff 30%, #DCD0FF 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 40px rgba(20, 10, 60, .25);
}
.mte-hero__subtitle { max-width: 640px; margin: 18px auto 0 !important; font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.6; color: rgba(255, 255, 255, .8); }

.mte-steps { display: flex; justify-content: center; gap: 0; margin: 40px auto 0 !important; max-width: 620px; }
.mte-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mte-step::before {
    content: ''; position: absolute; top: 19px; right: 50%; width: 100%; height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .55) var(--fill, 0%), rgba(255, 255, 255, .18) var(--fill, 0%));
    z-index: 0;
}
.mte-step:first-child::before { display: none; }
.mte-step.is-done::before, .mte-step.is-current::before { --fill: 100%; }
.mte-step__dot {
    position: relative; z-index: 1; display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .75);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: all .5s var(--spring);
}
.mte-step.is-done .mte-step__dot { background: #fff; color: var(--purple); border-color: #fff; box-shadow: 0 8px 22px -6px rgba(10, 5, 40, .5); transform: scale(1.04); }
.mte-step.is-current .mte-step__dot { background: var(--orange); border-color: #FFC266; color: #fff; box-shadow: 0 0 0 6px rgba(252, 148, 0, .22); animation: mte-ring 2.2s ease-out infinite; }
.mte-step__label { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.mte-step.is-done .mte-step__label, .mte-step.is-current .mte-step__label { color: #fff; }

.mte-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; line-height: 0; }
.mte-hero__wave svg { width: 100%; height: 100%; }
.mte-hero__waves > use { animation: mte-wave 22s cubic-bezier(.55, .5, .45, .5) infinite; }
.mte-hero__waves > use:nth-child(1) { animation-delay: -2s; animation-duration: 9s; }
.mte-hero__waves > use:nth-child(2) { animation-delay: -3s; animation-duration: 13s; }
.mte-hero__waves > use:nth-child(3) { animation-delay: -4s; animation-duration: 20s; }

/* ───────────── STAGE ───────────── */
.mte-stage { position: relative; padding: 10px 0 150px; background: linear-gradient(180deg, var(--stage) 0%, #F6F4FE 60%); min-height: 60vh; }
.mte-loading { display: flex; justify-content: center; gap: 10px; padding: 80px 0; }
.mte-loading span { width: 12px; height: 12px; border-radius: 50%; background: var(--purple); animation: mte-bounce 1s var(--ease) infinite; }
.mte-loading span:nth-child(2) { animation-delay: .12s; background: var(--purple-2); }
.mte-loading span:nth-child(3) { animation-delay: .24s; background: var(--orange); }

/* ───────────── CHOOSER ───────────── */
.mte-chooser { padding-top: 10px; animation: mte-rise .6s var(--ease) both; }
.mte-chooser__head { text-align: center; margin-bottom: 30px; }
.mte-chooser__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.mte-chooser__head p { margin-top: 8px; color: var(--muted); font-size: 1.02rem; }
.mte-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--purple) !important; }
.mte-chooser__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; perspective: 1200px; }

.mte-choice {
    --accent: var(--purple);
    --lift: 0px;
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    min-height: 220px; padding: 26px 24px 24px; text-align: left; cursor: pointer;
    border-radius: var(--r-xl); background: #fff; color: var(--text);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--sh-2);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift));
    transform-style: preserve-3d;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
    overflow: hidden; isolation: isolate;
    animation: mte-rise .6s var(--ease) both;
}
.mte-choice:nth-child(2) { animation-delay: .05s; }
.mte-choice:nth-child(3) { animation-delay: .1s; }
.mte-choice:nth-child(4) { animation-delay: .15s; }
.mte-choice:nth-child(5) { animation-delay: .2s; }
.mte-choice:nth-child(6) { animation-delay: .25s; }
.mte-choice.is-tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }
.mte-choice:hover { --lift: -8px; box-shadow: 0 2px 4px rgba(30, 20, 66, .06), 0 30px 60px -20px rgba(50, 35, 111, .38); }
.mte-choice::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
}
.mte-choice:hover::before { opacity: 1; }
.mte-choice__icon {
    display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 10px;
    border-radius: 18px; color: #fff;
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 55%, color-mix(in srgb, var(--accent) 80%, #000));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .15), 0 14px 24px -10px var(--accent);
    transform: translateZ(40px);
}
.mte-choice__title { font-size: 1.15rem; font-weight: 700; color: var(--ink); transform: translateZ(30px); }
.mte-choice__desc { font-size: .92rem; line-height: 1.5; color: var(--muted); transform: translateZ(20px); }
.mte-choice__go {
    margin-top: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--field); color: var(--accent); transition: transform .4s var(--spring), background .3s;
}
.mte-choice:hover .mte-choice__go { transform: translateX(6px); background: var(--accent); color: #fff; }
.mte-choice__swatches { margin-top: auto; display: flex; gap: 6px; }
.mte-choice__swatches i { width: 22px; height: 8px; border-radius: 99px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); }
.mte-choice__ribbon {
    position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 99px;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff;
    background: linear-gradient(135deg, #FFB547, var(--orange)); box-shadow: 0 6px 14px -4px rgba(252, 148, 0, .7);
}
.mte-choice--blank {
    --accent: #fff;
    background: linear-gradient(150deg, #7B5CFF 0%, #5A33E6 55%, #3E1FB8 100%); color: #fff; border-color: transparent;
    box-shadow: 0 2px 4px rgba(30, 20, 66, .1), 0 24px 50px -18px rgba(90, 51, 230, .7);
}
.mte-choice--blank .mte-choice__icon { background: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); border: 1px solid rgba(255, 255, 255, .25); }
.mte-choice--blank .mte-choice__title { color: #fff; }
.mte-choice--blank .mte-choice__desc { color: rgba(255, 255, 255, .8); }
.mte-choice--blank .mte-choice__go { background: rgba(255, 255, 255, .18); color: #fff; }
.mte-choice--blank:hover .mte-choice__go { background: #fff; color: #5A33E6; }
.mte-choice--blank::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 60%); }
.mte-choice--resume { --accent: var(--orange); }
.mte-choice--import { --accent: #3C7F8B; background: rgba(255, 255, 255, .6); border: 2px dashed rgba(60, 127, 139, .35); box-shadow: var(--sh-1); }
.mte-choice--import:hover { background: #fff; border-color: rgba(60, 127, 139, .7); }

/* ───────────── WORKSPACE ───────────── */
.mte-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; padding-top: 6px; }
.mte-canvas { min-width: 0; }

.mte-card {
    position: relative; border-radius: var(--r-xl); background: #fff;
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--sh-2);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.mte-card::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(106, 73, 242, .06), transparent 55%);
    transition: opacity .4s;
}
.mte-card:hover::after { opacity: 1; }

/* Reunião */
.mte-meeting { padding: 24px 26px 22px; animation: mte-rise .5s var(--ease) both; }
.mte-meeting.is-next { animation: mte-rise .5s var(--ease) both, mte-breathe-orange 2.2s ease-out infinite .6s; }
.mte-meeting__row { display: flex; align-items: center; gap: 16px; }
.mte-meeting__logo { flex: none; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 22px -8px rgba(81, 43, 212, .55), 0 0 0 1px rgba(255, 255, 255, .8); transform: rotate(-4deg); transition: transform .5s var(--spring); }
.mte-meeting:hover .mte-meeting__logo { transform: rotate(0) scale(1.05); }
.mte-meeting__logo img { width: 100%; height: 100%; object-fit: cover; }
.mte-meeting__namewrap { flex: 1; min-width: 0; }
.mte-meeting__name {
    width: 100%; margin-top: 2px; padding: 4px 0 6px; border: 0; outline: 0 !important; background: transparent;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink);
    background-image: linear-gradient(90deg, var(--purple), var(--orange));
    background-size: 0% 3px; background-repeat: no-repeat; background-position: 0 100%;
    transition: background-size .5s var(--ease);
}
.mte-meeting__name::placeholder { color: #C3BFDB; }
.mte-meeting__name:hover { background-size: 35% 3px; }
.mte-meeting__name:focus { background-size: 100% 3px; }
.mte-meeting__stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 14px; margin-top: 20px; }
.mte-meeting__stats > div { padding: 12px 16px; border-radius: var(--r-md); background: var(--field); }
.mte-clock__ctrl { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.mte-clock__input {
    width: 100%; min-width: 0; border: 0; outline: 0 !important; background: transparent; text-align: center;
    font-family: 'MT-Digital', 'Poppins', monospace; font-size: 28px; line-height: 1.1; color: var(--ink);
}
.mte-clock__input::-webkit-calendar-picker-indicator { display: none; }
.mte-roundbtn {
    flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    background: #fff; color: var(--purple) !important; box-shadow: var(--sh-1);
    transition: transform .3s var(--spring), background .2s;
}
.mte-roundbtn:hover { transform: scale(1.12); background: var(--purple); color: #fff !important; }
.mte-roundbtn:active { transform: scale(.94); }
.mte-stat .mte-digital { display: block; margin-top: 4px; font-size: 28px; line-height: 1.1; color: var(--ink); }
.mte-digital--accent { color: var(--purple) !important; }
.mte-stat--count { display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.mte-meeting__bar { display: flex; gap: 3px; height: 8px; margin-top: 16px; border-radius: 99px; overflow: hidden; background: var(--field); }
.mte-meeting__bar i { display: block; min-width: 6px; transition: flex-grow .6s var(--ease); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }

.mte-iconbtn {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: var(--field); color: var(--muted) !important;
    transition: background .2s, color .2s, transform .3s var(--spring);
}
.mte-iconbtn:hover, .mte-iconbtn.is-active { background: var(--deep); color: #fff !important; transform: rotate(-6deg); }
.mte-iconbtn--ghost { background: transparent; }

/* Grupo */
.mte-group { position: relative; margin-top: 30px; animation: mte-rise .5s var(--ease) both; }
.mte-group.is-drop .mte-group__card { box-shadow: 0 0 0 3px var(--glow), var(--sh-2); }
.mte-pause {
    display: flex; align-items: center; gap: 6px; margin: -12px auto 12px; padding: 5px 14px; border-radius: 99px;
    font-size: 12px; font-weight: 600; color: var(--muted) !important;
    background: rgba(255, 255, 255, .6); border: 1.5px dashed rgba(123, 122, 157, .35) !important;
    transition: background .2s, color .2s;
}
.mte-pause:hover { background: #fff; color: var(--deep) !important; }
.mte-group__card { overflow: visible; }
.mte-group__card::before {
    content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; border-radius: 0 6px 6px 0;
    background: linear-gradient(180deg, var(--back), color-mix(in srgb, var(--back) 55%, #fff));
    box-shadow: 0 0 18px var(--glow);
}
.mte-group__head { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 20px 12px 24px; }

.mte-tile {
    --lift: 0px;
    position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 45%),
        var(--back);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -4px 0 rgba(0, 0, 0, .14), 0 14px 26px -12px var(--back), 0 2px 4px rgba(0, 0, 0, .08);
    transform: perspective(500px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift));
    transition: transform .4s var(--spring), box-shadow .3s;
}
.mte-tile.is-tilting { transition: transform .1s linear; }
.mte-tile:hover { --lift: -3px; }
.mte-tile__edit {
    position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 22px; height: 22px;
    border-radius: 50%; background: #fff; color: var(--deep); box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
    transform: scale(.6); opacity: 0; transition: all .3s var(--spring);
}
.mte-tile:hover .mte-tile__edit, .mte-tile:focus-visible .mte-tile__edit { transform: scale(1); opacity: 1; }
.mte-group__titlewrap { flex: 1; min-width: 0; }
.mte-group__kicker { display: flex; align-items: center; flex-wrap: wrap; font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.mte-group__kicker > span:first-child { color: var(--label); text-transform: uppercase; letter-spacing: .1em; }
.mte-group__title {
    width: 100%; margin-top: 2px; padding: 3px 8px 3px 0; border: 0; outline: 0 !important; border-radius: 8px; background: transparent;
    font-size: 1.12rem; font-weight: 800; letter-spacing: .015em; text-transform: uppercase; color: var(--label);
    transition: background .2s, padding .2s;
}
.mte-group__title::placeholder { color: color-mix(in srgb, var(--label) 35%, #fff); }
.mte-group__title:focus { background: var(--soft); padding-left: 10px; }
.mte-group__divider { height: 3px; margin: 2px 24px 10px; border-radius: 99px; background: var(--back); opacity: .85; }
.mte-group__note { display: flex; align-items: center; gap: 6px; margin: 0 24px 6px; font-size: 12px; color: var(--muted); }

/* Popovers */
.mte-scrim { position: fixed; inset: 0; z-index: 55; }
.mte-pop {
    position: absolute; z-index: 60; padding: 14px; border-radius: 20px; background: #fff;
    box-shadow: var(--sh-3), 0 0 0 1px rgba(50, 35, 111, .06);
    animation: mte-pop .32s var(--spring) both; transform-origin: top left;
}
.mte-pop__title { display: block; margin: 2px 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mte-pop--themes { left: 16px; top: calc(100% - 2px); width: min(400px, calc(100vw - 48px)); }
.mte-themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mte-theme { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 14px; transition: background .2s; }
.mte-theme:hover { background: var(--field); }
.mte-theme.is-active { background: var(--field); box-shadow: inset 0 0 0 2px var(--back); }
.mte-theme__tile {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 45%), var(--back);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14), 0 8px 16px -8px var(--back);
    transition: transform .35s var(--spring);
}
.mte-theme:hover .mte-theme__tile { transform: translateY(-3px) rotate(-4deg); }
.mte-theme__name { font-size: 11px; font-weight: 600; color: var(--text); text-align: center; line-height: 1.25; }

.mte-pop--options { right: 16px; top: calc(100% - 2px); width: 300px; transform-origin: top right; display: flex; flex-direction: column; gap: 6px; }
.mte-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 6px 8px 8px; border-radius: 12px; }
.mte-opt--switch:hover { background: var(--field); }
.mte-opt__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mte-opt__label .mte-i { color: var(--muted); }
.mte-opt__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.mte-switch { position: relative; flex: none; width: 42px; height: 24px; border-radius: 99px; background: #DCD8EC; transition: background .3s; }
.mte-switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .25); transition: transform .35s var(--spring); }
.mte-switch.is-on { background: var(--purple); }
.mte-switch.is-on i { transform: translateX(18px); }
.mte-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 11px;
    font-size: 12.5px; font-weight: 600; color: var(--ink) !important; background: var(--field); transition: background .2s, transform .2s;
}
.mte-pill:hover:not(:disabled) { background: #E7E2F8; transform: translateY(-1px); }
.mte-pill:disabled { opacity: .4; }
.mte-pill--danger { color: var(--danger) !important; background: #FDEEEE; }
.mte-pill--danger:hover:not(:disabled) { background: #FBDADA; }

/* Partes */
.mte-parts { padding: 4px 14px 16px 18px; }
.mte-part {
    position: relative; display: grid; grid-template-columns: 22px 62px minmax(0, 1fr) auto 32px; align-items: center; gap: 10px;
    padding: 12px 10px 12px 6px; border-radius: 18px; margin-top: 2px;
    transition: background .25s, box-shadow .3s var(--ease), opacity .2s, transform .3s var(--ease);
    animation: mte-rise .45s var(--ease) both;
}
.mte-part + .mte-part::before { content: ''; position: absolute; left: 96px; right: 14px; top: -1px; height: 1px; background: var(--line); }
.mte-part:hover { background: color-mix(in srgb, var(--back) 5%, #fff); }
.mte-part.is-active { background: #fff; box-shadow: 0 0 0 2px var(--glow), 0 14px 30px -18px var(--back); z-index: 2; }
.mte-part.is-active::before, .mte-part.is-active + .mte-part::before { opacity: 0; }
.mte-part.is-dragging { opacity: .35; transform: scale(.98); }
.mte-part.is-drop-before { box-shadow: inset 0 3px 0 var(--back); }
.mte-part.is-next { box-shadow: 0 0 0 2px var(--orange); animation: mte-rise .45s var(--ease) both, mte-breathe-orange 2s ease-out infinite .5s; }
.mte-part__grip { display: grid; place-items: center; height: 40px; color: var(--faint); cursor: grab; opacity: .45; transition: opacity .2s, color .2s; }
.mte-part:hover .mte-part__grip { opacity: 1; }
.mte-part__grip:hover { color: var(--deep); }
.mte-part__grip:active { cursor: grabbing; }
.mte-part__when { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mte-part__start { font-family: 'MT-Digital', 'Poppins', monospace; font-size: 19px; line-height: 1; color: var(--label); }
.mte-part__num {
    display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px;
    font-size: 11.5px; font-weight: 700; color: var(--icon-color); background: var(--back);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
}
.mte-part__body { min-width: 0; }
.mte-part__name {
    width: 100%; padding: 5px 10px; border: 0; outline: 0 !important; border-radius: 10px; background: transparent;
    font-size: 1rem; font-weight: 600; color: var(--ink); transition: background .2s, box-shadow .2s;
}
.mte-part__name::placeholder { color: #BEB9D8; font-weight: 500; }
.mte-part__name:hover { background: var(--field); }
.mte-part__name:focus { background: var(--field); box-shadow: inset 0 0 0 2px var(--glow); }
.mte-part__speaker { display: flex; align-items: center; gap: 6px; padding-left: 10px; color: var(--faint); }
.mte-part__speaker input { flex: 1; min-width: 0; padding: 3px 6px; border: 0; outline: 0 !important; border-radius: 8px; background: transparent; font-size: 12.5px; color: var(--text); }
.mte-part__speaker input::placeholder { color: var(--faint); }
.mte-part__speaker input:focus { background: var(--field); }
.mte-part__controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.mte-part__toggles { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.mte-toggle {
    display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 99px;
    font-size: 11.5px; font-weight: 600; color: var(--muted) !important; background: var(--field);
    border: 1px solid transparent !important; transition: all .25s var(--ease);
}
.mte-toggle:hover { color: var(--ink) !important; background: #E9E5F8; }
.mte-toggle.is-on { color: var(--label) !important; background: var(--soft); border-color: var(--glow) !important; }
.mte-toggle--stepper { padding: 0 2px 0 9px; }
.mte-toggle--stepper .mte-stepper { background: transparent; padding: 0; }
.mte-toggle--stepper .mte-stepper__btn { width: 22px; height: 22px; }
.mte-toggle--stepper .mte-stepper__value { min-width: 30px; height: 22px; padding: 0 4px; }
.mte-toggle--stepper .mte-stepper__num { font-size: 12px; }
.mte-part__delete {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--faint) !important;
    opacity: 0; transform: scale(.8); transition: all .25s var(--ease);
}
.mte-part:hover .mte-part__delete, .mte-part:focus-within .mte-part__delete { opacity: 1; transform: scale(1); }
.mte-part__delete:hover { background: #FDEEEE; color: var(--danger) !important; }

/* Stepper de tempo */
.mte-stepper { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; background: var(--field); }
.mte-stepper__btn {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--deep) !important;
    box-shadow: 0 1px 2px rgba(30, 20, 66, .12), 0 3px 8px -3px rgba(30, 20, 66, .2);
    transition: transform .3s var(--spring), background .2s, color .2s;
}
.mte-stepper__btn:hover:not(:disabled) { transform: scale(1.12); background: var(--deep); color: #fff !important; }
.mte-stepper__btn:active:not(:disabled) { transform: scale(.92); }
.mte-stepper__btn:disabled { opacity: .35; box-shadow: none; }
.mte-stepper__value { display: inline-flex; align-items: baseline; justify-content: center; gap: 3px; min-width: 66px; height: 28px; padding: 0 8px; border-radius: 99px; transition: background .2s; }
.mte-stepper__value:hover { background: rgba(255, 255, 255, .7); }
.mte-stepper__num { font-size: 15px; font-weight: 700; color: var(--ink); }
.mte-stepper__unit { font-size: 11px; font-weight: 600; color: var(--muted); }
.mte-stepper.is-zero .mte-stepper__num { color: var(--danger); }
.mte-stepper.is-next { box-shadow: 0 0 0 2px var(--orange); animation: mte-breathe-orange 2s ease-out infinite; }
.mte-pop--times { right: 0; top: calc(100% + 8px); width: 236px; transform-origin: top right; }
.mte-pop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mte-chip {
    display: inline-flex; align-items: baseline; justify-content: center; gap: 2px; height: 34px; padding: 0 8px; border-radius: 11px;
    font-size: 14px; font-weight: 700; color: var(--ink) !important; background: var(--field); transition: all .2s var(--ease);
}
.mte-chip small { font-size: 10px; font-weight: 600; color: var(--muted); }
.mte-chip:hover { background: #E7E2F8; transform: translateY(-1px); }
.mte-chip.is-active { background: var(--deep); color: #fff !important; }
.mte-chip.is-active small { color: rgba(255, 255, 255, .7); }
.mte-pop__custom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px !important; padding: 8px 10px; border-radius: 12px; background: var(--field); font-size: 12px; font-weight: 600; color: var(--muted); }
.mte-pop__custom input { width: 70px; padding: 4px 8px; border: 0; border-radius: 8px; background: #fff; font-weight: 700; text-align: center; color: var(--ink); }

/* Fantasmas */
.mte-ghost {
    position: relative; margin-top: 8px; border-radius: 18px;
    border: 2px dashed var(--glow);
    background: color-mix(in srgb, var(--back) 3%, transparent);
    transition: border-color .3s, background .3s, box-shadow .3s, transform .4s var(--ease);
    animation: mte-ghost-in .55s var(--ease) both;
}
.mte-ghost:hover { border-style: solid; border-color: var(--back); background: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -20px var(--back); }
.mte-ghost.is-drop-before { border-color: var(--back); border-style: solid; }
.mte-ghost__main { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; border-radius: 16px; overflow: hidden; }
.mte-ghost__main::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--soft, rgba(106, 73, 242, .1)), transparent 70%);
}
.mte-ghost__main:hover::after { opacity: 1; }
.mte-ghost__plus {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    color: var(--label, var(--purple)); background: var(--soft, rgba(106, 73, 242, .1));
    transition: transform .45s var(--spring), background .25s, color .25s;
}
.mte-ghost:hover .mte-ghost__plus { transform: rotate(90deg) scale(1.06); background: var(--back); color: var(--icon-color) !important; }
.mte-ghost__plus--lg { width: 46px; height: 46px; margin-left: auto; }
.mte-ghost__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mte-ghost__text strong { font-size: .98rem; font-weight: 600; color: var(--label, var(--ink)); opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mte-ghost:hover .mte-ghost__text strong { opacity: 1; }
.mte-ghost__text small { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 12px; color: var(--muted); }
.mte-ghost__time { flex: none; display: flex; align-items: baseline; gap: 3px; font-size: 22px; font-weight: 700; color: var(--label, var(--ink)); opacity: .45; transition: opacity .3s; }
.mte-ghost__time small { font-size: 11px; font-weight: 600; }
.mte-ghost:hover .mte-ghost__time { opacity: .9; }
.mte-ghost__chips { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 0 16px 14px 70px; }
.mte-ghost__chips-label { display: inline-flex; align-items: center; gap: 5px; margin-right: 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.mte-chip--ghost {
    height: 30px; padding: 0 11px; gap: 5px; align-items: center; font-size: 12.5px; font-weight: 600;
    color: var(--label) !important; background: #fff; border: 1px dashed var(--glow) !important;
}
.mte-chip--ghost small { color: var(--faint); }
.mte-chip--ghost:hover { border-style: solid !important; background: var(--soft); transform: translateY(-2px); box-shadow: 0 8px 16px -10px var(--back); }

.mte-ghost.is-next { border-style: solid; border-color: var(--back); background: #fff; animation: mte-ghost-in .55s var(--ease) both, mte-breathe 2.4s ease-out infinite .6s; }
.mte-ghost.is-next .mte-ghost__main::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 48%, transparent 66%), linear-gradient(90deg, var(--soft, rgba(106, 73, 242, .08)), transparent);
    background-size: 250% 100%, 100% 100%;
    animation: mte-sheen 2.8s ease-in-out infinite;
}
.mte-ghost.is-next .mte-ghost__plus { background: var(--back); color: var(--icon-color) !important; }
.mte-ghost.is-next .mte-ghost__text strong { opacity: 1; }

.mte-ghost--group {
    --label: var(--ink); --soft: rgba(106, 73, 242, .1);
    margin-top: 30px; border-radius: var(--r-xl); border: 2px dashed rgba(106, 73, 242, .28);
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mte-ghost--group:hover { border-color: var(--back); }
.mte-ghost--group .mte-ghost__main { padding: 18px 20px 14px; border-radius: 26px; }
.mte-ghost--group .mte-ghost__text strong { font-size: 1.06rem; font-weight: 700; }
.mte-ghost--group .mte-ghost__chips { padding: 0 20px 18px 96px; }
.mte-tile--ghost { opacity: .5; filter: saturate(.6); transition: opacity .3s, filter .3s, transform .4s var(--spring); }
.mte-ghost--group:hover .mte-tile--ghost, .mte-ghost--group.is-next .mte-tile--ghost { opacity: 1; filter: none; transform: translateY(-3px) rotate(-5deg); }
.mte-minitile {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 45%), var(--back);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15), 0 6px 12px -6px var(--back);
    transform: perspective(300px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .35s var(--spring), box-shadow .3s;
}
.mte-minitile:hover { transform: perspective(300px) translateY(-4px) scale(1.1); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15), 0 12px 18px -8px var(--back); }

/* ───────────── PREVIEW ───────────── */
.mte-preview { position: relative; min-width: 0; }
.mte-preview__sticky { position: sticky; top: 92px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mte-preview__head { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.mte-preview__head small { font-size: 12px; color: var(--muted); }
.mte-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); }
.mte-live i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: mte-live 1.8s ease-out infinite; }

.mte-phone-stage { position: relative; perspective: 1400px; padding: 6px 0 26px; }
.mte-phone {
    position: relative; width: 300px; height: 612px;
    transform: rotateX(var(--rx, 5deg)) rotateY(var(--ry, -12deg));
    transform-style: preserve-3d;
    transition: transform .9s var(--ease);
}
.mte-phone.is-tilting { transition: transform .15s linear; }
.mte-phone__frame {
    position: absolute; inset: 0; padding: 11px; border-radius: 48px;
    background: linear-gradient(145deg, #2B2650, #120F25 55%, #2A2450);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, .14),
        0 0 0 2px #3C356E,
        0 0 0 3.5px #1A1633,
        0 50px 80px -30px rgba(30, 20, 66, .6),
        -30px 30px 60px -30px rgba(106, 73, 242, .35);
}
.mte-phone__island { position: absolute; z-index: 5; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: #05040B; }
.mte-phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 38px; overflow: hidden; background: #F7F6FB; }
.mte-phone__glare {
    position: absolute; inset: 11px; border-radius: 38px; pointer-events: none; z-index: 6;
    background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 32%);
    mix-blend-mode: screen;
}
.mte-preview__device { position: relative; }
.mte-phone-floor { width: 240px; height: 30px; margin: -8px auto 0; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(30, 20, 66, .32), transparent 70%); filter: blur(6px); }

.mte-app-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px 6px; font-size: 11px; font-weight: 700; color: #fff; background: #4B26C9; }
.mte-app-status__dots { width: 34px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, #fff 60%, rgba(255, 255, 255, .4) 60%); }
.mte-app-bar { padding: 8px 18px 14px; color: #fff; background: linear-gradient(180deg, #4B26C9, #6A49F2); }
.mte-app-bar__title { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mte-app-bar__meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-family: 'MT-Digital', 'Poppins', monospace; font-size: 14px; opacity: .9; }
.mte-app-bar__sep { flex: 1; height: 1px; background: rgba(255, 255, 255, .3); }
.mte-app-bar__progress { height: 4px; margin-top: 10px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.mte-app-bar__progress i { display: block; width: 40%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); animation: mte-scan 2.6s ease-in-out infinite; }
.mte-app-list { flex: 1; overflow-y: auto; padding: 6px 0 30px; scrollbar-width: none; }
.mte-app-list::-webkit-scrollbar { display: none; }
.mte-app-group { --soft: color-mix(in srgb, var(--back) 10%, #fff); animation: mte-rise .4s var(--ease) both; }
.mte-app-gap { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 8px auto 2px; width: max-content; padding: 2px 10px; border-radius: 99px; font-size: 9.5px; font-weight: 600; color: #8D8BA8; background: #ECEAF5; }
.mte-app-header { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 8px; padding: 10px 14px 6px 10px; }
.mte-app-header__tile { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: var(--back); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.mte-app-header__label { font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mte-app-divider { height: 2px; margin: 0 12px 8px; background: var(--back); }
.mte-app-item {
    display: flex !important; align-items: center; gap: 6px; width: 100%; padding: 6px 10px 7px 14px !important; text-align: left;
    border-left: 3px solid transparent !important; transition: background .25s;
}
.mte-app-item:hover { background: var(--soft) !important; }
.mte-app-item.is-active { background: var(--soft) !important; border-left-color: var(--back) !important; }
.mte-app-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mte-app-item__title { font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mte-app-item__title small { font-size: 10.5px; font-weight: 600; opacity: .75; }
.mte-app-item__chips { display: flex; gap: 6px; padding-left: 12px; }
.mte-app-chip { display: inline-flex; align-items: center; gap: 3px; font-family: 'MT-Digital', 'Poppins', monospace; font-size: 11.5px; color: var(--label); }
.mte-app-item__speaker { padding-left: 12px; font-size: 10.5px; color: #8D8BA8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mte-app-watch { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); }
.mte-app-watch.is-counsel { width: 32px; background: transparent; }
.mte-app-empty { display: flex; flex-direction: column; gap: 10px; padding: 24px 18px; }
.mte-app-empty__ghost { height: 40px; border-radius: 10px; background: linear-gradient(90deg, #ECEAF5 25%, #F7F6FB 50%, #ECEAF5 75%); background-size: 200% 100%; animation: mte-shimmer 1.6s linear infinite; }
.mte-app-empty__ghost.is-short { width: 60%; }
.mte-app-empty p { margin-top: 6px; font-size: 12px; text-align: center; color: #A3A1BC; }

/* ───────────── COACH ───────────── */
.mte-coach {
    position: fixed; z-index: 910; left: 24px; bottom: 104px; width: min(390px, calc(100vw - 32px));
    display: grid; grid-template-columns: 44px 1fr 26px; gap: 12px; align-items: start;
    padding: 16px 14px 16px 16px; border-radius: 24px; color: #fff;
    background: linear-gradient(150deg, rgba(43, 28, 92, .96), rgba(30, 20, 66, .96));
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 60px -18px rgba(20, 10, 60, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    animation: mte-coach-in .6s var(--spring) both;
}
.mte-coach::before {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(135deg, rgba(140, 112, 255, .9), transparent 40%, rgba(252, 148, 0, .7));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.mte-coach__orb {
    position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: conic-gradient(from 0deg, #8C70FF, #FC9400, #3C88FF, #8C70FF);
    animation: mte-spin 6s linear infinite;
    box-shadow: 0 0 24px rgba(140, 112, 255, .55);
}
.mte-coach__orb::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #2B1C5C; }
.mte-coach__orb .mte-i { position: relative; z-index: 1; color: #FFD08A; animation: mte-spin 6s linear infinite reverse; }
.mte-coach__body .mte-kicker { color: #C9B8FF; }
.mte-coach__body p { margin: 4px 0 12px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.mte-coach__action {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px;
    font-size: 13px; font-weight: 700; color: var(--deep) !important; background: #fff;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6);
    transform: translate(var(--tx, 0), var(--ty, 0));
    transition: transform .25s var(--ease), box-shadow .25s;
}
.mte-coach__action .mte-i { transition: transform .3s var(--spring); }
.mte-coach__action:hover .mte-i { transform: translateX(4px); }
.mte-coach__close { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7) !important; transition: background .2s; }
.mte-coach__close:hover { background: rgba(255, 255, 255, .22); color: #fff !important; }
.mte-coach--docked { position: absolute; z-index: 8; left: -40px; right: -16px; bottom: 44px; width: auto; }
@media (min-width: 1101px) { .mte-coach--floating { display: none; } }
@media (max-width: 1100px) { .mte-coach--docked { display: none; } }
.mte-coach-fab {
    position: fixed; z-index: 910; left: 24px; bottom: 104px; display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 16px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #fff !important;
    background: linear-gradient(150deg, #2B1C5C, #1E1442); box-shadow: 0 14px 30px -12px rgba(20, 10, 60, .6);
    animation: mte-coach-in .5s var(--spring) both;
}
.mte-coach-fab .mte-i { color: #FFD08A; }

/* ───────────── DOCK ───────────── */
.mte-dock { position: fixed; z-index: 900; left: 0; right: 0; bottom: 16px; padding: 0 12px; pointer-events: none; animation: mte-dock-in .7s var(--spring) both .2s; }
.mte-dock__inner {
    pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    max-width: 1212px; margin: 0 auto; padding: 10px 10px 10px 20px; border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .95);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 20px 50px -18px rgba(30, 20, 66, .35), 0 2px 6px rgba(30, 20, 66, .06);
}
.mte-dock__summary { min-width: 0; display: flex; flex-direction: column; }
.mte-dock__file { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mte-dock__file .mte-i { color: var(--purple); }
.mte-dock__meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mte-dock__actions { flex: none; display: flex; gap: 8px; }
.mte-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px;
    border-radius: 15px; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden;
    transform: translate(var(--tx, 0), var(--ty, 0));
    transition: transform .25s var(--ease), box-shadow .25s, background .25s, filter .25s;
}
.mte-btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, #8064FF 0%, #6A49F2 45%, #4E2BD6 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 12px 26px -10px rgba(106, 73, 242, .8);
}
.mte-btn--primary:hover:not(:disabled) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 18px 34px -10px rgba(106, 73, 242, .9); filter: brightness(1.06); }
.mte-btn--primary:active:not(:disabled) { box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25); transform: translateY(1px); }
.mte-btn--primary:disabled { filter: grayscale(.7); opacity: .55; box-shadow: none; }
.mte-btn--primary.is-next::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
    background-size: 250% 100%; animation: mte-sheen 2.4s ease-in-out infinite;
}
.mte-btn--primary.is-next { animation: mte-breathe-purple 2.2s ease-out infinite; }
.mte-btn--glass { color: var(--deep) !important; background: rgba(106, 73, 242, .08); }
.mte-btn--glass:hover { background: rgba(106, 73, 242, .15); }
.mte-btn--block { width: 100%; }
.mte-only-compact { display: none !important; }

/* ───────────── TOAST ───────────── */
.mte-toast {
    position: fixed; z-index: 920; left: 50%; bottom: 96px; transform: translateX(-50%);
    display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 99px;
    font-size: 13.5px; font-weight: 600; color: #fff; background: #1E1442; box-shadow: 0 16px 36px -12px rgba(20, 10, 60, .55);
    animation: mte-toast-in .5s var(--spring) both;
    max-width: calc(100vw - 32px);
}
.mte-toast button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; font-weight: 700; color: #C9B8FF !important; background: rgba(255, 255, 255, .1); }
.mte-toast button:hover { background: rgba(255, 255, 255, .2); }

/* ───────────── MODAL / SHEET ───────────── */
.mte-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; }
.mte-modal__scrim { position: absolute; inset: 0; background: rgba(20, 12, 48, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: mte-fade .3s ease both; }
.mte-modal__card {
    position: relative; width: min(470px, 100%); padding: 56px 28px 26px; border-radius: 30px; background: #fff; text-align: center;
    box-shadow: 0 40px 90px -30px rgba(20, 10, 60, .6);
    animation: mte-modal-in .55s var(--spring) both;
}
.mte-modal__icon { position: absolute; top: -36px; left: 50%; width: 76px; height: 76px; margin-left: -38px; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 34px -12px rgba(81, 43, 212, .7), 0 0 0 4px #fff; animation: mte-float 4s ease-in-out infinite; }
.mte-modal__icon img { width: 100%; height: 100%; }
.mte-modal__card h3 { font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.mte-howto { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 18px !important; text-align: left; }
.mte-howto li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #F6F4FE; animation: mte-rise .5s var(--ease) both; }
.mte-howto li:nth-child(2) { animation-delay: .08s; }
.mte-howto li:nth-child(3) { animation-delay: .16s; }
.mte-howto li > span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #8064FF, #4E2BD6); box-shadow: 0 6px 12px -4px rgba(106, 73, 242, .7); }
.mte-howto li > .mte-i { color: var(--purple); }
.mte-howto li p { font-size: 14px; line-height: 1.45; color: var(--text); }
.mte-modal__store { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.mte-modal__store small { font-size: 12.5px; color: var(--muted); }
.mte-modal__store img { height: 40px; transition: transform .3s var(--spring); }
.mte-modal__store a:hover img { transform: translateY(-2px) scale(1.03); }
.mte-modal--sheet { place-items: end center; padding: 0; }
.mte-sheet { position: relative; width: 100%; max-height: 94vh; overflow: auto; display: flex; justify-content: center; padding: 30px 0 16px; border-radius: 30px 30px 0 0; background: linear-gradient(180deg, #F6F4FE, var(--stage)); animation: mte-sheet-in .55s var(--spring) both; }
.mte-sheet__close { position: absolute; top: 14px; right: 16px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--deep) !important; box-shadow: var(--sh-1); }
.mte-sheet .mte-phone { --rx: 0deg; --ry: 0deg; }

.mte-confetti { position: fixed; inset: 0; z-index: 100001; width: 100vw; height: 100vh; pointer-events: none; }

/* ───────────── NAVBAR / PROMO ───────────── */
.nav-link-editor { display: inline-flex !important; align-items: center; gap: 6px; }
.nav-new { padding: 2px 6px; border-radius: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, #FFB547, #FC9400); box-shadow: 0 4px 10px -3px rgba(252, 148, 0, .7); }

.mte-promo { padding: 30px 0 70px; }
.mte-promo__card {
    --lift: 0px;
    position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 30px; overflow: hidden; isolation: isolate;
    max-width: 1140px; margin: 0 auto; padding: 46px 50px; border-radius: 34px; color: #fff;
    background: radial-gradient(600px 300px at 90% 0%, rgba(140, 112, 255, .6), transparent 60%), linear-gradient(140deg, #23164F, #4A2F7E 50%, #6A49F2);
    box-shadow: 0 40px 80px -40px rgba(50, 35, 111, .8);
    transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift));
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.mte-promo__card.is-tilting { transition: transform .15s linear; }
.mte-promo__card h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.mte-promo__card p { margin: 14px 0 26px; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.mte-promo__cta { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 16px; font-weight: 700; color: var(--deep, #32236F) !important; background: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); transform: translate(var(--tx, 0), var(--ty, 0)); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.mte-promo__cta:hover { color: #6A49F2 !important; }
.mte-promo__langs { display: flex; gap: 8px; margin-top: 18px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.mte-promo__langs span { padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.mte-promo__stack { position: relative; height: 230px; perspective: 900px; }
.mte-promo__row {
    position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px;
    background: #fff; color: #1E1442; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
    transform: rotateX(18deg) rotateZ(-4deg);
    animation: mte-promo-float 6s ease-in-out infinite;
}
.mte-promo__row:nth-child(1) { top: 0; }
.mte-promo__row:nth-child(2) { top: 78px; left: 26px; right: -20px; animation-delay: -2s; }
.mte-promo__row:nth-child(3) { top: 156px; left: 52px; right: -40px; border: 2px dashed rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; animation-delay: -4s; }
.mte-promo__row b { display: block; font-size: 14px; }
.mte-promo__row small { font-size: 12px; opacity: .7; }
.mte-promo__tile { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--back); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.mte-promo__plus { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .2); }

/* ───────────── RESPONSIVO ───────────── */
@media (max-width: 1100px) {
    .mte-workspace { grid-template-columns: minmax(0, 1fr); }
    .mte-preview { display: none; }
    .mte-only-compact { display: inline-flex !important; }
}

@media (max-width: 760px) {
    .mte-hero { padding: 120px 0 100px; }
    .mte-hero__top { flex-direction: column-reverse; gap: 14px; margin-bottom: 26px; }
    .mte-container { padding: 0 16px; }
    .mte-meeting { padding: 20px 18px 18px; }
    .mte-meeting__stats { grid-template-columns: 1fr 1fr; }
    .mte-clock { grid-column: 1 / -1; }
    .mte-stat--count { grid-column: 1 / -1; flex-direction: row !important; justify-content: center !important; gap: 14px !important; }
    .mte-group__head { padding: 18px 14px 10px 18px; gap: 12px; }
    .mte-tile { width: 50px; height: 50px; border-radius: 15px; }
    .mte-parts { padding: 2px 8px 12px 10px; }
    .mte-part { grid-template-columns: 20px 52px minmax(0, 1fr) 30px; row-gap: 8px; padding: 10px 6px 12px 2px; }
    .mte-part + .mte-part::before { left: 76px; }
    .mte-part__controls { grid-column: 3 / 5; grid-row: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
    .mte-part__toggles { justify-content: flex-start; }
    .mte-part__delete { grid-column: 4; grid-row: 1; opacity: 1; transform: none; }
    .mte-toggle > span:not(.mte-appicon) { display: none; }
    .mte-toggle { padding: 0 9px; }
    .mte-toggle--stepper { padding: 0 2px 0 9px; }
    .mte-ghost__chips { padding: 0 12px 12px; }
    .mte-ghost--group .mte-ghost__chips { padding: 0 16px 16px; }
    .mte-pop--themes { left: 6px; }
    .mte-pop--options { right: 6px; }
    .mte-themes { grid-template-columns: repeat(3, 1fr); }
    .mte-dock { bottom: 10px; padding: 0 8px; }
    .mte-dock__inner { padding: 8px 8px 8px 14px; border-radius: 20px; }
    .mte-coach, .mte-coach-fab { left: 10px; bottom: 92px; }
    .mte-toast { bottom: 88px; }
    .mte-promo__card { grid-template-columns: 1fr; padding: 34px 26px; }
    .mte-promo__stack { display: none; }
}

@media (max-width: 640px) {
    .mte-hide-compact { display: none !important; }
    .mte-btn { height: 46px; padding: 0 14px; }
    .mte-btn--glass span { display: none; }
    .mte-steps .mte-step__label { font-size: 11px; }
    .mte-coach { width: calc(100vw - 20px); }
}

@media (max-width: 420px) {
    .mte-dock__summary { display: none; }
    .mte-dock__inner { justify-content: center; }
    .mte-dock__actions { width: 100%; }
    .mte-dock__actions .mte-btn--primary { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .mte *, .mte *::before, .mte *::after, .mte-promo * {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important;
    }
}

/* ───────────── KEYFRAMES ───────────── */
@keyframes mte-rise { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes mte-ghost-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mte-pop { from { opacity: 0; transform: translateY(-6px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes mte-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mte-modal-in { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes mte-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes mte-coach-in { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes mte-dock-in { from { opacity: 0; transform: translateY(120%); } to { opacity: 1; transform: none; } }
@keyframes mte-toast-in { from { opacity: 0; transform: translate(-50%, 20px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes mte-breathe { 0% { box-shadow: 0 0 0 0 var(--glow); } 70%, 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes mte-breathe-orange { 0% { box-shadow: 0 0 0 2px var(--orange), 0 0 0 2px rgba(252, 148, 0, .5); } 70%, 100% { box-shadow: 0 0 0 2px var(--orange), 0 0 0 14px rgba(252, 148, 0, 0); } }
@keyframes mte-breathe-purple { 0% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 26px -10px rgba(106, 73, 242, .8), 0 0 0 0 rgba(106, 73, 242, .45); } 70%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 26px -10px rgba(106, 73, 242, .8), 0 0 0 14px rgba(106, 73, 242, 0); } }
@keyframes mte-sheen { 0% { background-position: 130% 0, 0 0; } 60%, 100% { background-position: -30% 0, 0 0; } }
@keyframes mte-ring { 0% { box-shadow: 0 0 0 0 rgba(252, 148, 0, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(252, 148, 0, 0); } }
@keyframes mte-live { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
@keyframes mte-spin { to { transform: rotate(360deg); } }
@keyframes mte-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes mte-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.15); } }
@keyframes mte-bounce { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-10px); opacity: 1; } }
@keyframes mte-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes mte-scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes mte-wave { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } }
@keyframes mte-promo-float { 0%, 100% { transform: rotateX(18deg) rotateZ(-4deg) translateY(0); } 50% { transform: rotateX(18deg) rotateZ(-4deg) translateY(-8px); } }
