/* Estúdio IA — interface de criação com identidade própria e foco em leitura. */
.g4-ai-badge { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 5px 8px; border: 1px solid rgba(137,117,255,.22); border-radius: 999px; color: #5e51a4; background: #f0edff; font-size: 10px; font-weight: 800; letter-spacing: .04em; line-height: 1; text-transform: uppercase; vertical-align: middle; }
.g4-suno-page {
    --suno-ink: #13141b;
    --suno-paper: #f8f7f3;
    --suno-card: #ffffff;
    --suno-line: rgba(19, 20, 27, .11);
    --suno-muted: #777985;
    --suno-lime: #d8ff68;
    --suno-coral: #ff765c;
    --suno-violet: #8975ff;
    --suno-shadow: 0 24px 60px rgba(20, 21, 34, .12);
    margin: 0;
    padding: 26px 18px 62px;
    background: var(--suno-paper);
}
.suno-studio { max-width: 1260px; margin: 0 auto; color: var(--suno-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.suno-hero { position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 28px; min-height: 310px; overflow: hidden; border-radius: 28px; padding: 42px 46px; color: #fff; background: radial-gradient(circle at 80% 18%, rgba(216,255,104,.18), transparent 26%), radial-gradient(circle at 24% 110%, rgba(137,117,255,.48), transparent 32%), linear-gradient(130deg, #15151d 0%, #242438 56%, #352b55 100%); box-shadow: var(--suno-shadow); }
.suno-hero::after { content: ""; position: absolute; width: 330px; height: 330px; right: 22%; bottom: -230px; border: 1px solid rgba(216,255,104,.22); border-radius: 50%; box-shadow: 0 0 0 28px rgba(216,255,104,.04), 0 0 0 58px rgba(216,255,104,.025); pointer-events: none; }
.suno-hero-copy { position: relative; z-index: 1; max-width: 680px; }
.suno-kicker, .suno-label { display: inline-flex; align-items: center; gap: 8px; color: var(--suno-muted); font-size: 10px; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.suno-hero .suno-kicker { color: rgba(255,255,255,.66); }
.suno-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--suno-lime); box-shadow: 0 0 0 6px rgba(216,255,104,.13); }
.suno-hero h1 { margin: 18px 0 14px; color: #fff; font-size: clamp(38px, 5vw, 68px); font-weight: 800; letter-spacing: -.07em; line-height: .94; }
.suno-hero h1 em { color: var(--suno-lime); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.06em; }
.suno-hero p { max-width: 560px; margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.65; }
.suno-hero-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.suno-hero-meta b { margin-right: 4px; color: var(--suno-coral); font-size: 10px; }
.suno-quota-card { position: relative; z-index: 1; display: flex; align-items: center; align-self: center; gap: 20px; min-width: 290px; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.075); backdrop-filter: blur(12px); }
.suno-quota-orbit { display: flex; flex: 0 0 108px; flex-direction: column; align-items: center; justify-content: center; width: 108px; height: 108px; border: 1px solid rgba(216,255,104,.55); border-radius: 50%; background: radial-gradient(circle, rgba(216,255,104,.18), transparent 64%); box-shadow: inset 0 0 0 8px rgba(216,255,104,.04); text-align: center; }
.suno-quota-orbit > div { display: flex; align-items: baseline; gap: 2px; }
.suno-quota-orbit strong { color: var(--suno-lime); font-size: 31px; letter-spacing: -.08em; }
.suno-quota-orbit span { color: rgba(255,255,255,.66); font-size: 13px; }
.suno-quota-orbit span b { color: #fff; font-weight: 700; }
.suno-quota-orbit small { margin-top: 2px; color: rgba(255,255,255,.54); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.suno-quota-copy { min-width: 0; }
.suno-quota-copy .suno-label { color: rgba(255,255,255,.48); }
.suno-quota-copy strong { display: block; margin-top: 5px; color: #fff; font-size: 17px; }
.suno-quota-copy p { margin: 4px 0 10px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.45; }
.suno-quota-copy a { color: var(--suno-lime); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.suno-quota-copy a span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.suno-quota-copy a:hover span { transform: translate(2px, -2px); }
.suno-alert { margin: 16px 0 0; padding: 13px 16px; border: 1px solid rgba(255,118,92,.35); border-radius: 12px; color: #a33c2a; background: #fff2ed; font-size: 13px; line-height: 1.45; }
.suno-alert.is-success { border-color: rgba(75,153,92,.35); color: #27703c; background: #effaf0; }
.suno-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; margin-top: 22px; }
.suno-main, .suno-history { min-width: 0; border: 1px solid var(--suno-line); border-radius: 22px; background: var(--suno-card); box-shadow: 0 8px 24px rgba(20,21,34,.04); }
.suno-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--suno-line); overflow-x: auto; }
.suno-tab { flex: 1 0 auto; min-height: 46px; padding: 0 16px; border: 0; border-radius: 13px; color: var(--suno-muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .04em; transition: color .2s ease, background .2s ease, transform .2s ease; }
.suno-tab span { margin-right: 7px; color: var(--suno-violet); font-size: 19px; vertical-align: -2px; }
.suno-tab:hover { color: var(--suno-ink); background: #f5f3fb; }
.suno-tab.is-active { color: var(--suno-ink); background: #eeeaff; box-shadow: inset 0 -2px var(--suno-violet); }
.suno-tab:focus-visible, .suno-button:focus-visible, .suno-refresh:focus-visible, .suno-field input:focus-visible, .suno-field textarea:focus-visible, .suno-field select:focus-visible { outline: 3px solid rgba(137,117,255,.38); outline-offset: 2px; }
.suno-panel { padding: 34px; }
.suno-panel[hidden] { display: none; }
.suno-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.suno-panel-heading .suno-label { color: var(--suno-violet); }
.suno-panel-heading h2 { margin: 8px 0 6px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.055em; line-height: 1.04; }
.suno-panel-heading p { max-width: 620px; margin: 0; color: var(--suno-muted); font-size: 13px; line-height: 1.6; }
.suno-cost { flex: 0 0 auto; padding: 8px 10px; border-radius: 999px; color: #4e4780; background: #f0edff; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.suno-form { display: flex; flex-direction: column; gap: 19px; }
.suno-form-grid { display: grid; gap: 16px; }
.suno-form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.suno-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.suno-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: var(--suno-ink); font-size: 12px; font-weight: 800; }
.suno-field > span { letter-spacing: .01em; }
.suno-field > span i { color: #a1a1aa; font-size: 10px; font-style: normal; font-weight: 500; }
.suno-field input, .suno-field textarea, .suno-field select { width: 100%; border: 1px solid #e5e4e8; border-radius: 12px; outline: 0; color: var(--suno-ink); background: #fbfbfa; box-sizing: border-box; font: inherit; font-size: 13px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.suno-field input, .suno-field select { min-height: 45px; padding: 0 13px; }
.suno-field textarea { min-height: 120px; padding: 13px; line-height: 1.6; resize: vertical; }
.suno-field input:hover, .suno-field textarea:hover, .suno-field select:hover { border-color: #c4c0d8; background: #fff; }
.suno-field input:focus, .suno-field textarea:focus, .suno-field select:focus { border-color: var(--suno-violet); background: #fff; box-shadow: 0 0 0 4px rgba(137,117,255,.1); }
.suno-field input[type="file"] { padding: 10px; font-size: 11px; }
.suno-field small { color: #9a9aa3; font-size: 10px; font-weight: 500; line-height: 1.4; }
.suno-form-footer { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-top: 4px; }
.suno-form-note { flex: 1; color: #92929d; font-size: 11px; line-height: 1.45; }
.suno-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-width: 154px; min-height: 46px; padding: 0 15px 0 18px; border: 0; border-radius: 12px; color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.suno-button b { color: var(--suno-lime); font-size: 20px; font-weight: 400; line-height: 1; }
.suno-button.primary { background: var(--suno-ink); box-shadow: 0 10px 20px rgba(19,20,27,.15); }
.suno-button.secondary { color: var(--suno-ink); background: var(--suno-lime); box-shadow: 0 10px 20px rgba(135,162,41,.18); }
.suno-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 24px rgba(19,20,27,.2); }
.suno-button:disabled { cursor: wait; opacity: .55; }
.suno-switch { display: inline-flex; align-items: center; gap: 9px; min-width: 150px; cursor: pointer; }
.suno-switch input { position: absolute; opacity: 0; pointer-events: none; }
.suno-switch-ui { position: relative; flex: 0 0 34px; width: 34px; height: 20px; border-radius: 999px; background: #d8d7dc; transition: background .2s ease; }
.suno-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .2s ease; }
.suno-switch input:checked + .suno-switch-ui { background: var(--suno-violet); }
.suno-switch input:checked + .suno-switch-ui::after { transform: translateX(14px); }
.suno-switch input:focus-visible + .suno-switch-ui { outline: 3px solid rgba(137,117,255,.32); outline-offset: 2px; }
.suno-switch b, .suno-switch small { display: block; }
.suno-switch b { color: var(--suno-ink); font-size: 11px; }
.suno-switch small { margin-top: 2px; color: #9a9aa3; font-size: 10px; font-weight: 500; }
.suno-history { padding: 23px 18px 18px; }
.suno-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 0 5px 17px; border-bottom: 1px solid var(--suno-line); }
.suno-history-head .suno-label { color: var(--suno-coral); }
.suno-history-head h2 { margin: 7px 0 0; font-size: 20px; letter-spacing: -.045em; }
.suno-refresh { width: 34px; height: 34px; border: 1px solid var(--suno-line); border-radius: 10px; color: var(--suno-violet); background: #faf9ff; cursor: pointer; font-size: 20px; transition: transform .2s ease, background .2s ease; }
.suno-refresh:hover { transform: rotate(30deg); background: #f0edff; }
.suno-history-list { display: flex; flex-direction: column; gap: 10px; padding-top: 13px; }
.suno-empty { padding: 45px 16px; color: #a0a0aa; text-align: center; }
.suno-empty span { display: block; color: #c0baff; font-size: 38px; line-height: 1; }
.suno-empty p { margin: 15px 0 5px; color: #5d5c66; font-size: 13px; font-weight: 800; }
.suno-empty small { font-size: 11px; line-height: 1.5; }
.suno-task { position: relative; padding: 14px; border: 1px solid #eeedf0; border-radius: 15px; background: #fff; }
.suno-task::before { content: ""; position: absolute; top: 14px; left: 0; width: 3px; height: 34px; border-radius: 0 3px 3px 0; background: var(--suno-violet); }
.suno-task.is-success::before { background: #83bd54; }
.suno-task.is-failed::before { background: var(--suno-coral); }
.suno-task-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-left: 6px; }
.suno-task-type { color: #a1a0aa; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.suno-task-title { margin: 5px 0 0; overflow: hidden; color: var(--suno-ink); font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.suno-task-date { flex: 0 0 auto; color: #b0afb7; font-size: 9px; }
.suno-task-status { display: inline-flex; align-items: center; gap: 5px; margin: 11px 0 0 6px; color: #777680; font-size: 10px; }
.suno-task-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b8b7c1; }
.suno-task.is-success .suno-task-status { color: #528243; }
.suno-task.is-success .suno-task-status::before { background: #83bd54; }
.suno-task.is-failed .suno-task-status { color: #bc533e; }
.suno-task.is-failed .suno-task-status::before { background: var(--suno-coral); }
.suno-task audio { display: block; width: 100%; height: 32px; margin-top: 12px; }
.suno-task-variant { margin: 11px 0 0 6px; padding-top: 9px; border-top: 1px solid #f0eff2; }
.suno-task-variant > span { display: block; color: #9a99a3; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.suno-task-variant audio { margin-top: 6px; }
.suno-task-variant button { min-height: 25px; margin-top: 6px; padding: 0 8px; border: 1px solid #e6e3f5; border-radius: 8px; color: #6258a5; background: #faf9ff; cursor: pointer; font-size: 9px; font-weight: 800; }
.suno-task-variant button:hover { border-color: #bdb3ff; background: #f0edff; }
.suno-task-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 0 6px; }
.suno-task-actions button, .suno-task-actions a { display: inline-flex; align-items: center; min-height: 27px; padding: 0 8px; border: 1px solid #e6e3f5; border-radius: 8px; color: #6258a5; background: #faf9ff; cursor: pointer; font-size: 9px; font-weight: 800; text-decoration: none; }
.suno-task-actions button:hover, .suno-task-actions a:hover { border-color: #bdb3ff; background: #f0edff; }
.suno-task-lyrics { max-height: 110px; margin: 11px 0 0 6px; padding: 9px; overflow: auto; border-radius: 9px; color: #686772; background: #faf9fd; font-family: inherit; font-size: 10px; line-height: 1.5; white-space: pre-wrap; }
.suno-auto-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 5px; color: #6258a5; background: #eeeaff; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.suno-voice-guide { display: grid; grid-template-columns: auto 1fr; gap: 6px 11px; margin: 0 0 25px; padding: 15px; border: 1px solid #eeeaff; border-radius: 14px; background: #faf9ff; }
.suno-voice-guide > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: #fff; background: var(--suno-violet); font-size: 9px; font-weight: 800; }
.suno-voice-guide p { margin: 2px 0; color: #757481; font-size: 11px; line-height: 1.5; }
.suno-voice-guide b { color: var(--suno-ink); }
.suno-voice-next { margin-top: 25px; padding: 21px; border: 1px solid rgba(216,255,104,.65); border-radius: 16px; background: #fbffe9; }
.suno-voice-next .suno-label { color: #6f8b2d; }
.suno-voice-next > p { margin: 10px 0 16px; color: #404c23; font-family: Georgia, serif; font-size: 20px; line-height: 1.45; }
.suno-form.compact { gap: 15px; }
.suno-voices { display: flex; flex-direction: column; gap: 7px; margin-top: 20px; }
.suno-voice-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid #eeedf0; border-radius: 12px; }
.suno-voice-row strong { display: block; font-size: 12px; }
.suno-voice-row small { color: #96959e; font-size: 10px; }
.suno-voice-status { color: #6258a5; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.suno-studio-footer { display: flex; align-items: center; gap: 12px; margin: 20px 4px 0; color: #96959e; font-size: 10px; }
.suno-footer-rule { flex: 1; height: 1px; background: var(--suno-line); }
.suno-locked .suno-button { cursor: not-allowed; opacity: .5; }

@media (max-width: 980px) {
    .suno-workspace { grid-template-columns: 1fr; }
    .suno-history { order: 2; }
    .suno-history-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .g4-suno-page { padding: 10px 8px 34px; }
    .suno-hero { flex-direction: column; min-height: auto; padding: 30px 25px; border-radius: 22px; }
    .suno-hero h1 { font-size: 45px; }
    .suno-quota-card { align-self: stretch; min-width: 0; }
    .suno-panel { padding: 24px 18px; }
    .suno-panel-heading { flex-direction: column; }
    .suno-form-grid.two, .suno-form-grid.three { grid-template-columns: 1fr; }
    .suno-form-footer { align-items: stretch; flex-direction: column; }
    .suno-form-note { flex: initial; }
    .suno-button { width: 100%; }
    .suno-switch { min-width: 0; }
    .suno-history-list { display: flex; }
    .suno-studio-footer { align-items: flex-start; flex-direction: column; }
    .suno-footer-rule { width: 100%; flex: initial; }
}
@media (prefers-reduced-motion: reduce) {
    .suno-tab, .suno-button, .suno-refresh, .suno-quota-copy a span, .suno-switch-ui, .suno-switch-ui::after { transition: none; }
}
