:root {
  --iv-yellow: #f5c400;
  --iv-yellow-deep: #e6b400;
  --iv-ink: #161616;
  --iv-muted: #6d6a64;
  --iv-line: #e7e4dc;
  --iv-bg: #f6f5f2;
  --iv-card: #ffffff;
  --iv-radius: 18px;
  --iv-shadow: 0 10px 30px rgba(22, 22, 22, 0.04);
  --iv-sidebar: 248px;
}

body.portal-body {
  margin: 0;
  background: var(--iv-bg);
  color: var(--iv-ink);
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
}

body.portal-body a { color: inherit; }

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 46%) 1fr;
}

.auth-hero {
  background: var(--iv-yellow);
  color: var(--iv-ink);
  padding: 36px 48px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.auth-logo { width: 210px; height: auto; }
.auth-hero h1 {
  margin: 72px 0 12px;
  font-size: 58px;
  line-height: 0.95;
  letter-spacing: -1.5px;
  font-weight: 800;
  max-width: 460px;
}
.auth-hero p { margin: 0; font-size: 18px; max-width: 420px; }
.auth-wave {
  margin-top: auto;
  width: 120%;
  margin-left: -8%;
  height: 280px;
}
.auth-exclusive {
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 12px;
}
.auth-exclusive span { flex: 1; height: 1px; background: rgba(22,22,22,.35); }

.auth-main {
  background: #fbfaf7;
  padding: 28px 48px 40px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.auth-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}
.auth-top a { text-decoration: none; color: #3d3d3d; font-size: 14px; }
.auth-form {
  width: min(460px, 100%);
  margin: auto;
}
.eyebrow {
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-size: 12px;
  color: #8a867e;
  font-weight: 700;
  margin: 0 0 10px;
}
.auth-form h2 {
  margin: 0 0 8px;
  font-size: 40px;
  letter-spacing: -1px;
  font-weight: 800;
}
.lede { color: var(--iv-muted); margin: 0 0 22px; }
.field { margin-bottom: 14px; }
.field label, .fvss-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea,
body.portal-body .fvss-input, body.portal-body .fvss-select {
  width: 100%;
  border: 1px solid #ddd9d0;
  background: #fff;
  border-radius: 12px;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  color: var(--iv-ink);
  box-sizing: border-box;
}
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 46px; }
.pass-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #666;
}
.row-between, .login-extras {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 16px;
  font-size: 14px;
}
.row-between a, .login-extras a { color: #333; }
.btn-yellow, .btn-dark, .btn-line,
body.portal-body .btn-outline-amarelo,
body.portal-body .btn.success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
}
.btn-yellow, body.portal-body a.btn-yellow,
body.portal-body .btn-outline-amarelo, body.portal-body .btn.success {
  background: var(--iv-yellow);
  color: var(--iv-ink);
}
.btn-dark, body.portal-body a.btn-dark { background: #161616; color: #fff; }
.btn-line, body.portal-body a.btn-line, body.portal-body .btn-outline-light {
  background: #fff;
  color: var(--iv-ink);
  border: 1px solid #d9d4ca;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8d897f;
  margin: 18px 0;
  font-size: 14px;
}
.divider:before, .divider:after { content: ""; height: 1px; background: var(--iv-line); flex: 1; }
.help-line { text-align: center; color: #8d897f; margin-top: 22px; font-size: 14px; }
.help-line a { color: #333; }
.auth-panel[hidden] { display: none; }
.intro-copy { color: var(--iv-muted); font-size: 14px; line-height: 1.5; }
.badge-soft {
  display: inline-block;
  background: #161616;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  margin: 8px 0;
}
.iti { width: 100%; }
.iti input { width: 100%; }

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--iv-sidebar) 1fr;
}
.sidebar {
  background: #fbfaf7;
  border-right: 1px solid var(--iv-line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.25;
}
.sidebar-logo { width: 168px; margin: 4px 8px 18px; filter: brightness(0); }
.side-label {
  margin: 0 12px 12px;
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #8d897f;
  font-weight: 700;
}
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  color: #2b2b2b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}
.side-nav a i {
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
  font-size: 15px;
  line-height: 1;
}
.side-nav a.is-active { background: var(--iv-yellow); }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.sidebar-foot a { text-decoration: none; color: #333; padding: 8px 12px; font-size: 14px; }
.portal-main { padding: 22px 28px 32px; min-width: 0; }
.portal-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  position: relative;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #f3dd86; display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
}
.user-menu {
  display: none;
  position: absolute;
  right: 0; top: 42px;
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 12px;
  min-width: 160px;
  padding: 8px;
  z-index: 5;
}
.user-chip:hover .user-menu, .user-chip:focus-within .user-menu { display: block; }
.user-menu a { display: block; padding: 8px; text-decoration: none; }
.portal-main h1.hello {
  font-size: 48px;
  letter-spacing: -1.4px;
  margin: 6px 0 4px;
  font-weight: 800;
}
.banner {
  margin-top: 18px;
  background: var(--iv-yellow);
  border-radius: 22px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.banner h2 { margin: 0 0 8px; font-size: 36px; letter-spacing: -1px; line-height: 1; }
.banner p { margin: 0 0 16px; }
.banner .btn-dark { width: auto; padding: 0 18px; }
.banner svg { width: 100%; height: 140px; }
.dash-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 16px;
}
.card {
  background: var(--iv-card);
  border: 1px solid var(--iv-line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--iv-shadow);
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-head h3 { margin: 0; font-size: 22px; }
.card-head a, .text-link { color: #333; font-size: 14px; text-decoration: none; }
.tabs { display: flex; gap: 8px; margin: 14px 0; border-bottom: 1px solid var(--iv-line); }
.tabs button {
  border: 0; background: transparent; padding: 8px 12px 10px; cursor: pointer; font: inherit; color: #666;
}
.tabs button.is-active { background: #fff4c8; border-radius: 10px 10px 0 0; color: var(--iv-ink); font-weight: 700; }
.empty { text-align: center; padding: 28px 10px 10px; color: #444; }
.empty strong { display: block; margin-bottom: 4px; }
.voice-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.profile-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.2fr auto auto auto;
  gap: 8px;
  align-items: center;
}
.profile-strip .who { display: flex; gap: 12px; align-items: center; }
.profile-strip h3 { margin: 0; font-size: 18px; }
.profile-strip p { margin: 0; color: var(--iv-muted); font-size: 14px; }
.portal-footer { text-align: right; color: #9a958c; font-size: 12px; margin-top: 22px; }
.lang-switch {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e4e0d6;
  border-radius: 999px;
  padding: 3px;
}
.lang-switch-btn {
  border: 0; background: transparent; min-width: 36px; height: 30px;
  border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 12px;
}
.lang-switch-btn.is-active { background: var(--iv-yellow); }
body.portal-body .section-conta { padding-top: 8px; }
body.portal-body .section-conta h1 { font-weight: 800; letter-spacing: -0.6px; }
body.portal-body .list-group-item, body.portal-body .alert { border-radius: 14px; }

.voices-page { min-width: 0; }
.voices-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 6px 0 18px;
}
.voices-page h1 {
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.3px;
  font-weight: 800;
}
.voices-page .lede { max-width: 560px; }
.voices-add {
  width: auto;
  flex: none;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  white-space: nowrap;
}
.voice-alert {
  background: #eef8ef;
  border: 1px solid #cfe8d2;
  color: #1d4d28;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 14px;
}
.voice-alert-error {
  background: #fff4f2;
  border-color: #f0d0c8;
  color: #8a3b2d;
}
.voice-list { display: flex; flex-direction: column; gap: 14px; }
.voice-card {
  background: var(--iv-card);
  border: 1px solid var(--iv-line);
  border-radius: 20px;
  padding: 18px 20px 16px;
  box-shadow: var(--iv-shadow);
  min-width: 0;
}
.voice-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "id tags remove";
  gap: 8px 16px;
  align-items: center;
}
.voice-card-id { grid-area: id; min-width: 0; max-width: 320px; }
.voice-player audio { display: none; }
.voice-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.voice-remove { grid-area: remove; }
.voice-code {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}
.voice-category {
  margin: 4px 0 0;
  color: var(--iv-muted);
  font-size: 14px;
  font-weight: 500;
}
.voice-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f3f1eb;
  color: #2c2c2c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.voice-tag-lang { background: #fff3c4; }
.voice-remove {
  border: 0;
  background: transparent;
  color: #6d6a64;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.voice-remove:hover { color: var(--iv-ink); background: #f6f4ee; }
.voice-player {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}
.voice-play, .voice-mute {
  border: 0;
  cursor: pointer;
  color: var(--iv-ink);
}
.voice-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--iv-yellow);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.voice-play .fa-play { margin-left: 2px; }
.voice-play:disabled, .voice-seek:disabled { opacity: .45; cursor: not-allowed; }
.voice-track {
  position: relative;
  min-width: 0;
  height: 52px;
}
.voice-wave, .voice-bar, .voice-seek {
  position: absolute;
  left: 0;
  width: 100%;
}
.voice-wave, .voice-bar { pointer-events: none; }
.voice-wave { top: 2px; height: 48px; }
.voice-bar {
  top: 50%;
  height: 6px;
  transform: translateY(-50%);
  background: #e6e2d8;
  border-radius: 999px;
  overflow: hidden;
}
.voice-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--iv-ink);
}
.voice-seek {
  top: 0;
  height: 52px;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.voice-seek::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}
.voice-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: var(--iv-ink);
  opacity: 0;
}
.voice-track:hover .voice-seek::-webkit-slider-thumb,
.voice-seek:focus-visible::-webkit-slider-thumb { opacity: 1; }
.voice-seek::-moz-range-track {
  height: 6px;
  background: transparent;
  border: 0;
}
.voice-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--iv-ink);
  opacity: 0;
}
.voice-track:hover .voice-seek::-moz-range-thumb,
.voice-seek:focus-visible::-moz-range-thumb { opacity: 1; }
.voice-volume { display: flex; align-items: center; gap: 4px; }
.voice-mute {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  color: #5c5954;
}
.voice-volume-range {
  width: 72px;
  height: 16px;
  margin: 0;
  background: transparent;
  accent-color: var(--iv-ink);
  appearance: none;
  -webkit-appearance: none;
}
.voice-volume-range::-webkit-slider-runnable-track {
  height: 4px;
  background: #e6e2d8;
  border-radius: 999px;
}
.voice-volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: var(--iv-ink);
}
.voice-volume-range::-moz-range-track {
  height: 4px;
  background: #e6e2d8;
  border: 0;
  border-radius: 999px;
}
.voice-volume-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--iv-ink);
}
.voice-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #8a3b2d;
  font-size: 13px;
}
.voice-empty {
  background: #fff;
  border: 1px dashed #ddd8ce;
  border-radius: 18px;
  padding: 36px 18px;
  text-align: center;
}
.voice-empty strong { display: block; font-size: 18px; margin-bottom: 6px; }
.voice-empty p { margin: 0; color: var(--iv-muted); }
.voice-note {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 18px;
  padding: 16px 18px;
}
.voice-note-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff6d2;
  color: #b89200;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 16px;
}
.voice-note strong { display: block; }
.voice-note p { margin: 2px 0 0; color: var(--iv-muted); font-size: 14px; }
.voice-dialog[hidden] { display: none !important; }
.voice-dialog {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(22, 22, 22, 0.45);
  display: grid;
  place-items: center;
  padding: 20px;
}
.voice-dialog-panel {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(22, 22, 22, 0.18);
}
.voice-dialog-panel h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.4px; }
.voice-dialog-panel p { margin: 0 0 18px; color: var(--iv-muted); }
.voice-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.voice-dialog-actions .btn-line,
.voice-dialog-actions .btn-dark { width: auto; box-sizing: border-box; min-height: 44px; padding: 0 16px; }
.voices-page :focus-visible,
.voice-dialog :focus-visible,
.voices-add:focus-visible {
  outline: 2px solid var(--iv-ink);
  outline-offset: 3px;
}
body.voice-dialog-open { overflow: hidden; }

.castings-page { min-width: 0; }
.castings-page h1 {
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.3px;
  font-weight: 800;
}
.castings-page .lede { max-width: 640px; margin-bottom: 18px; }
.cast-tabs {
  display: flex;
  gap: 22px;
  margin: 6px 0 16px;
  border-bottom: 1px solid var(--iv-line);
}
.cast-tabs a {
  text-decoration: none;
  color: #8a867e;
  font-weight: 700;
  padding: 8px 2px 12px;
  margin-bottom: -1px;
  border-bottom: 3px solid transparent;
}
.cast-tabs a.is-active {
  color: var(--iv-ink);
  border-bottom-color: var(--iv-yellow);
}
.cast-list { display: flex; flex-direction: column; gap: 14px; }
.cast-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--iv-shadow);
  min-width: 0;
}
.cast-card-main { min-width: 0; flex: 1; }
.cast-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.cast-message { color: #2c2c2c; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.cast-message p:last-child { margin-bottom: 0; }
.cast-message img, .cast-message video, .cast-message iframe { max-width: 100%; height: auto; }
.cast-approve {
  width: auto;
  flex: none;
  box-sizing: border-box;
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}
.cast-empty {
  min-height: 380px;
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.cast-empty-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff6d4;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.cast-empty h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.cast-empty p { margin: 0; max-width: 460px; color: var(--iv-muted); line-height: 1.5; }
.cast-empty-link {
  width: auto;
  box-sizing: border-box;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
}
.cast-note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 18px;
  padding: 16px 18px;
}
.cast-note strong { display: block; }
.cast-note p { margin: 2px 0 0; color: var(--iv-muted); font-size: 14px; }
.cast-note a {
  margin-left: auto;
  color: var(--iv-ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.castings-page :focus-visible { outline: 2px solid var(--iv-ink); outline-offset: 3px; }

.profile-page { min-width: 0; }
.profile-page h1 {
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.3px;
  font-weight: 800;
}
.profile-page .lede { max-width: 640px; margin-bottom: 18px; }
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}
.profile-layout-single { grid-template-columns: minmax(0, 720px); }
.profile-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 22px;
  padding: 22px 22px 16px;
}
.profile-block + .profile-block { margin-top: 22px; }
.profile-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--iv-line);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.profile-section i { font-size: 16px; }
.profile-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.profile-phone {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
}
.profile-lock { position: relative; }
.profile-lock input {
  background: #f4f3ef;
  color: #3c3c3c;
  padding-right: 40px;
}
.profile-lock i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9a958c;
  font-size: 13px;
  pointer-events: none;
}
.profile-lang select {
  max-width: 320px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23161616' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.profile-hint { margin: 8px 0 0; color: var(--iv-muted); font-size: 13px; }
.profile-save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--iv-line);
}
.profile-save p { margin: 0; color: var(--iv-muted); font-size: 14px; }
.profile-save .btn-yellow {
  width: auto;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  white-space: nowrap;
}
.profile-help {
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 22px;
  padding: 22px 18px 18px;
}
.profile-help h2 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.profile-help p { margin: 0; color: var(--iv-muted); font-size: 14px; line-height: 1.5; }
.profile-help a {
  display: inline-block;
  margin-top: 16px;
  color: #8f6d00;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}
.profile-page :focus-visible { outline: 2px solid var(--iv-ink); outline-offset: 3px; }

body.portal-body .qookies {
  position: fixed !important;
  top: auto !important;
  right: auto !important;
  left: 24px !important;
  bottom: 24px !important;
  width: 280px !important;
  margin: 0 !important;
  padding: 16px 16px 12px;
  background: #fff;
  color: var(--iv-ink);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(22, 22, 22, 0.16);
  z-index: 80;
}
body.portal-body .qookies__title { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
body.portal-body .qookies__description, body.portal-body .qookies__description p { margin: 0; font-size: 13px; line-height: 1.4; color: #444; }
body.portal-body .qookies__link a { color: var(--iv-ink); font-size: 13px; }
body.portal-body .qookies__btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--iv-yellow);
  color: var(--iv-ink);
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
}

.sample-page {
  min-width: 0;
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
body.portal-body a.sample-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #c9a000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
body.portal-body a.sample-back:hover { color: #a48400; }
.sample-page h1 {
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.3px;
  font-weight: 800;
  text-align: left;
}
.sample-page .lede { max-width: 640px; margin-bottom: 22px; font-size: 16px; }
.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.sample-card {
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: var(--iv-shadow);
  min-width: 0;
}
.sample-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--iv-line);
}
.sample-card-head h2,
.sample-audio h3,
.sample-aside h2 {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  color: var(--iv-ink);
}
.sample-bars, .sample-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}
.sample-bars i, .sample-wave i {
  display: block;
  width: 4px;
  border-radius: 99px;
  background: var(--iv-yellow-deep);
}
.sample-bars i:nth-child(1) { height: 8px; }
.sample-bars i:nth-child(2) { height: 16px; }
.sample-bars i:nth-child(3) { height: 22px; }
.sample-bars i:nth-child(4) { height: 12px; }
.sample-bars i:nth-child(5) { height: 18px; }
.sample-field { margin-bottom: 16px; }
.sample-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}
.sample-hint {
  margin: 6px 0 0;
  color: var(--iv-muted);
  font-size: 13px;
}
.sample-lock { position: relative; }
.sample-lock input {
  background: #f6f5f2;
  color: #3a3a3a;
  padding-right: 42px;
}
.sample-lock i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8d897f;
  font-size: 14px;
}
.sample-card .SumoSelect { width: 100%; font-size: 15px; }
.sample-card .SumoSelect > .CaptionCont {
  border: 1px solid #ddd9d0;
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 14px;
  background: #fff;
}
.sample-card .SumoSelect.open > .CaptionCont,
.sample-card .SumoSelect:hover > .CaptionCont,
.sample-card .SumoSelect:focus > .CaptionCont {
  box-shadow: none;
  border-color: #161616;
}
.sample-card .SumoSelect > .CaptionCont > span {
  color: var(--iv-ink);
  font-style: normal;
  line-height: 22px;
}
.sample-card .SumoSelect > .CaptionCont > span.placeholder {
  color: #8d897f;
  font-style: normal;
}
.sample-card .SumoSelect > .CaptionCont > label > i {
  background: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid #161616;
  border-bottom: 2px solid #161616;
  transform: rotate(45deg) translateY(-2px);
}
.sample-card .SumoSelect > .optWrapper {
  top: 54px;
  border-radius: 12px;
  border-color: var(--iv-line);
}
.sample-audio {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--iv-line);
}
.sample-audio h3 i { margin-right: 8px; }
.sample-audio-label {
  margin: 14px 0 8px;
  font-size: 14px;
  font-weight: 600;
}
.sample-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px 18px;
  border: 1.5px dashed #e4c35a;
  border-radius: 16px;
  background: #fffdf6;
  text-align: center;
  cursor: pointer;
}
.sample-drop.is-over { background: #fff6d4; }
.sample-drop strong { font-size: 16px; }
.sample-drop p { margin: 0; color: var(--iv-muted); font-size: 13px; }
.sample-cloud {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff4c4;
  color: #c9a000;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.sample-choose {
  width: auto;
  min-height: 40px;
  margin: 4px 0;
  padding: 0 16px;
  background: #fff;
}
.sample-file { font-size: 12px !important; }
.sample-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.sample-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--iv-line);
}
.sample-actions .btn-line,
.sample-actions .btn-yellow {
  width: auto;
  min-width: 148px;
  padding: 0 18px;
}
.sample-aside { padding-top: 8px; }
.sample-wave { height: 42px; gap: 4px; margin-bottom: 16px; }
.sample-wave i { width: 5px; background: var(--iv-yellow); }
.sample-wave i:nth-child(1) { height: 10px; }
.sample-wave i:nth-child(2) { height: 22px; }
.sample-wave i:nth-child(3) { height: 34px; }
.sample-wave i:nth-child(4) { height: 18px; }
.sample-wave i:nth-child(5) { height: 42px; }
.sample-wave i:nth-child(6) { height: 26px; }
.sample-wave i:nth-child(7) { height: 14px; }
.sample-wave i:nth-child(8) { height: 30px; }
.sample-wave i:nth-child(9) { height: 12px; }
.sample-aside h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.6px; margin-bottom: 10px; }
.sample-aside > p { margin: 0 0 18px; color: var(--iv-muted); font-size: 15px; }
.sample-aside ol {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sample-aside li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}
.sample-aside li span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--iv-yellow);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
.sample-help {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--iv-line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}
.sample-help > i { color: #8d897f; font-size: 18px; margin-top: 2px; }
.sample-help strong { display: block; font-size: 15px; }
body.portal-body .sample-help a {
  color: #c9a000;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.sample-page :focus-visible { outline: 2px solid var(--iv-ink); outline-offset: 3px; }

@media (max-width: 980px) {
  .auth, .app, .dash-grid, .banner, .profile-strip { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .auth-hero { padding: 24px; }
  .auth-hero h1 { margin-top: 28px; font-size: 40px; }
  .auth-wave { height: 140px; }
  .auth-main, .portal-main { padding: 20px 16px 32px; }
  .portal-main h1.hello, .voices-page h1, .castings-page h1, .profile-page h1, .sample-page h1 { font-size: 34px; }
  .sample-layout { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .app { display: block; }
  body.portal-body .qookies {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    bottom: 12px !important;
  }
}

@media (max-width: 720px) {
  .sample-actions { flex-direction: column-reverse; align-items: stretch; }
  .sample-actions .btn-line,
  .sample-actions .btn-yellow { width: 100%; }
  .voices-head { flex-direction: column; align-items: stretch; }
  .voices-add { width: 100%; }
  .voice-card { padding: 16px; }
  .voice-card-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "id remove"
      "tags tags";
    align-items: start;
  }
  .voice-player { grid-template-columns: 48px minmax(0, 1fr); }
  .voice-volume { grid-column: 1 / -1; }
  .voice-volume-range { flex: 1; width: auto; min-width: 0; }
  .voice-dialog-actions { flex-direction: column-reverse; }
  .voice-dialog-actions .btn-line,
  .voice-dialog-actions .btn-dark { width: 100%; }
  .cast-card { flex-direction: column; align-items: stretch; }
  .cast-approve { width: 100%; }
  .cast-note { flex-wrap: wrap; }
  .cast-note a { margin-left: 56px; }
  .profile-split, .profile-phone { grid-template-columns: 1fr; }
  .profile-save { flex-direction: column; align-items: stretch; }
  .profile-save .btn-yellow { width: 100%; }
  .profile-lang select { max-width: none; }
}
